-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] pulsar-recovery and pulsar-bookie components do not supply metrics in the standard Prometheus format. #555
Comments
@JWebDev Do you use the Apache Pulsar Helm chart for deployment? |
Hi, I'm experiencing the same behavior. Seems to be related to Prometheus v3 being rolled out in latest
The Content-Type seems to be missing: pulsar-bookie-0:/pulsar$ curl -X GET -v -I http://127.0.0.1:8000/metrics
* Trying 127.0.0.1:8000...
* Connected to 127.0.0.1 (127.0.0.1) port 8000
* using HTTP/1.x
> GET /metrics HTTP/1.1
> Host: 127.0.0.1:8000
> User-Agent: curl/8.11.0
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< content-length: 264341
content-length: 264341
<
* shutting down connection #0 |
This is fixed in Bookkeeper PR apache/bookkeeper#4208 . The change is pending a 4.17.2 release since the PR didn't get included in 4.17.0 release. That will happen in 1-2 months. It could possibly be included in Pulsar 4.1.0 and 4.0.4 release. |
In the Pulsar Helm Chart version 4.0.0, Prometheus version will be 3.2.1 and there's a workaround in #577 by specifying |
This issue will be solved in the Helm chart release 4.0.0 with |
Search before asking
Read release policy
Version
apachepulsar/pulsar-all:4.0.0
Minimal reproduce step
Is this a bug or is it designed that way? Is there any solution for this? Because 2 other components send metrics in the correct format and prometheus reads them without problems. I don't use
kube-prometheus-stack
I add annotations to each component for my prometheus server to pick up the metrics.For example:
``/metrics` are visible in all components, so they are there.
What did you expect to see?
The same as in broker and zookeeper
What did you see instead?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: