Skip to content

[1.0.24] Bookkeeper Metrics endpoint is not working #70

@frankjkelly

Description

@frankjkelly

As per https://pulsar.apache.org/docs/en/deploy-monitoring/#bookkeeper-stats
Bookkeeper has port 8000 enabled to get metrics for Prometheus.

As of 1.0.24 that does not appear to be enabled?

$ curl -vvv  http://platform-pulsar-bookkeeper:8000/metrics
*   Trying 10.101.87.72...
* TCP_NODELAY set
* Connected to platform-pulsar-bookkeeper (10.101.87.72) port 8000 (#0)
> GET /metrics HTTP/1.1
> Host: platform-pulsar-bookkeeper:8000
> User-Agent: curl/7.61.1
> Accept: */*
> 
* Empty reply from server
* Connection #0 to host platform-pulsar-bookkeeper left intact
curl: (52) Empty reply from server

The equivalent endpoints for Zookeeper and the Pulsar Broker are working fine

Looks like the Bookkeeper service definition is missing the metrics port (8000)
https://github.com/kafkaesque-io/pulsar-helm-chart/blob/master/helm-chart-sources/pulsar/values.yaml#L709-L713

also FYI the Zookeeper service definition is missing the metrics port (8000 also?)
https://github.com/kafkaesque-io/pulsar-helm-chart/blob/master/helm-chart-sources/pulsar/values.yaml#L494-L500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions