Skip to content

Commit 4de387e

Browse files
authored
Workaround issue with Prometheus 3.0 and metrics (#577)
* Add "fallbackScrapeProtocol: PrometheusText0.0.4" to all pod monitors
1 parent 492e273 commit 4de387e

7 files changed

+7
-0
lines changed

charts/pulsar/templates/autorecovery-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: recovery
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: http
3536
path: /metrics

charts/pulsar/templates/bookkeeper-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: bookie
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: http
3536
path: /metrics

charts/pulsar/templates/broker-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: broker
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: http
3536
path: /metrics

charts/pulsar/templates/oxia-coordinator-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: oxia-coordinator
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: metrics
3536
path: /metrics

charts/pulsar/templates/oxia-server-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: oxia-server
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: metrics
3536
path: /metrics

charts/pulsar/templates/proxy-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: proxy
33+
fallbackScrapeProtocol: PrometheusText0.0.4
3334
podMetricsEndpoints:
3435
- port: http
3536
path: /metrics

charts/pulsar/templates/zookeeper-podmonitor.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ metadata:
3131
heritage: {{ .Release.Service }}
3232
spec:
3333
jobLabel: zookeeper
34+
fallbackScrapeProtocol: PrometheusText0.0.4
3435
podMetricsEndpoints:
3536
- port: http
3637
path: /metrics

0 commit comments

Comments
 (0)