From 0f3bcb4a563742ab3c207a497f368bb5f79ea963 Mon Sep 17 00:00:00 2001 From: Mario Trangoni Date: Thu, 11 Jan 2024 16:34:01 +0100 Subject: [PATCH] Add Flux Dashboards links Signed-off-by: Mario Trangoni --- monitoring/configs/dashboards/cluster.json | 17 ++++++++++++++++- .../configs/dashboards/control-plane.json | 17 ++++++++++++++++- monitoring/configs/dashboards/logs.json | 17 ++++++++++++++++- 3 files changed, 48 insertions(+), 3 deletions(-) diff --git a/monitoring/configs/dashboards/cluster.json b/monitoring/configs/dashboards/cluster.json index 4cad623..1950839 100644 --- a/monitoring/configs/dashboards/cluster.json +++ b/monitoring/configs/dashboards/cluster.json @@ -33,7 +33,22 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 1, - "links": [], + "links": [ + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "flux" + ], + "targetBlank": false, + "title": "Flux Dashboards", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], "liveNow": false, "panels": [ { diff --git a/monitoring/configs/dashboards/control-plane.json b/monitoring/configs/dashboards/control-plane.json index 2670424..6e91391 100644 --- a/monitoring/configs/dashboards/control-plane.json +++ b/monitoring/configs/dashboards/control-plane.json @@ -42,7 +42,22 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 1, - "links": [], + "links": [ + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "flux" + ], + "targetBlank": false, + "title": "Flux Dashboards", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], "liveNow": false, "panels": [ { diff --git a/monitoring/configs/dashboards/logs.json b/monitoring/configs/dashboards/logs.json index ba0210f..cd9a301 100644 --- a/monitoring/configs/dashboards/logs.json +++ b/monitoring/configs/dashboards/logs.json @@ -50,7 +50,22 @@ "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, - "links": [], + "links": [ + { + "asDropdown": true, + "icon": "external link", + "includeVars": true, + "keepTime": true, + "tags": [ + "flux" + ], + "targetBlank": false, + "title": "Flux Dashboards", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], "liveNow": false, "panels": [ {