jmx_exporter icon indicating copy to clipboard operation
jmx_exporter copied to clipboard

Is there a reference list of JVM-defined MBeans?

Open hjellinek opened this issue 3 years ago • 2 comments
trafficstars

I'm using the JMX Exporter without difficulty. That is, all of the attributes show up in our monitoring systems as expected. It's great!

The difficulty is in interpreting some of the data. Is there a reference document that lists all of the MBeans the JVM (Java 11, in this case) instantiates and defines them? I'm mainly talking about the keys that begin with java_lang_.

I've looked in various JSRs, on the Oracle Java site, an so on, but my search engine-fu has turned up nothing helpful.

Can you provide a pointer? Thanks.

hjellinek avatar Sep 01 '22 18:09 hjellinek

Not sure if there is a complete list somewhere, but in most cases you should find documentation in the corresponding javadoc.

Example: java_lang_OperatingSystem_TotalSwapSpaceSize corresponds to OperatingSystemMXBean.getTotalSwapSpaceSize()

fstab avatar Sep 01 '22 21:09 fstab

Thanks. That may be the best I can hope for. It would be so handy for my users, not all of whom are Java programmers, not to have to do this sort of multi-step lookup, but that's ~~Sun's~~ Oracle's responsibility, not Prometheus's.

hjellinek avatar Sep 01 '22 21:09 hjellinek