prometheus / jmx_exporter

A process for exposing JMX Beans via HTTP for Prometheus consumption
Apache License 2.0
3.06k stars 1.2k forks source link

jmx exporter java process network metrics #864

Closed real747-david closed 6 months ago

real747-david commented 1 year ago

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 commented 1 year ago

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

real747-david commented 1 year ago

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

real747-david commented 1 year ago

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 commented 1 year ago

Ultra high level...

Applications create and register MBeans.

The exporter queries the JVM for registered MBeans.