prometheus/templates
Brian Brazil 2f76f434a5 Add humanizeDuration function.
This attempts to reasonably handle things from weekly cronjobs,
to rpcs taking ns to things that are usually ms but jump to over a second.

For consistency, stop putting spaces before prefixes.

Change-Id: I6407879187b25680b323cd70254e205315b5fc3c
2014-11-25 17:01:59 +01:00
..
templates.go Add humanizeDuration function. 2014-11-25 17:01:59 +01:00
templates_test.go Add humanizeDuration function. 2014-11-25 17:01:59 +01:00