Bitbucket Mbeans information from JVM

The Pro version of the Prometheus Exporter for Bitbucket provides information about Bitbucket Mbeans from JVM. You can find how to enable MBeans for Bitbucket here.

com.atlassian.bitbucket, com.atlassian.bitbucket.thread-pools, com.atlassian.diagnostics, com.atlassian.webhooks:

Metrics are provided only for attributes which are of the long, int, boolean and double types.

Naming convention

All mbeans attributes start with bitbucket_jmx_ prefix.

Let's take the CloneBytesWritten attribute of the com.atlassian.bitubucket Mbean with the name HttpHostingStatistics:

As you can see this attribute is of the long type and the value of the attribute is 12685.

The name of the attribute in Prometheus will be:

bitbucket_jmx_<the folder of the Mbean>_name_<the name of the MBean>_<the name of the attribute> 

which is:

Â