mirror of https://git.rancher.io/charts
[dev-v2.10] Add metricRelabelings to rancher-istio ServiceMonitor
parent
2715fc3785
commit
3c7b50614c
|
@ -29,6 +29,10 @@ spec:
|
|||
- sourceLabels: [__meta_kubernetes_pod_name]
|
||||
action: replace
|
||||
targetLabel: pod_name
|
||||
{{- if .Values.kiali.serviceMonitor.metricRelabelings }}
|
||||
metricRelabelings:
|
||||
{{ toYaml .Values.kiali.serviceMonitor.metricRelabelings | indent 4 }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
|
|
|
@ -105,6 +105,8 @@ kiali:
|
|||
grafana:
|
||||
in_cluster_url: "http://rancher-monitoring-grafana.cattle-monitoring-system.svc:80"
|
||||
url: "http://rancher-monitoring-grafana.cattle-monitoring-system.svc:80"
|
||||
serviceMonitor:
|
||||
metricRelabelings: []
|
||||
|
||||
tracing:
|
||||
enabled: false
|
||||
|
|
Loading…
Reference in New Issue