From cafedfe6fc01f46ebac452797f6d2d38a08e2944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Sun, 29 Mar 2026 21:53:33 +0200 Subject: [PATCH] Fix Grafana annotation query: add target with type tags The annotation config was missing the target block that tells Grafana to filter by tags. Without it, the annotation query was silently ignored. 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, 10 insertions(+), 5 deletions(-) diff --git a/infrastructure/grafana/dashboards/business.json b/infrastructure/grafana/dashboards/business.json index 9b8c934..9cf5588 100644 --- a/infrastructure/grafana/dashboards/business.json +++ b/infrastructure/grafana/dashboards/business.json @@ -8,7 +8,8 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "tags": ["deploy"] + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, + "type": "dashboard" } ] }, diff --git a/infrastructure/grafana/dashboards/infrastructure.json b/infrastructure/grafana/dashboards/infrastructure.json index cc4ba04..c0e4125 100644 --- a/infrastructure/grafana/dashboards/infrastructure.json +++ b/infrastructure/grafana/dashboards/infrastructure.json @@ -9,7 +9,8 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "tags": ["deploy"] + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, + "type": "dashboard" } ] }, diff --git a/infrastructure/grafana/dashboards/overview.json b/infrastructure/grafana/dashboards/overview.json index f43f8ff..28b8b41 100644 --- a/infrastructure/grafana/dashboards/overview.json +++ b/infrastructure/grafana/dashboards/overview.json @@ -9,7 +9,8 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "tags": ["deploy"] + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, + "type": "dashboard" } ] }, diff --git a/infrastructure/grafana/dashboards/planner.json b/infrastructure/grafana/dashboards/planner.json index eed9bdf..139c9c7 100644 --- a/infrastructure/grafana/dashboards/planner.json +++ b/infrastructure/grafana/dashboards/planner.json @@ -9,7 +9,8 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "tags": ["deploy"] + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, + "type": "dashboard" } ] }, diff --git a/infrastructure/grafana/dashboards/service-health.json b/infrastructure/grafana/dashboards/service-health.json index e9a936b..36ca578 100644 --- a/infrastructure/grafana/dashboards/service-health.json +++ b/infrastructure/grafana/dashboards/service-health.json @@ -9,7 +9,8 @@ "enable": true, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "iconColor": "rgba(0, 211, 255, 1)", - "tags": ["deploy"] + "target": { "limit": 100, "matchAny": false, "tags": ["deploy"], "type": "tags" }, + "type": "dashboard" } ] },