learning codehale/metrics