[bitnami/kafka] jmx-metrics servicemonitor has wrong path #27546
Labels
kafka
solved
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/kafka-29.3.4
What architecture are you using?
amd64
What steps will reproduce the bug?
metrics.jmx.enabled=true
andmetrics.serviceMonitor.enabled=true
expected a valid start token, got "<" ("INVALID") while parsing: "<"
Are you using any custom parameters or values?
--set metrics.jmx.enabled=true --set metrics.serviceMonitor.enabled=true
What is the expected behavior?
prometheus being able to scrape metrics
What do you see instead?
expected a valid start token, got "<" ("INVALID") while parsing: "<"
Additional information
It looks like the recent upgrade to jmx-metrics 1.0 changed the path which metrics are exposed. jmx-exporter no longer exposes metrics on the root path, instead, they are exposed on
/metrics
I think this can be easily solved by changing the path in the serviceMonitor to
/metrics
instead of/
The text was updated successfully, but these errors were encountered: