getstats

command
v0.0.0-...-13a0eb3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Command getstats polls a expvar endpoint and dumps values for collectd including memstats, exphttp, exprpcs data entries.

Usage is straightforward with the collectd `exec` plugin:

https://collectd.org/documentation/manpages/collectd-exec.5.shtml

Loading an example exec.conf:

LoadPlugin exec
<Plugin exec>
   Exec "user:group" "/path/to/getstats" "-h" "prod1" "-i main" "-u" "http://127.0.0.1:3000/debug/vars"
</Plugin>

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL