Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

HubSpot/collectd-gcmetrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages