Skip to content
Snippets Groups Projects
Commit de82c7d5 authored by Shahzheeb Khan's avatar Shahzheeb Khan Committed by Cameron Sparr
Browse files

Adding few metrics example

Adding more metrics in example to make it easier to better understand the plugin
parent 07f0d561
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,16 @@ ...@@ -22,6 +22,16 @@
[[inputs.jolokia.metrics]] [[inputs.jolokia.metrics]]
name = "heap_memory_usage" name = "heap_memory_usage"
jmx = "/java.lang:type=Memory/HeapMemoryUsage" 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 #### Description
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment