From 4acef9d508bb50cc5647237f39e1a25b69cad451 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Sun, 29 May 2022 17:46:02 +0300 Subject: [PATCH] Add Flux events to dashboard annotations Signed-off-by: Stefan Prodan --- .../monitoring-config/dashboards/cluster.json | 17 +++++++++++++++++ .../dashboards/control-plane.json | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/manifests/monitoring/monitoring-config/dashboards/cluster.json b/manifests/monitoring/monitoring-config/dashboards/cluster.json index d9960b7b..1d493586 100644 --- a/manifests/monitoring/monitoring-config/dashboards/cluster.json +++ b/manifests/monitoring/monitoring-config/dashboards/cluster.json @@ -9,6 +9,23 @@ "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "red", + "name": "flux events", + "target": { + "limit": 100, + "matchAny": false, + "tags": [ + "flux" + ], + "type": "tags" + } } ] }, diff --git a/manifests/monitoring/monitoring-config/dashboards/control-plane.json b/manifests/monitoring/monitoring-config/dashboards/control-plane.json index 3eff4d57..3f03d300 100644 --- a/manifests/monitoring/monitoring-config/dashboards/control-plane.json +++ b/manifests/monitoring/monitoring-config/dashboards/control-plane.json @@ -15,6 +15,23 @@ "type": "dashboard" }, "type": "dashboard" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "red", + "name": "flux events", + "target": { + "limit": 100, + "matchAny": false, + "tags": [ + "flux" + ], + "type": "tags" + } } ] },