Skip to content

Commit

Permalink
Adjust clock values
Browse files Browse the repository at this point in the history
The exporter reports these in Mhz, but there is no Mhz option in the Grafana standard units. Instead, we can multiply by 1 million to map Mhz back to Hz, and Grafana will automatically use Mhz when displaying these.
  • Loading branch information
mjpieters committed Sep 4, 2020
1 parent 7b4deae commit 3439a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafana/dcgm-exporter-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
"steppedLine": false,
"targets": [
{
"expr": "DCGM_FI_DEV_SM_CLOCK{instance=~\"${instance}\", gpu=~\"${gpu}\"}",
"expr": "DCGM_FI_DEV_SM_CLOCK{instance=~\"${instance}\", gpu=~\"${gpu}\"} * 1000000",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -502,7 +502,7 @@
"steppedLine": false,
"targets": [
{
"expr": "DCGM_FI_DEV_MEM_CLOCK{instance=~\"${instance}\", gpu=~\"${gpu}\"}",
"expr": "DCGM_FI_DEV_MEM_CLOCK{instance=~\"${instance}\", gpu=~\"${gpu}\"} * 1000000",
"interval": "",
"legendFormat": "GPU {{gpu}}",
"refId": "A"
Expand Down

0 comments on commit 3439a3c

Please sign in to comment.