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

jmx exporter java process network metrics #864

Closed
real747-david opened this issue Jul 30, 2023 · 4 comments
Closed

jmx exporter java process network metrics #864

real747-david opened this issue Jul 30, 2023 · 4 comments

Comments

@real747-david
Copy link

Dear contributors,

May I know if jmx exporter can provide java process network realted metrics, such as network usage in/out bytes per second, connection target server/client IP:Port, session duration etc. these metrics are very useful for conntion troubleshooting.

if yes, please show us how to do in config.yaml or somewhere,
if no, do you have any plan to add this feature in future release.

thanks.

@dhoard
Copy link
Collaborator

dhoard commented Jul 30, 2023

Your application would have to expose JMX MBeans, which the exporter could then export. There is no feature to add.

@real747-david
Copy link
Author

could you provide more details about how the application expose JMX MBeans related to network metrics. applications just like, hdfs, hive, kafka etc. appreciate.

1 similar comment
@real747-david
Copy link
Author

could you provide more details about how the application expose JMX MBeans related to network metrics. applications just like, hdfs, hive, kafka etc. appreciate.

@dhoard
Copy link
Collaborator

dhoard commented Aug 1, 2023

Ultra high level...

Applications create and register MBeans.

The exporter queries the JVM for registered MBeans.

  • For each MBean, the exporter gets the MBean attributes
    • For each attribute, the value is retrieved and processed.

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

No branches or pull requests

2 participants