Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tiny Erlang app that works in conjunction with statsderl in order to generate information on the Erlang VM for graphite logs.
tree: 39d462c726

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src
test
.gitignore
LICENSE
Makefile
README.markdown
rebar
rebar.config

README.markdown

vmstats

vmstats is a tiny Erlang app that works in conjunction with statsderl in order to generate information on the Erlang VM for graphite logs.

The different fields include:

  • the error_logger queue length
  • the number of modules loaded
  • the number of processes
  • the process limit
  • the length of the run queue
  • the scheduler usage as a percentage
  • memory used for ETS tables, atoms, processes, binaries and the total memory

How to build

$ ./rebar compile

Other Stuff

It is recommended to leave the interval at 1000ms (1 second) as graphite seems to dampen missing data points on intervals larger than that, or to accumulate them when they're smaller. At roughly 1 second, the values seem to represent what the Erlang VM outputs the best.

I was basing myself on 'master' and stuff started breaking!

You are likely using vmstats with an Erlang release prior to R15B. Switch away from master and use the tag "0.1.0" to get back to the functionning version you knew.

Something went wrong with that request. Please try again.