We’ve mentioned a couple of Graphite-related projects previously. Jason Dixon and Michael Gorsuch from Heroku have released Backstop, a simple HTTP-to-Graphite proxy to make it simple to send metrics. Using the /publish method, metrics and annotations can be posted that match any approved prefixes found in the PREFIXES environment variable, custom in the following example:

# Send a metric
   [{:metric => key, :value => value, :measure_time => Time.now.to_i}].to_json)

# Send an annotation
   [{:metric => "foobar.release", :value => "v214", :measure_time => Time.now.to_i}].to_json)

Check the README for local usage and instructions for deploying to Heroku.

Have comments? Send a tweet to @TheChangelog on Twitter.

Subscribe to The Changelog Weekly – our weekly email covering everything that hits our open source radar.