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

[feature request] support jolokia bulk requests #1328

Closed
caseylucas opened this issue Jun 3, 2016 · 2 comments
Closed

[feature request] support jolokia bulk requests #1328

caseylucas opened this issue Jun 3, 2016 · 2 comments
Milestone

Comments

@caseylucas
Copy link

Proposal:

It would be great if the jolokia plugin would pull JMX data via the jolokia bulk request https://jolokia.org/features/bulk-requests.html mechanism in order to reduce round trips to the JVM.

Current behavior:

Jolokia plugin makes one HTTP request for every mbean.

Desired behavior:

One request per JVM

Use case:

With lots of JMX data collected per JVM, telegraph will need to machine gun the JVMs as it collects all of the stats. Each mbean translates into a separate HTTP requests. With bulk requests, the multiple HTTP requests could be reduced to one.

@bodsch
Copy link

bodsch commented Jun 28, 2016

+1

@phemmer
Copy link
Contributor

phemmer commented Jan 12, 2017

PR is up for this over at #2253
In my use case it's about 260 times faster. Though to be fair, there's probably some accuracy errors in the math because the new timings are so fast (0.04s vs 10.4s).

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

4 participants