From e8c6fab4f984fd031a62c294ada9e753f80be1eb Mon Sep 17 00:00:00 2001 From: Marie Roque Date: Fri, 15 Sep 2023 11:20:22 +0200 Subject: [PATCH] Add internal links between all Prometheus Dashboards --- CHANGELOG.md | 4 +++ .../public/prometheus-availability.json | 14 +++++++++- .../public/prometheus-remote-write.json | 27 ++++++++++++++++++- .../dashboards/shared/public/prometheus.json | 12 +++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 406a4d1f..e004871d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add internal links between all Prometheus Dashboards. + ## [2.36.0] - 2023-07-27 ### Added diff --git a/helm/dashboards/dashboards/shared/public/prometheus-availability.json b/helm/dashboards/dashboards/shared/public/prometheus-availability.json index 4816a626..0b6860c3 100644 --- a/helm/dashboards/dashboards/shared/public/prometheus-availability.json +++ b/helm/dashboards/dashboards/shared/public/prometheus-availability.json @@ -27,7 +27,7 @@ "graphTooltip": 1, "links": [ { - "asDropdown": true, + "asDropdown": false, "icon": "dashboard", "includeVars": true, "keepTime": true, @@ -37,6 +37,18 @@ "tooltip": "Open Prometheus dashboard", "type": "link", "url": "/d/iWowmlSmk/prometheus" + }, + { + "asDropdown": false, + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "targetBlank": true, + "title": "RemoteWrite", + "tooltip": "Open RemoteWrite dashboard", + "type": "link", + "url": "/d/promRW001/prometheus-remote-write" } ], "liveNow": false, diff --git a/helm/dashboards/dashboards/shared/public/prometheus-remote-write.json b/helm/dashboards/dashboards/shared/public/prometheus-remote-write.json index cb1dba41..8c6e2753 100644 --- a/helm/dashboards/dashboards/shared/public/prometheus-remote-write.json +++ b/helm/dashboards/dashboards/shared/public/prometheus-remote-write.json @@ -9,7 +9,32 @@ "graphTooltip": 0, "hideControls": false, "id": null, - "links": [], + "links": [ + { + "asDropdown": false, + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "targetBlank": true, + "title": "Prometheus", + "tooltip": "Open Prometheus dashboard", + "type": "link", + "url": "/d/iWowmlSmk/prometheus" + }, + { + "asDropdown": false, + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "targetBlank": true, + "title": "Availability", + "tooltip": "Open Prometheus/Availability dashboard", + "type": "link", + "url": "/d/promavailability/prometheus-availability" + } + ], "refresh": "60s", "rows": [ { diff --git a/helm/dashboards/dashboards/shared/public/prometheus.json b/helm/dashboards/dashboards/shared/public/prometheus.json index bc593b13..2e91045b 100644 --- a/helm/dashboards/dashboards/shared/public/prometheus.json +++ b/helm/dashboards/dashboards/shared/public/prometheus.json @@ -47,6 +47,18 @@ "tooltip": "Open Prometheus/Availability dashboard", "type": "link", "url": "/d/promavailability/prometheus-availability" + }, + { + "asDropdown": false, + "icon": "dashboard", + "includeVars": true, + "keepTime": true, + "tags": [], + "targetBlank": true, + "title": "RemoteWrite", + "tooltip": "Open RemoteWrite dashboard", + "type": "link", + "url": "/d/promRW001/prometheus-remote-write" } ], "liveNow": false,