Skip to content

Add GarbageCollectorMXBean to micro-jmx-metrics #421

@davidartplus

Description

@davidartplus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions