Skip to content

Commit

Permalink
Make the scrape interval for exporters configurable, and default it t… (
Browse files Browse the repository at this point in the history
#69)

* Make the scrape interval for exporters configurable, and default it to 5 minutes

* set scrape interval in values file
  • Loading branch information
etsauer authored May 6, 2020
1 parent d9a76f2 commit 7d63427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/exporter/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
- {{ .Release.Namespace }}
endpoints:
- port: http
interval: 15s
interval: {{ .Values.scrapeInterval }}
1 change: 1 addition & 0 deletions charts/exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ app_name: deploytime-exporter
source_context_dir: exporters/committime
source_ref: master
source_url: https://github.com/redhat-cop/pelorus.git
scrapeInterval: 5m

0 comments on commit 7d63427

Please sign in to comment.