Closed runofthemill closed 2 months ago
I've seen some mention of the JMX exporter and OpenMetrics (the prom expfmt parser actually doesn't support OpenMetrics, it's an outstanding feature request). One possible approach to debugging, though a bit rubbish, would be to put this text into a file, then use the recent support for file plugins.
FWIW, with the current build, if I put your data into a file called data.txt, and use this config
modules:
data:
method: file
file:
path: data.txt
I can then read the metrics with /proxy?module=data
. It could be that there has been a recent fix for this?
I'll try that out! I'm using 0.5.0
but did have to build from source due to an issue w/ glibc that I couldn't quite figure out, so that might be a confounding variable.
Thanks for the suggestion :)
I was running into an issue where
exporter_exporter
couldn't verify the metrics being exported by https://github.com/prometheus/jmx_exporter (v 0.18.0 running the standalone http server) and was able to resolve it by settingverify: false
in the exporter config inexpexp.yaml
.Though disabling
verify
works, I'm hoping to understand the underlying issue; a sample log entry from theexporter_exporter
service looks like this:And the (truncated) output from the endpoint:
Line 12 seems to be untyped from the preceding annotation, which (I think) should be okay? Any suggestions on how I can better understand why the verification is failing?
Thank you!