Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run JMX exporter as a Java Agent (how to?) #322

Open
sidps opened this issue Jun 23, 2020 · 1 comment
Open

Run JMX exporter as a Java Agent (how to?) #322

sidps opened this issue Jun 23, 2020 · 1 comment

Comments

@sidps
Copy link
Contributor

sidps commented Jun 23, 2020

It seems like there's significant difference when running the JMX exporter as a Java Agent and as an HTTP server, and running as HTTP server is not recommended. prometheus/jmx_exporter#111

Is it possible to run the exporter as a Java Agent with the current setup?

@solsson
Copy link
Contributor

solsson commented Jun 24, 2020

The only approach we've used is https://github.com/Yolean/kubernetes-kafka/tree/master/prometheus. It's been painful, in particular hard to make performant enough for scraping every 30s. I'd be very interested in an agent setup. Should be possible to add a .jar the way https://github.com/Yolean/kubernetes-kafka/tree/master/cruise-control does it (#218) and then add a command line argument using a diff or Kustomize (like some variants do).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants