Hi,

I want to know if it's possible to get information about GC pause duration (Stop the world) via JMX.

Today, we get this information from gc.log with the JVM option
XX:+PrintGCApplicationStoppedTime{color}

Total time for which application threads were stopped: 0.0001273 seconds, Stopping threads took: 0.0000196 seconds

A python script is deployed on every node to parsing the gc.log


and it works quite well, but on a Kubernetes environnement, we will have to create a sidecar inside a pod what we try to avoid.

Thanks