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

View file

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

View file

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

View file

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

View file

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

View file

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