This is a plugin for etsy's statsd that sends your metric data to the Hosted Graphite service.
Place hostedgraphite.js into the backends/ directory of your statsd install.
Accepts same configuration options as graphite.
hostedGraphite:
legacyNamespace: use the legacy namespace [default: true]
globalPrefix: global prefix to use for sending stats to graphite [default: "stats"]
prefixCounter: graphite prefix for counter metrics [default: "counters"]
prefixTimer: graphite prefix for timer metrics [default: "timers"]
prefixGauge: graphite prefix for gauge metrics [default: "gauges"]
prefixSet: graphite prefix for set metrics [default: "sets"]
globalSuffix: global suffix to use for sending stats to graphite [default: ""]
This is particularly useful for sending per host stats by
settings this value to: require('os').hostname().split('.')[0]
Add './backends/hostedgraphite' to the backends list.
backends: ['./backends/hostedgraphite']
Set hostedGraphiteAPIKey to your key. This looks like a UUID and is available from your account details page on hostedgraphite.com
hostedGraphiteAPIKey: 'deadbeef-dead-beef-dead-beefdeadbeef'
{
port: 8125
, backends: ['./backends/hostedgraphite']
, hostedGraphiteAPIKey: 'deadbeef-dead-beef-dead-beefdeadbeef'
, hostedGraphite: {
legacyNamespace: false
}
}