Skip to content

Commit 39da155

Browse files
committed
Workaround issue with Prometheus 3.0 and bookie metrics
1 parent 492e273 commit 39da155

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

charts/pulsar/templates/autorecovery-podmonitor.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: recovery
33+
# workaround for https://github.com/apache/bookkeeper/pull/4208
34+
fallbackScrapeProtocol: PrometheusText0.0.4
3335
podMetricsEndpoints:
3436
- port: http
3537
path: /metrics

charts/pulsar/templates/bookkeeper-podmonitor.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ metadata:
3030
heritage: {{ .Release.Service }}
3131
spec:
3232
jobLabel: bookie
33+
# workaround for https://github.com/apache/bookkeeper/pull/4208
34+
fallbackScrapeProtocol: PrometheusText0.0.4
3335
podMetricsEndpoints:
3436
- port: http
3537
path: /metrics

0 commit comments

Comments
 (0)