This is an alternative port of Coda Hale's metrics library.