Fix subtable name in jolokia java.conf (#5985)

This commit is contained in:
guitoulefoux 2019-06-13 12:48:06 +02:00 committed by Daniel Nelson
parent 1a647fb6ba
commit 4b5df84b3d
1 changed files with 3 additions and 3 deletions

View File

@ -23,17 +23,17 @@
mbean = "java.lang:name=G1 Young Generation,type=GarbageCollector"
paths = ["LastGcInfo/duration", "LastGcInfo/GcThreadCount", "LastGcInfo/memoryUsageAfterGc"]
[[inputs.jolokia2_agent.metrics]]
[[inputs.jolokia2_agent.metric]]
name = "java_threading"
mbean = "java.lang:type=Threading"
paths = ["TotalStartedThreadCount", "ThreadCount", "DaemonThreadCount", "PeakThreadCount"]
[[inputs.jolokia2_agent.metrics]]
[[inputs.jolokia2_agent.metric]]
name = "java_class_loading"
mbean = "java.lang:type=ClassLoading"
paths = ["LoadedClassCount", "UnloadedClassCount", "TotalLoadedClassCount"]
[[inputs.jolokia2_agent.metrics]]
[[inputs.jolokia2_agent.metric]]
name = "java_memory_pool"
mbean = "java.lang:name=*,type=MemoryPool"
paths = ["Usage", "PeakUsage", "CollectionUsage"]