Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GarbageCollectorMXBean to micro-jmx-metrics #421

Open
davidartplus opened this issue Jul 11, 2019 · 0 comments
Open

Add GarbageCollectorMXBean to micro-jmx-metrics #421

davidartplus opened this issue Jul 11, 2019 · 0 comments

Comments

@davidartplus
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant