Skip to content

Commit

Permalink
chore(influxdb3-clustered): add "seviceMonitor" configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bnpfeife committed Jan 21, 2025
1 parent 4725eff commit ae12e10
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/influxdb3-clustered/templates/app-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ spec:
{{- if .Values.featureFlags}}
featureFlags: {{.Values.featureFlags | toYaml | nindent 6}}
{{- end}}
{{- if .Values.observability.serviceMonitor}}
observability:
serviceMonitor:
interval: {{required "missing observability.serviceMonitor.interval" .Values.observability.serviceMonitor.interval}}
scrapeTimeout: {{required "missing observability.serviceMonitor.scrapeTimeout" .Values.observability.serviceMonitor.scrapeTimeout}}
{{- end}}
---
{{- end }}

Expand Down
6 changes: 6 additions & 0 deletions charts/influxdb3-clustered/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,9 @@ egress:

# This can be used to enable certain features that are still in testing
featureFlags: []

# Parameters to tune observability configuration, such as Prometheus ServiceMonitor's.
observability: {}
# serviceMonitor:
# interval: 10s
# scrapeTimeout: 30s

0 comments on commit ae12e10

Please sign in to comment.