aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-13 11:15:45 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-13 09:17:07 +0000
commit3a6c25ed746ac8fef87ae4b60051b3a8b5c02f17 (patch)
treebcd832aa441f2770dd073b432da59c6b314e9657 /resources/tools/presentation
parent0d9adf605147f3744a7c03cf9110d9dcc2fd695a (diff)
CSIT-1041: Trending dashboard
Change-Id: I227f9ec0e863307393a1e192a6faaea32b08673d Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit d0e06e9bc675e87f84af534af822cf2490e0337a)
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_tables.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 814fbe450c..92a292b66c 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -588,6 +588,7 @@ def table_performance_trending_dashboard(table, input_data):
std())[-2]
if isnan(last):
anomaly = "outlier"
+ last = list(pd_data)[-1]
elif last < (trend - 3 * t_stdev):
anomaly = "regression"
elif last > (trend + 3 * t_stdev):