feat(argo-workflows): add Prometheus ServiceMonitor relabelings, metricRelabelings & targetLabels (#1977)
* feat(argo-workflows): add Prometheus ServiceMonitor relabelings, metricRelabelings & targetLabels Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> * chore(argo-workflows): bump Helm chart patch version Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> * docs(argo-workflows): update README.md via `helm-docs` Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> * chore(argo-workflows): update changelog via chart annotation Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> * chore(argo-workflows): remove URLs from README Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> --------- Signed-off-by: Stefan Tertan <stefan.tertan@fundingcircle.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
This commit is contained in:
parent
d2853afc24
commit
00e585342a
4 changed files with 34 additions and 2 deletions
|
|
@ -15,11 +15,31 @@ spec:
|
|||
- port: metrics
|
||||
path: {{ .Values.controller.metricsConfig.path }}
|
||||
interval: 30s
|
||||
{{- with .Values.controller.metricsConfig.relabelings }}
|
||||
relabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.metricsConfig.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.telemetryConfig.enabled }}
|
||||
- port: telemetry
|
||||
path: {{ .Values.controller.telemetryConfig.path }}
|
||||
interval: 30s
|
||||
{{- with .Values.controller.metricsConfig.relabelings }}
|
||||
relabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.metricsConfig.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- with .Values.controller.metricsConfig.targetLabels }}
|
||||
targetLabels:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
namespaceSelector:
|
||||
matchNames:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue