From 9223eacb91ffb05a8ebe5ae2c3fa5de80ee51889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sun, 29 Mar 2026 21:57:39 +0200 Subject: [PATCH] Remove type:dashboard from annotation config The type:dashboard field was causing Grafana to filter annotations by dashboard scope. Our deploy annotations are global (no dashboardUID), so the target.type:tags is the only filter needed. Co-Authored-By: Claude Opus 4.6 (1M context) --- infrastructure/grafana/dashboards/business.json | 3 +-- infrastructure/grafana/dashboards/infrastructure.json | 3 +-- infrastructure/grafana/dashboards/overview.json | 3 +-- infrastructure/grafana/dashboards/planner.json | 3 +-- infrastructure/grafana/dashboards/service-health.json | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/infrastructure/grafana/dashboards/business.json b/infrastructure/grafana/dashboards/business.json index 9cf5588..800dbbc 100644 --- a/infrastructure/grafana/dashboards/business.json +++ b/infrastructure/grafana/dashboards/business.json @@ -8,8 +8,7 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, - "type": "dashboard" + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" } } ] }, diff --git a/infrastructure/grafana/dashboards/infrastructure.json b/infrastructure/grafana/dashboards/infrastructure.json index c0e4125..79e7f1e 100644 --- a/infrastructure/grafana/dashboards/infrastructure.json +++ b/infrastructure/grafana/dashboards/infrastructure.json @@ -9,8 +9,7 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, - "type": "dashboard" + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" } } ] }, diff --git a/infrastructure/grafana/dashboards/overview.json b/infrastructure/grafana/dashboards/overview.json index 28b8b41..d5e936c 100644 --- a/infrastructure/grafana/dashboards/overview.json +++ b/infrastructure/grafana/dashboards/overview.json @@ -9,8 +9,7 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, - "type": "dashboard" + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" } } ] }, diff --git a/infrastructure/grafana/dashboards/planner.json b/infrastructure/grafana/dashboards/planner.json index 139c9c7..c476608 100644 --- a/infrastructure/grafana/dashboards/planner.json +++ b/infrastructure/grafana/dashboards/planner.json @@ -9,8 +9,7 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, - "type": "dashboard" + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" } } ] }, diff --git a/infrastructure/grafana/dashboards/service-health.json b/infrastructure/grafana/dashboards/service-health.json index 36ca578..440fbef 100644 --- a/infrastructure/grafana/dashboards/service-health.json +++ b/infrastructure/grafana/dashboards/service-health.json @@ -9,8 +9,7 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, - "type": "dashboard" + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" } } ] },