Skip to content

Commit

Permalink
fix: datasource in dashboard.json (argoproj#19426)
Browse files Browse the repository at this point in the history
Other panels have properly set `"uid": "$datasource"`, but for some reason, this doesn't.
Let's fix it.

Signed-off-by: TomasR <linux@rohlik.xyz>
  • Loading branch information
Rohlik authored Aug 9, 2024
1 parent d56206f commit 992716b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -4014,7 +4014,7 @@
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "$datasource"
},
"gridPos": {
"h": 1,
Expand All @@ -4031,7 +4031,7 @@
"dashes": false,
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "$datasource"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -4078,7 +4078,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "$datasource"
},
"expr": "sum(increase(argocd_redis_request_total{namespace=~\"$namespace\"}[$interval])) by (failed)",
"refId": "A"
Expand Down Expand Up @@ -4119,7 +4119,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
"uid": "$datasource"
},
"refId": "A"
}
Expand Down Expand Up @@ -4426,4 +4426,4 @@
"uid": "LCAgc9rWz",
"version": 2,
"weekStart": ""
}
}

0 comments on commit 992716b

Please sign in to comment.