zookeeper icon indicating copy to clipboard operation
zookeeper copied to clipboard

ZOOKEEPER-4398: Add configurable Prometheus metric name prefix.

Open skidder opened this issue 3 years ago • 1 comments

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.

skidder avatar Jul 24 '22 05:07 skidder

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

hicwic avatar Aug 10 '22 15:08 hicwic