No description or website provided.
Pull request Compare This branch is 45 commits behind addthis:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


MetricCatcher is a bookkeeping agent for application metrics. It utilizes Coda Hale's Metrics package to provide languages that aren't Java with the easy-to-use tracking & advanced maths of Metrics.

What it does

MetricCatcher takes in JSON about things you want to track in your application and forwards the data on to Graphite or Ganglia for storage & visualization.

Method of operation

MetricCatcher utilizes Coda Hale's Metrics for its own storage of information, statistical analysis, and sending information along to Graphite or Ganglia. When MetricCatcher first receives a metric, it creates the corresponding Java object. Subsequent messages referring to a metric of the same name update or increment that metric as appropriate. Metrics are sent on to the configured metrics server, Ganglia or Graphite, once very minute.

Why you might care

We wrote MetricCatcher in order to take advantage of the statistics that Coda Hale's Metrics provides in languages that aren't Java. It is very useful for things like web applications that don't have any in-memory persistance (i.e. process-per-request).

Running MetricCatcher

Builds of MetricCatcher can be found on Sonatype's OSS repository or the The Central Repository. Grab the latest and unpack it. Uncomment the type of server you'd like MetricCatcher ot send metrics to in conf/ and set the appropriate hostname. Can start MetricCatcher using the included bin/ script and then check logs/metriccatcher.log to see if it had any issues starting up. At the default DEBUG loglevel, MetricCatcher logs every time it gets a metric update, making debugging a cinch.

Talking to MetricCatcher

MetricCatcher accepts JSON on UDP port 1420 by default.

A metric

Each metric has a name, type, timestamp, and value. See Coda Hale's Metrics documentation for details on the available metric types. Histograms are either biased (favor more recent data) or uniform (weight all data equally) and are referred to as such.


A set of metrics

MetricCatcher expects a list of individual metrics as described above.


More info



MetricCatcher was written by Drew Stephens of Clearspring.


MetricCatcher is released under the Apache License Version 2.0. See Apache or the LICENSE file in this distribution for details

Bugs & so forth

Please report bugs or request new features at the GitHub page for MetricCatcher:


When this was written, Clearpsirng was hiring; even if the blame on this line is from long ago, we probably still are. Check out if you're intersted in doing webapps, working with Big Data, and like smart, fun coworkers. Clearspring is based just outside of Washington, DC (Tysons Corner) and has offices in New York, Los Angeles, and beyond.