Hi All,
I have installed jolokia agent and attached to the java process successfully . but in metric beat yml i have specified following configuration and getting error please advice me how to install jolokia module in metric beta.
configuration file:
- module: jolokia
metricsets: ["jmx"]
enabled: true
period: 10s
namespace: "metrics"
hosts: ["10.10.1.36:8778"]
jmx.mappings:- mbean: 'java.lang:type=Runtime'
attributes:- attr: Uptime
field: uptime
- attr: Uptime
- mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep'
attributes:- attr: CollectionTime
field: gc.cms_collection_time - attr: CollectionCount
field: gc.cms_collection_count
- attr: CollectionTime
- mbean: 'java.lang:type=Memory'
attributes:- attr: HeapMemoryUsage
field: memory.heap_usage - attr: NonHeapMemoryUsage
field: memory.non_heap_usage
- attr: HeapMemoryUsage
- mbean: 'java.lang:type=Runtime'
getting following error on running metric beat
Exiting: 1 error: metricset 'jolokia/jmx' is not registered, module not found
please help me in this
thanks
phani