JMX_Exporter not responding
See original GitHub issueI seem to be getting a similar issue as: https://github.com/prometheus/jmx_exporter/issues/487
jmx_exporter version: 0.16.1
ELK config: -javaagent:/opt/jmxexporter/jmx_prometheus_javaagent-0.16.1.jar=7071:/opt/jmxexporter/elasticsearch-jmx.yml
elasticsearch-jmx.xml:
lowercaseOutputName: true
Once I restart ELK and try to curl -v localhost:7071/ it works the first 1-2 times (I get legitimate metrics) but then it stops and I only get “Connection reset” errors which indicates the jar crashed (?).
Any way to debug this further?
(please don’t repoint me to the prometheus mailing list, I believe this looks like an exporter issue and not related to prometheus directly)
Many thanks in advance! 👍
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
jmx_exporter not sending back jvm_ metrics - Stack Overflow
Any help would be appreciated. prometheus · grafana · jmx · jmx-exporter · Share.
Read more >Error in Kafka startup with the JMX exporter - java.lang ...
It's probably because -javaagent config was loaded twice or more in env loading. It happens when a variable is set like this in...
Read more >JMX Exporter in HTTP server - Google Groups
FYI, JMX Exporter java agent PoC is working fine but we are interested to Pull ... We are not able to see metrics...
Read more >Solved: Re: AEM + Prometheus JMX Exporter
Some JMX beans in AEM don't properly close their JCR session, which causes the errors you see. I opened some Daycare issues to...
Read more >bitnami/jmx-exporter - Docker Image
The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the detailed report. As you have whitelisted
java.lang:type=OperatingSystem
it would be good to know:jmx_exporter
come with a simple example application. If you buildjmx_exporter
from source with./mvnw package
the example application will be created in./integration_tests/jmx_example_application/target/jmx_example_application.jar
. It would be great if you could run the example application instead of Elastic with the Java agent attached to see if you get the same behavior:Here’s an idea how to debug this: You could try to figure out whether this is caused by a specific JMX bean.
Use the
whitelistObjectNames
configuration so thatjmx_exporter
just scrapes a single bean. If that works, add more names towhitelistObjectNames
until you learn which bean causes this.