feat(argo-workflows): add configurable scrape interval for metrics and telemetry (#2942)

feat: add configurable scrape interval for metrics and telemetry

Signed-off-by: KrisF-Midnight <krisztian.feher@iohk.io>
This commit is contained in:
KrisF-Midnight 2024-09-27 11:56:55 +02:00 committed by GitHub
parent e94dc2ea10
commit 388c5aea66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 4 deletions

View file

@ -15,7 +15,7 @@ spec:
{{- if .Values.controller.metricsConfig.enabled }}
- port: {{ .Values.controller.metricsConfig.servicePortName }}
path: {{ .Values.controller.metricsConfig.path }}
interval: 30s
interval: {{ .Values.controller.metricsConfig.interval }}
{{- with .Values.controller.metricsConfig.relabelings }}
relabelings:
{{- toYaml . | nindent 8 }}
@ -29,7 +29,7 @@ spec:
{{- if .Values.controller.telemetryConfig.enabled }}
- port: telemetry
path: {{ .Values.controller.telemetryConfig.path }}
interval: 30s
interval: {{ .Values.controller.telemetryConfig.interval }}
{{- with .Values.controller.metricsConfig.relabelings }}
relabelings:
{{- toYaml . | nindent 8 }}