diff --git a/dashboards/dashboard_list.py b/dashboards/dashboard_list.py index b7769eec74d3f0b50994b7e48756220f11517745..7da27b9fee8e7ae12ee0a840498e7bbab372a14c 100644 --- a/dashboards/dashboard_list.py +++ b/dashboards/dashboard_list.py @@ -42,7 +42,7 @@ def _uniform_grid(arch: str, group_by: List[str]): timezone="browser", ) - annotations = get_commit_annotation("InfluxDB-1", "red", "commits", + annotations = get_commit_annotation(dataSource, "red", "commits", measurment_name) return build_row_repeat_dashboard(options, row_repeat_var, @@ -120,7 +120,7 @@ def dashboard_granular_gas(): timezone="browser", ) - annotations = get_commit_annotation("InfluxDB-1", "red", "commits", + annotations = get_commit_annotation(dataSource, "red", "commits", measurment_name) return build_row_repeat_dashboard(options, row_repeat_var, panel_repeat_var, dataSource, @@ -181,7 +181,7 @@ def dashboard_phasefieldallenchan(): repeat=panel_repeat_var, format='W') - annotations = get_commit_annotation("InfluxDB-1", "red", "commits", + annotations = get_commit_annotation(dataSource, "red", "commits", measurment_name) dashboard = build_row_repeat_dashboard(options, row_repeat_var, panel_repeat_var, dataSource, @@ -222,7 +222,7 @@ def dashboard_phasefieldallenchangpu(): "mpi_num_processes", "host", "executable", "timeStepStrategy", "stencil_phase", "stencil_hydro" ]) - annotations = get_commit_annotation("InfluxDB-1", "red", "commits", + annotations = get_commit_annotation(dataSource, "red", "commits", measurment_name) return build_row_repeat_dashboard(options,