2017-09-27 00:34:46 +00:00
|
|
|
|
|
|
|
[[inputs.jolokia2_agent]]
|
|
|
|
urls = ["http://localhost:8080/jolokia"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
|
|
name = "java_runtime"
|
|
|
|
mbean = "java.lang:type=Runtime"
|
|
|
|
paths = ["Uptime"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
|
|
name = "java_memory"
|
|
|
|
mbean = "java.lang:type=Memory"
|
|
|
|
paths = ["HeapMemoryUsage", "NonHeapMemoryUsage", "ObjectPendingFinalizationCount"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
|
|
name = "java_garbage_collector"
|
2018-12-11 00:14:20 +00:00
|
|
|
mbean = "java.lang:name=*,type=GarbageCollector"
|
2017-09-27 00:34:46 +00:00
|
|
|
paths = ["CollectionTime", "CollectionCount"]
|
|
|
|
tag_keys = ["name"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metric]]
|
|
|
|
name = "java_last_garbage_collection"
|
|
|
|
mbean = "java.lang:name=G1 Young Generation,type=GarbageCollector"
|
|
|
|
paths = ["LastGcInfo/duration", "LastGcInfo/GcThreadCount", "LastGcInfo/memoryUsageAfterGc"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metrics]]
|
|
|
|
name = "java_threading"
|
|
|
|
mbean = "java.lang:type=Threading"
|
|
|
|
paths = ["TotalStartedThreadCount", "ThreadCount", "DaemonThreadCount", "PeakThreadCount"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metrics]]
|
|
|
|
name = "java_class_loading"
|
|
|
|
mbean = "java.lang:type=ClassLoading"
|
|
|
|
paths = ["LoadedClassCount", "UnloadedClassCount", "TotalLoadedClassCount"]
|
|
|
|
|
|
|
|
[[inputs.jolokia2_agent.metrics]]
|
|
|
|
name = "java_memory_pool"
|
|
|
|
mbean = "java.lang:name=*,type=MemoryPool"
|
|
|
|
paths = ["Usage", "PeakUsage", "CollectionUsage"]
|
|
|
|
tag_keys = ["name"]
|