Skip to content

Commit

Permalink
Update Grafana Dashboard (NVIDIA#166)
Browse files Browse the repository at this point in the history
* Update dcgm-exporter-dashboard.json

Update to work with Grafana

* Update dcgm-exporter-dashboard.json

fixed instance discovery again
  • Loading branch information
runyontr authored Jun 5, 2023
1 parent 2d053d5 commit 1fd386d
Showing 1 changed file with 31 additions and 22 deletions.
53 changes: 31 additions & 22 deletions grafana/dcgm-exporter-dashboard.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "panel",
Expand Down Expand Up @@ -62,7 +52,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -149,7 +139,7 @@
}
},
{
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"gridPos": {
"h": 8,
"w": 6,
Expand Down Expand Up @@ -214,7 +204,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -302,7 +292,7 @@
},
{
"cacheTimeout": null,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"gridPos": {
"h": 8,
"w": 6,
Expand Down Expand Up @@ -371,7 +361,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -466,7 +456,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -556,7 +546,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -646,7 +636,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"fill": 1,
"fillGradient": 0,
"gridPos": {
Expand Down Expand Up @@ -738,13 +728,32 @@
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"definition": "label_values(DCGM_FI_DEV_GPU_TEMP, instance)",
"hide": 0,
"includeAll": false,
"includeAll": true,
"index": -1,
"label": null,
"multi": true,
"name": "instance",
Expand All @@ -753,7 +762,7 @@
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
Expand All @@ -763,7 +772,7 @@
{
"allValue": null,
"current": {},
"datasource": "${DS_PROMETHEUS}",
"datasource": "$datasource",
"definition": "label_values(gpu)",
"hide": 0,
"includeAll": true,
Expand Down

0 comments on commit 1fd386d

Please sign in to comment.