Workaround issue with Prometheus 3.0 and metrics (#577)

* Add "fallbackScrapeProtocol: PrometheusText0.0.4" to all pod monitors
This commit is contained in:
Lari Hotari 2025-03-03 16:26:04 +02:00 committed by GitHub
parent 492e273d82
commit 4de387e726
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: recovery
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: http
path: /metrics

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: bookie
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: http
path: /metrics

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: broker
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: http
path: /metrics

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: oxia-coordinator
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: metrics
path: /metrics

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: oxia-server
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: metrics
path: /metrics

View File

@ -30,6 +30,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: proxy
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: http
path: /metrics

View File

@ -31,6 +31,7 @@ metadata:
heritage: {{ .Release.Service }}
spec:
jobLabel: zookeeper
fallbackScrapeProtocol: PrometheusText0.0.4
podMetricsEndpoints:
- port: http
path: /metrics