I have read through the documentation but I still encounter some challenges when working JMX exporter rules. So I'm opening this issue only to ask for advice on how we can better handle these scenarios when working with JMX exporter:
As I forget that JMX exporter rule regex is not anchored, kafka_consumer_fetch_manager_records_lag is actually presenting 3 metrics ( records-lag, records-lag-avg, records-lag-max). How can I avoid situation like this when certainly my goal was just to get the records-lag attribute.
Is there a way we can do linting for the configuration file?
I have read through the documentation but I still encounter some challenges when working JMX exporter rules. So I'm opening this issue only to ask for advice on how we can better handle these scenarios when working with JMX exporter:
As I forget that JMX exporter rule regex is not anchored,
kafka_consumer_fetch_manager_records_lag
is actually presenting 3 metrics ( records-lag, records-lag-avg, records-lag-max). How can I avoid situation like this when certainly my goal was just to get therecords-lag
attribute.Thanks for your time.