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