fork of https://github.com/erikvanoosten/metrics-scala