def statsd_metric(name, count, elapsed):
with statsd.pipeline() as pipe:<EOL><INDENT>pipe.incr(name, count)<EOL>pipe.timing(name, int(round(<NUM_LIT:1000> * elapsed)))<EOL><DEDENT>
Metric that records to statsd & graphite