Hi,
I’ve setup prometheus via a servicemonitor and I’m scraping the kumomta pods with the params set like:
endpoints:
- params:
prefix:
- kumomta_
path: /metrics
targetPort: 8000
which works to nicely namespace the metrics, however I noticed that although most are correctly namespaced when the prefix is added, some appear to be namespaced in the HELP and TYPE comments of the scrape output but the actual metric is not prefixed, eg:
# HELP kumomta_total_readyq_runs total number of times a readyq maintainer was run
# TYPE kumomta_total_readyq_runs counter
kumomta_total_readyq_runs 17
# HELP kumomta_connection_count number of active connections
# TYPE kumomta_connection_count gauge
connection_count{service="smtp_client"} 0
connection_count{service="esmtp_listener"} 0
connection_count{service="lua"} 0
Is this by design or a bug?
Thanks!
Luke