From de82c7d5ac069663ac6d4c51ce9d337fb3f4c5be Mon Sep 17 00:00:00 2001 From: Shahzheeb Khan Date: Thu, 7 Apr 2016 14:31:28 -0400 Subject: [PATCH] Adding few metrics example Adding more metrics in example to make it easier to better understand the plugin --- plugins/inputs/jolokia/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/inputs/jolokia/README.md b/plugins/inputs/jolokia/README.md index 3a528b33f..5c7db6230 100644 --- a/plugins/inputs/jolokia/README.md +++ b/plugins/inputs/jolokia/README.md @@ -22,6 +22,16 @@ [[inputs.jolokia.metrics]] name = "heap_memory_usage" jmx = "/java.lang:type=Memory/HeapMemoryUsage" + + ## This collect thread counts metrics. + [[inputs.jolokia.metrics]] + name = "thread_count" + jmx = "/java.lang:type=Threading/TotalStartedThreadCount,ThreadCount,DaemonThreadCount,PeakThreadCount" + + ## This collect number of class loaded/unloaded counts metrics. + [[inputs.jolokia.metrics]] + name = "class_count" + jmx = "/java.lang:type=ClassLoading/LoadedClassCount,UnloadedClassCount,TotalLoadedClassCount" ``` #### Description