Skip to content

Commit

Permalink
support for dynamic scrapeTimeout and interval
Browse files Browse the repository at this point in the history
  • Loading branch information
rashidwh committed Oct 10, 2021
1 parent dff9857 commit 66e3435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/kminion/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ spec:
- port: metrics
path: /metrics
honorLabels: {{ .Values.serviceMonitor.honorLabels }}
scrapeTimeout: {{ .Values.serviceMonitor.scrapeTimeout }}
interval: {{ .Values.serviceMonitor.interval }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/kminion/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ serviceMonitor:
create: false
additionalLabels: {}
honorLabels: false
scrapeTimeout: 10
interval: 15

deployment:
volumes:
Expand Down

0 comments on commit 66e3435

Please sign in to comment.