Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
2038406
)
CSIT-1041: Trending dashboard
43/11743/2
author
Tibor Frank
<tifrank@cisco.com>
Fri, 13 Apr 2018 09:15:45 +0000
(11:15 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Fri, 13 Apr 2018 09:16:39 +0000
(09:16 +0000)
Change-Id: I227f9ec0e863307393a1e192a6faaea32b08673d
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_tables.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
814fbe4
..
92a292b
100644
(file)
--- 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"
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):
elif last < (trend - 3 * t_stdev):
anomaly = "regression"
elif last > (trend + 3 * t_stdev):