Add deploy annotation query to all Grafana dashboards
Provisioned dashboards now display deploy markers (cyan vertical lines) by querying built-in Grafana annotations tagged "deploy". Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5cce5bc33b
commit
2a11397ca9
5 changed files with 55 additions and 0 deletions
|
|
@ -1,6 +1,17 @@
|
|||
{
|
||||
"title": "Business Metrics",
|
||||
"uid": "trails-business",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"name": "Deploys",
|
||||
"enable": true,
|
||||
"datasource": { "type": "grafana", "uid": "-- Grafana --" },
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"tags": ["deploy"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"refresh": "5m",
|
||||
"panels": [
|
||||
|
|
|
|||
|
|
@ -2,6 +2,17 @@
|
|||
"dashboard": {
|
||||
"title": "Infrastructure",
|
||||
"uid": "trails-infra",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"name": "Deploys",
|
||||
"enable": true,
|
||||
"datasource": { "type": "grafana", "uid": "-- Grafana --" },
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"tags": ["deploy"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"refresh": "30s",
|
||||
"panels": [
|
||||
|
|
|
|||
|
|
@ -2,6 +2,17 @@
|
|||
"dashboard": {
|
||||
"title": "trails.cool Overview",
|
||||
"uid": "trails-overview",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"name": "Deploys",
|
||||
"enable": true,
|
||||
"datasource": { "type": "grafana", "uid": "-- Grafana --" },
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"tags": ["deploy"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"refresh": "30s",
|
||||
"panels": [
|
||||
|
|
|
|||
|
|
@ -2,6 +2,17 @@
|
|||
"dashboard": {
|
||||
"title": "Planner",
|
||||
"uid": "trails-planner",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"name": "Deploys",
|
||||
"enable": true,
|
||||
"datasource": { "type": "grafana", "uid": "-- Grafana --" },
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"tags": ["deploy"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"refresh": "30s",
|
||||
"panels": [
|
||||
|
|
|
|||
|
|
@ -2,6 +2,17 @@
|
|||
"dashboard": {
|
||||
"title": "Service Health",
|
||||
"uid": "trails-service-health",
|
||||
"annotations": {
|
||||
"list": [
|
||||
{
|
||||
"name": "Deploys",
|
||||
"enable": true,
|
||||
"datasource": { "type": "grafana", "uid": "-- Grafana --" },
|
||||
"iconColor": "rgba(0, 211, 255, 1)",
|
||||
"tags": ["deploy"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"timezone": "browser",
|
||||
"refresh": "30s",
|
||||
"panels": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue