CSIT-1041: Trending dashboard 37/11737/1
authorTibor Frank <tifrank@cisco.com>
Fri, 13 Apr 2018 08:29:14 +0000 (10:29 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 13 Apr 2018 08:29:14 +0000 (10:29 +0200)
Change-Id: I26aaf33a3df4d38fddadcfc7191900d80c02f855
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py
resources/tools/presentation/specification_CPTA.yaml

index 65bf6d5..814fbe4 100644 (file)
@@ -595,7 +595,7 @@ def table_performance_trending_dashboard(table, input_data):
             else:
                 anomaly = "normal"
 
-            if not isnan(last) and not isnan(trend):
+            if not isnan(last) and not isnan(trend) and trend != 0:
                 # Change:
                 change = round(float(last - trend) / 1000000, 2)
                 # Relative change:
index 510c932..d4317e3 100644 (file)
@@ -90,7 +90,7 @@
       yaxis:
         showticklabels: True
         tickformat: ".3s"
-        title: "Throughput [Mpps]"
+        title: "Throughput [pps]"
         hoverformat: ".4s"
         range: []
         gridcolor: "rgb(238, 238, 238)"

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.