Skip to content

Commit

Permalink
MGR/dashboard: make grafana datasource selectable
Browse files Browse the repository at this point in the history
Grafana dashboard updated to use a templating
variable for the datasource

Signed-off-by: Paul Cuzner <[email protected]>
  • Loading branch information
pcuzner committed Oct 8, 2018
1 parent 5432470 commit b64289c
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions monitoring/grafana/dashboards/pool-overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 5,
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -140,7 +140,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 5,
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -238,7 +238,7 @@
"value": "current"
}
],
"datasource": null,
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -384,7 +384,7 @@
"value": "current"
}
],
"datasource": null,
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -516,7 +516,7 @@
},
{
"columns": [],
"datasource": null,
"datasource": "$datasource",
"fontSize": "100%",
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -654,7 +654,7 @@
{
"allValue": null,
"current": {},
"datasource": null,
"datasource": "$datasource",
"hide": 2,
"includeAll": true,
"label": null,
Expand All @@ -674,7 +674,7 @@
{
"allValue": null,
"current": {},
"datasource": null,
"datasource": "$datasource",
"hide": 2,
"includeAll": true,
"label": "Pool Name",
Expand All @@ -690,6 +690,21 @@
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"current": {
"tags": [],
"text": "default",
"value": "default"
},
"hide": 0,
"label": "Data Source",
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
}
]
},
Expand Down

0 comments on commit b64289c

Please sign in to comment.