aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/trending/graphs.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-06-05 13:24:57 +0000
committerTibor Frank <tifrank@cisco.com>2023-06-07 05:53:09 +0000
commit2c9b2a4298cac5cc4d6ca60cb1da8bd72ec23c37 (patch)
treeb5eee992ed907eca22e310d44f5bb8b517412cbb /csit.infra.dash/app/cdash/trending/graphs.py
parentb8e06ce97d82640528b2180de409e324b41f2fd7 (diff)
C-Dash: Do not generate always all graphs
Change-Id: Ib416bdd971f24f9fd4d472ded983defc08f62903 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/trending/graphs.py')
-rw-r--r--csit.infra.dash/app/cdash/trending/graphs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit.infra.dash/app/cdash/trending/graphs.py b/csit.infra.dash/app/cdash/trending/graphs.py
index 7b14501dec..32ab8df610 100644
--- a/csit.infra.dash/app/cdash/trending/graphs.py
+++ b/csit.infra.dash/app/cdash/trending/graphs.py
@@ -502,7 +502,7 @@ def graph_tm_trending(
anomaly_color.append(C.ANOMALY_COLOR[anomaly])
hover_itm = (
f"date: {x_axis[idx].strftime('%Y-%m-%d %H:%M:%S')}"
- f"<br>trend: {trend_avg[idx]:,.0f}"
+ f"<br>trend: {trend_avg[idx]:,.2f}"
f"<br>classification: {anomaly}"
)
hover.append(hover_itm)
@@ -576,4 +576,4 @@ def graph_tm_trending(
graph.update_layout(graph_layout)
tm_trending_graphs.append((graph, all_tests, ))
- return tm_trending_graphs, all_metrics
+ return tm_trending_graphs, list(all_metrics)