fix(ganymede): fix ServiceMonitor

This commit is contained in:
SeanOMik 2024-11-24 20:56:43 -05:00
parent 67be3879b3
commit e3293cc8b2
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 5 additions and 5 deletions

View File

@ -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: