gc-monitor
Set of advanced monitoring metrics for OpenJDK Garbage collector.
The main feature of gc-monitor
is ability to work without configuration of GC logging at JVM level, gc-monitor
works fine without any options like -XX:+PrintGC
, just add gc-monitor
to your application and need not to configure anything.
Statistics provided by gc-monitor
- GC pause histogram - min, max, average, percentiles, standard deviation.
- GC utilization - time in percentage for which JVM will be stopped in stop the world pauses caused by garbage collection.
All statistics organized into rolling time windows, the windows are configurable.
Reporters
Get GC-Monitor
GC-Monitor is distributed through both JCenter and Maven Central, use any of them:
<!-- gc-monitor itself -->
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>gc-monitor</artifactId>
<version>1.0.0-RC2</version>
</dependency>
<!-- Third-party dependencies required by gc-monitor -->
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>rolling-metrics-core</artifactId>
<version>3.0.0-RC4</version>
</dependency>
<dependency>
<groupId>org.hdrhistogram</groupId>
<artifactId>HdrHistogram</artifactId>
<version>2.1.8</version>
</dependency>
<!-- Third-party dependencies in case of Dropwizard-Metrics integration -->
<dependency>
<groupId>com.github.vladimir-bukhtoyarov</groupId>
<artifactId>rolling-metrics-dropwizard</artifactId>
<version>3.0.0-RC4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>3.1.2</version>
<scope>provided</scope>
</dependency>
Have a question?
Feel free to ask in the gitter chat
License
Copyright 2015-2018 Vladimir Bukhtoyarov Licensed under the Apache Software License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.