Skip to content

Zookeeper prometheus metrics inconsistent with Docs. #11984

Closed

Description

@senax

Describe the bug
The documentation and zookeeper dashboard use prometheus metrics prefixed with 'zookeeper_server_' which are no longer there.

For example zookeeper_server_connections

To Reproduce
Steps to reproduce the behavior:

  1. docker run --rm -d -p 2181:2181 --name zk apachepulsar/pulsar:2.8.0 bin/pulsar zookeeper
  2. curl -s localhost:8000/metrics |grep ^zoo
  3. No zookeeper named metrics.
  4. curl -s localhost:8000/metrics
  5. Lots of output, so prometheus is working.
  6. docker rm -f zk

Expected behavior
The documentation and grafana dasboards should use the correct metrics.

Activity

  1. added
    type/bug
    on Sep 9, 2021
  2. Anonymitaet commented on Sep 10, 2021

    @Anonymitaet
    Member

    @senax thanks for raising this up!

    Confirmed w/ @codelipenghui, the content in the red box is out-of-date, they should be replaced with the latest ZK metrics.
    But there are no metrics descriptions on ZK doc website, we might need to find the appropriate ZK metrics used in Pulsar and update the doc (from 2.8.0, that is, 2.8.0, 2.8.1, master) accordingly.

    @senax could you please update the docs? Then you can ping me to review, thanks

    image

  3. added
    doc
    on Sep 22, 2021
  4. added this to the 2.9.0 milestone on Sep 22, 2021
  5. added
    doc-complete
    and removed
    doc
    on Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    doc-completerelease/2.9.0type/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions