prometheus/templates
Brian Brazil fce3873b02 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-06-11 11:50:55 +01:00
..
templates.go Add humanizeDuration function. 2014-06-11 11:50:55 +01:00
templates_test.go Add humanizeDuration function. 2014-06-11 11:50:55 +01:00