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