def statsd_metric(name, count, elapsed):
    """Metric that records to statsd & graphite"""
    with statsd.pipeline() as pipe:
        pipe.incr(name, count)
        pipe.timing(name, int(round(1000 * elapsed)))