0

Is there a way for me to track garbage collection of my Java application using Elastic APM and the associated Java APM agent?

I'm using Spring Boot, if that makes a difference.

Out-of-the-box I'm able to see the heap and non-heap memory utilization, but I'm not sure if there is also a way to view garbage collection.

mnd
  • 2,709
  • 3
  • 27
  • 48

2 Answers2

0

The JVM GC metrics tracked right now are jvm.gc.alloc, jvm.gc.time, and jvm.gc.count.

If you are looking for additional ones, which ones would those be? And could you open an issue with the details.

xeraa
  • 10,456
  • 3
  • 33
  • 66
  • thank you for the response! Do you happen to know how to visualize those metrics? I'm not familiar with Kibana, but it sounds like there's some way to see them - I just haven't had success doing that. Thanks. – mnd Aug 02 '19 at 16:37
0

Please import from saved objects option - https://github.com/elastic/apm-contrib/blob/master/apm-agent-java/dashboards/java_metrics_dashboard_7.x.json

kcp
  • 33
  • 1
  • 7
  • Whilst this may theoretically answer the question, [it would be preferable](//meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Anton Menshov Apr 07 '20 at 05:35