strimzi / metrics-reporter

Prometheus Metrics Reporter for Apache Kafka server and client compoenents
Apache License 2.0
4 stars 7 forks source link

Move label filtering into KafkaPrometheusReporter and out of the KafkaPrometheusCollector #38

Closed OwenCorrigan76 closed 3 weeks ago

OwenCorrigan76 commented 1 month ago

This PR is in response to the following issue: https://github.com/strimzi/metrics-reporter/issues/9 Moving the label filtering into the metricChange method means that filtering is done when the Reporter is initialised. It was previously done in the collect method.

OwenCorrigan76 commented 3 weeks ago

@mimaison Thanks for the extra pass and comments. Hopefully there's nothing missed now.