Skip to content

How do I enable metrics?  #23726

Description

@azeng528

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

pulsar version:3.0.2
|># java -version
java version "17.0.9" 2023-10-17 LTS
|># cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"

Minimal reproduce step

cluster is ok,However, the topic metrics extracted by the metrics interface are missing,After I restart the brokers and bookies of the entire cluster later, metrics will include the missing topic metrics,for example,before restart,not have the Topic of screenshot
image

What did you expect to see?

image
i hope the topic of screenshot is always get metrics,not restart broker and bookie ,then get this metrics

What did you see instead?

no

Anything else?

1

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugThe PR fixed a bug or issue reported a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions