Skip to content
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

ZOOKEEPER-4398: Add configurable Prometheus metric name prefix. #1909

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

skidder
Copy link

@skidder skidder commented Jul 24, 2022

Resolves ZOOKEEPER-4398 by adding an optional metric configuration property for a string prefix for all Zookeeper metric names.

It's common to have Prometheus metrics scoped to a namespace by using the application name as its prefix. For instance, Apache Kafka metrics have the prefix of kafka_, making them easier to identify.

This new config could be used to namespace Zookeeper metrics (e.g. zookeeper_up instead of simply up). The default behavior does not use a prefix.

@hicwic
Copy link

hicwic commented Aug 10, 2022

i need this to be merged too. Metrics in this state/name are unbrowsable/unusable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants