IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Jolokia module
editJolokia module
editThis is the Jolokia module.
Example configuration
editThe Jolokia module supports the standard configuration options that are described in Specify which modules to run. Here is an example configuration:
metricbeat.modules: - module: jolokia metricsets: ["jmx"] period: 10s hosts: ["localhost"] namespace: "metrics" #username: "user" #password: "secret" jmx.mappings: - mbean: 'java.lang:type=Runtime' attributes: - attr: Uptime field: uptime - mbean: 'java.lang:type=Memory' attributes: - attr: HeapMemoryUsage field: memory.heap_usage - attr: NonHeapMemoryUsage field: memory.non_heap_usage # GC Metrics - this depends on what is available on your JVM # - mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep' # attributes: # - attr: CollectionTime # field: gc.cms_collection_time # - attr: CollectionCount # field: gc.cms_collection_count
This module supports TLS connection when using ssl
config field, as described in Specify SSL settings. It also supports the options described in Standard HTTP config options.
Metricsets
editThe following metricsets are available: