Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #506 from arajkumar/expose-avalanche-sm-interval
Browse files Browse the repository at this point in the history
Expose avalanche service monitor interval
  • Loading branch information
paulfantom authored Nov 28, 2022
2 parents 4dc935d + 101708e commit e17a7fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/avalanche/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
apiVersion: v2
name: avalanche
description: A Helm chart run avalanche for benchmarking Prometheus and remote write storage backends.
version: 0.7.0
version: 0.8.0

home: https://github.com/timescale/helm-charts

Expand Down
2 changes: 1 addition & 1 deletion charts/avalanche/templates/service-monitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
{{ include "avalanche-helm.labels" . | indent 4 }}
spec:
endpoints:
- interval: 30s
- interval: {{ .Values.serviceMonitor.interval }}
port: metrics
path: /metrics
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/avalanche/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ labels: {}
# generated as load and intended for benchmarking.
serviceMonitor:
enabled: false
interval: 30s

# Number of fake ServiceMonitor to be created to simulate fake Prometheus
# targets. This will be useful to generate more series without scaling
Expand Down

0 comments on commit e17a7fa

Please sign in to comment.