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 f97fee3 commit ba1a3b3
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions monitoring/grafana/dashboards/osd-device-details.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -138,7 +138,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -225,7 +225,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -325,7 +325,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -412,7 +412,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -499,7 +499,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -586,7 +586,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"datasource": "$datasource",
"fill": 1,
"gridPos": {
"h": 9,
Expand Down Expand Up @@ -667,10 +667,25 @@
"tags": [],
"templating": {
"list": [
{
"current": {
"tags": [],
"text": "default",
"value": "default"
},
"hide": 0,
"label": "Data Source",
"name": "datasource",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": null,
"datasource": "$datasource",
"hide": 0,
"includeAll": false,
"label": "OSD Id",
Expand Down

0 comments on commit ba1a3b3

Please sign in to comment.