aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/report/graphs.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-06-23 07:58:36 +0000
committerTibor Frank <tifrank@cisco.com>2023-06-23 08:02:36 +0000
commitc17ad9031ead7a9d658f9e83e78a494dfa0ed040 (patch)
treeec8d7681f4d932b54255a05f8838b728d6ddbd87 /csit.infra.dash/app/cdash/report/graphs.py
parent575941328d025997c20ee30e7f85835a9510415e (diff)
C-Dash: Add hyperlinks to job/builds
- performance trending - test job statistics - per release performance Change-Id: I2b0479120906b79d45b1887be1e8bb72d9845585 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/report/graphs.py')
-rw-r--r--csit.infra.dash/app/cdash/report/graphs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/csit.infra.dash/app/cdash/report/graphs.py b/csit.infra.dash/app/cdash/report/graphs.py
index f45e17ff33..cff5bb6b02 100644
--- a/csit.infra.dash/app/cdash/report/graphs.py
+++ b/csit.infra.dash/app/cdash/report/graphs.py
@@ -128,6 +128,9 @@ def graph_iterative(data: pd.DataFrame, sel:dict, layout: dict,
y_tput_max = max(max(y_data), y_tput_max)
nr_of_samples = len(y_data)
+ c_data = list()
+ for _, row in itm_data.iterrows():
+ c_data.append(f"{row['job']}/{row['build']}")
tput_kwargs = dict(
y=y_data,
name=(
@@ -139,7 +142,8 @@ def graph_iterative(data: pd.DataFrame, sel:dict, layout: dict,
hoverinfo=u"y+name",
boxpoints="all",
jitter=0.3,
- marker=dict(color=get_color(idx))
+ marker=dict(color=get_color(idx)),
+ customdata=c_data
)
tput_traces.append(go.Box(**tput_kwargs))
show_tput = True