Current we use PrometheusNaming.sanitizeMetricName() before matching the metric names. It turns out the group of Yammer metrics is using the kafka.<component> format, and sanitizeMetricName() allows ..
However once serialized in the prometheus text format (which is what we expect for the allowlist), . are replaced by _. So for example today you need to use kafka_server_kafka.network_requestmetrics_totaltimems in your allowlist to match that metric. Instead we should have kafka_server_kafka_network_requestmetrics_totaltimems.
Current we use
PrometheusNaming.sanitizeMetricName()
before matching the metric names. It turns out the group of Yammer metrics is using thekafka.<component>
format, andsanitizeMetricName()
allows.
.However once serialized in the prometheus text format (which is what we expect for the allowlist),
.
are replaced by_
. So for example today you need to usekafka_server_kafka.network_requestmetrics_totaltimems
in your allowlist to match that metric. Instead we should havekafka_server_kafka_network_requestmetrics_totaltimems
.