Garbage Collection metrics are not reporting. What should I do?

Issue

On some of your JVM environments, Garbage Collection (GC) metrics are not reporting out of the box.

Observations

The agent collects and reports the GC metrics based on the related MBeans exposed by the underlying JVM. If the JVM does not return the related Mbeans, then GC metrics will not be reported by the agent.