by pixelmonkey · 14y ago · 0 comments
No matter what site you run, though, you should use Graphite.
It's open source: http://graphite.wikidot.com/
It has a slew of client libraries so that you can instrument everything. See Etsy's tech post on this, "Measure Anything, Measure Everything": http://codeascraft.etsy.com/2011/02/15/measure-anything-meas...
Here's a concrete example of how we use it at Parse.ly: we instrument all of our API endpoints for each publisher (customer) that is using our API. We can put this instrumentation right in our code and thanks to pystatsd and UDP, it doesn't slow anything down.
This way, we can track which endpoints are being used and be alerted about spikes and go-lives from big sites. See this graph I generated from Graphite after toying around with the data to discover some of our top API users:
http://ubuntuone.com/0CRL8EsDuQjirYczUQCitg
And here is the Graphite expression I used to generate it:
sortByMaxima(averageAbove(stats.api.prod.*.*, 0.01))No comments yet.