Closed mimaison closed 3 weeks ago
We could apply the filtering when adding/removing metrics in KafkaPrometheusMetricsReporter instead of doing it in KafkaMetricsCollector.collect() which runs when the /metrics endpoint is hit so it's on the hot path.
KafkaPrometheusMetricsReporter
KafkaMetricsCollector.collect()
/metrics
Done in #38
We could apply the filtering when adding/removing metrics in
KafkaPrometheusMetricsReporter
instead of doing it inKafkaMetricsCollector.collect()
which runs when the/metrics
endpoint is hit so it's on the hot path.