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:
Martin Hoefling
2019-03-20 12:57:42 -07:00
committed by Kubernetes Prow Robot
parent e779c5a541
commit 09a88ab50e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 }}