Monitoring and collecting data from Jolokia

Jolokia is remote JMX with JSON over HTTP. It’s a JMX-HTTP bridge giving an alternative to JSR-160 connectors. It is an agent based approach with support for many platforms. In addition to basic JMX operations it enhances JMX remoting with unique features like bulk requests and fine grained security policies.

How it works

This plugin will allow you to extract metrics from Jolokia compatible APIs. It will capture the metrics from the metrics endpoint specified.


The plugin needs to be installed together with a CoScale agent, instructions on how to install the CoScale agent can be found here. If you want to monitor Jolokia inside Docker containers using CoScale, check out the instructions here.


JMX Connection

Provide the JMX hostname and JMX port

Jolokia Configuration Step 1

Bean configuration

You can add custom bean names and attributes.

Jolokia Configuration Step 2

Active checks

This plugin can be configured to perform a HTTP GET on your Jolokia endpoint. This active monitoring allows us to calculate the uptime of the service and the response time of the provided URL.

Jolokia Configuration Step 3


Metric name Metric unit
Jolokia BufferPool Count  
Jolokia BufferPool Memory Used b
Jolokia Compilation Time ms
Jolokia Daemon Thread Count  
Jolokia Garbage Collections  
Jolokia GC Collection Time ms
Jolokia Loaded Class Count  
Jolokia Max File Descriptor Count  
Jolokia Memory Usage Committed b
Jolokia Memory Usage Init b
Jolokia Memory Usage Max b
Jolokia Memory Usage Used b
Jolokia Open File Descriptor Count  
Jolokia Process CPU time ms
Jolokia Started Threads  
Jolokia Thread Count  
Jolokia Thread CPU Time %
Jolokia Unloaded Class Count  
Jolokia Uptime ms