fix(ganymede): fix ServiceMonitor
This commit is contained in:
parent
67be3879b3
commit
e3293cc8b2
|
@ -126,17 +126,17 @@ spec:
|
||||||
app:
|
app:
|
||||||
labels:
|
labels:
|
||||||
release: kube-prometheus-stack
|
release: kube-prometheus-stack
|
||||||
serviceName: app
|
serviceName: ganymede
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: api
|
- port: api
|
||||||
interval: 1m
|
interval: 1m
|
||||||
scrapeTimeout: 5s
|
scrapeTimeout: 5s
|
||||||
path: /metrics
|
path: /metrics
|
||||||
metricRelabelings:
|
metricRelabelings:
|
||||||
- sourceLabels: [__name__]
|
- sourceLabels: ["__name__"]
|
||||||
targetLabel: __name__
|
targetLabel: "__name__"
|
||||||
regex: (.*)
|
regex: "(.*)"
|
||||||
replacement: ganymede_${1}
|
replacement: "ganymede_$${1}"
|
||||||
action: replace
|
action: replace
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
|
Loading…
Reference in New Issue