Module: check_mk
Branch: master
Commit: 480eb3958ba884bc3f5b209f2eca750b57745e72
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=480eb3958ba884…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Mar 12 10:02:13 2015 +0100
metrics: introduced new legend scale m (Milli)
---
web/htdocs/metrics.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/web/htdocs/metrics.py b/web/htdocs/metrics.py
index fd38d055..233acc3 100644
--- a/web/htdocs/metrics.py
+++ b/web/htdocs/metrics.py
@@ -63,6 +63,7 @@ GB = MB * 1024
TB = GB * 1024
PB = TB * 1024
+m = 0.001
K = 1000
M = K * 1000
G = M * 1000
@@ -70,6 +71,7 @@ T = G * 1000
P = T * 1000
scale_symbols = {
+ m : "m",
1 : "",
KB : "k",
MB : "M",