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

Remove the mention of JMX from the included connectors #527

Conversation

maxstreese
Copy link
Contributor

This is a very minor PR but I think it is still important. Currently the README suggests that simply calling DefaultExports.initialize() will enable JMX metrics collection.

This is not the case though and has led to some issues opened here in that past (it did not just confuse me is what I am saying I guess). JMX metrics are not collected when calling the above. Only garbage collection, memory pools, class loading and thread counts are collected.

Signed-off-by: Max Streese <max.streese@ttmzero.com>
@maxstreese maxstreese force-pushed the feature/remove-jmx-mention-in-readme branch from 43306e9 to 43fb0d4 Compare February 13, 2020 13:22
@brian-brazil
Copy link
Contributor

All those metrics come from JMX though, so it's not technically wrong...

@maxstreese
Copy link
Contributor Author

Hmm it is just that the way it is currently written strongly suggests to me that the call would enable collection of every and all JMX metrics and not that the metrics which are collected just happen to come via JMX. If you disagree feel free to close the PR.

@brian-brazil brian-brazil merged commit 7259307 into prometheus:master Feb 13, 2020
@brian-brazil
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants