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) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-29 21:57:39 +02:00
parent 16fd07bd97
commit 9223eacb91
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
5 changed files with 5 additions and 10 deletions

View file

@ -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" }
}
]
},

View file

@ -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" }
}
]
},

View file

@ -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" }
}
]
},

View file

@ -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" }
}
]
},

View file

@ -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" }
}
]
},