Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
g1gcstats.conf
g1gcstats.py

README.md

Garbage Collection metrics CollectD plugin

A CollectD plugin to collect G1GC stats from a local JVM. Uses CollectD's Python plugin. Size and time metric units are bytes and milliseconds, respectively.

We use G1GC and the following JVM options for GC logging, and recommend you use the same for services monitored by this plugin:

-verbosegc -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintAdaptiveSizePolicy -XX:+PrintGCDetails -XX:+PrintGCApplicationStoppedTime -XX:+PrintTenuringDistribution

####Configuration parameters (defaults refer to values in g1gcstats.conf):

  • LogDir: directory to find GC logs in (REQUIRED: no default).
  • Family: plugin_instance value for the cluster type the plugin is running on ("").
  • Verbose: if true, print verbose logging (false).
  • MeasureEdenAvg: if true, record and send mean Eden size (true).
  • MeasureTenuredAvg: if true, record and send mean Tenured (Old Gen) size (true).
  • MeasureIHOPThreshold: if true, record and send Old Gen mixed GC threshold (true).
  • MeasureMixedPause: if true, record and send mixed GC count and pause time (true).
  • MeasureYoungPause: if true, record and send young GC count and pause time (true).
  • MeasureFullPause: if true, record and send full GC count and pause time (true).
  • MeasureMaxPause: if true, record and send longest GC pause since last report (true).
  • LongPauseThreshold: (integer) if non-zero, count pauses longer than config ms (1000).
  • CountHumongousObjects: if true, count humongous objects allocated (true).
You can’t perform that action at this time.