mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Metrics are incorrectly prefixed with ingress path (#12316)
Grafana always exposes metrics at /metrics and thus are not scraped if an ingress path is provided. http://docs.grafana.org/installation/configuration/#metrics Signed-off-by: Martin Hoefling <martin.hoefling@gmx.de>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e779c5a541
commit
09a88ab50e
@@ -9,7 +9,7 @@ name: prometheus-operator
|
||||
sources:
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
- https://coreos.com/operators/prometheus
|
||||
version: 5.0.0
|
||||
version: 5.0.1
|
||||
appVersion: 0.29.0
|
||||
home: https://github.com/coreos/prometheus-operator
|
||||
keywords:
|
||||
|
||||
@@ -19,5 +19,5 @@ spec:
|
||||
{{- if .Values.grafana.serviceMonitor.interval }}
|
||||
interval: {{ .Values.grafana.serviceMonitor.interval }}
|
||||
{{- end }}
|
||||
path: "{{ trimSuffix "/" .Values.grafana.ingress.path }}/metrics"
|
||||
path: "/metrics"
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user