Jolokia module for kafka


(Richard Neely) #1

I have setup the jolokia module for kafka but can't seem to get anything to work outside the default jmx mbeans. I know the data is available because i can poll it via other methods but get this for metricbeats. Running 5.5.

 2 errors: No key found for metric: 'kafka.server:clientId=Replica,name=MaxLag,type=ReplicaFetcherManager_Value', skipping...; No key found for metric: 'kafka.server:name=UnderReplicatedPartitions,type=ReplicaManager_Value', skipping..

Config:

jmx.mappings:
- mbean: 'java.lang:type=Runtime'
attributes:
- attr: Uptime
field: uptime
- mbean: 'java.lang:type=GarbageCollector,name=ConcurrentMarkSweep'
attributes:
- attr: CollectionTime
field: gc.cms_collection_time
- attr: CollectionCount
field: gc.cms_collection_count
- mbean: 'java.lang:type=Memory'
attributes:
- attr: HeapMemoryUsage
field: memory.heap_usage
- attr: NonHeapMemoryUsage
field: memory.non_heap_usage
- mbean: 'kafka.server:type=ReplicaFetcherManager,name=MaxLag,clientId=Replica'
attributes:
- attr: Value
field: kafka.server.fetcher.lag.metrics
- mbean: 'kafka.server:type=ReplicaManager,name=UnderReplicatedPartitions'
attributes:
- attr: Value
field: kafka.server.under.replicated.partitions:


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.