micro-server icon indicating copy to clipboard operation
micro-server copied to clipboard

Add GarbageCollectorMXBean to micro-jmx-metrics

Open davidartplus opened this issue 6 years ago • 0 comments

In order to monitor gc metrics programmatically, the following java.lang type should be added to the micro-jmx-metrics plugin https://docs.oracle.com/javase/7/docs/api/java/lang/management/GarbageCollectorMXBean.html The intent is to plot two metrics:

  • CollectionCount: Number of GC collections triggered since JVM start
  • CollectionTime: Accumulated collection time spent in seconds since JVM start

davidartplus avatar Jul 11 '19 09:07 davidartplus