Fooling around with backend stats is fun! But first you have to figure out what to measure, and how.
There is a beautiful online metrics system called Metrics by Librato. They charge per metric, so if I want seconds granularity, it will cost about 50-100/month. For hours granularity though, this is a very cheap system to use. Definitely cheaper than rolling your own on a micro EC2 instance.
I want seconds granularity for dev-benchmarking, so I’m putting Librato off for a while and playing around with some charting libraries instead:
Highcharts JS is an animated updateable client-side renderer:
pChart2 lib is a beautiful server-side renderer: