Skip to content

Commit

Permalink
Use query builder for the DCGM dashboard (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
LujieDuan authored Oct 6, 2023
1 parent 0d8b0cb commit 844154d
Showing 1 changed file with 42 additions and 5 deletions.
47 changes: 42 additions & 5 deletions dashboards/nvidia-gpu/nvidia-dcgm.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@
},
"dataSets": [
{
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesQueryLanguage": "fetch gce_instance\n| metric 'workload.googleapis.com/dcgm.gpu.profiling.pipe_utilization'\n"
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"workload.googleapis.com/dcgm.gpu.profiling.pipe_utilization\" resource.type=\"gce_instance\""
}
}
}
],
Expand All @@ -43,10 +50,18 @@
},
"dataSets": [
{
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesQueryLanguage": "fetch gce_instance\n| metric 'workload.googleapis.com/dcgm.gpu.profiling.pcie_traffic_rate'\n| cast_units(\"By/s\")"
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"workload.googleapis.com/dcgm.gpu.profiling.pcie_traffic_rate\" resource.type=\"gce_instance\""
},
"unitOverride": "By/s"
}
}
],
Expand All @@ -71,10 +86,17 @@
},
"dataSets": [
{
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesQueryLanguage": "fetch gce_instance\n| metric 'workload.googleapis.com/dcgm.gpu.profiling.sm_utilization'\n"
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"workload.googleapis.com/dcgm.gpu.profiling.sm_utilization\" resource.type=\"gce_instance\""
}
}
}
],
Expand Down Expand Up @@ -119,10 +141,17 @@
},
"dataSets": [
{
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesQueryLanguage": "fetch gce_instance\n| metric 'workload.googleapis.com/dcgm.gpu.profiling.sm_occupancy'\n"
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"workload.googleapis.com/dcgm.gpu.profiling.sm_occupancy\" resource.type=\"gce_instance\""
}
}
}
],
Expand All @@ -147,10 +176,18 @@
},
"dataSets": [
{
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesQueryLanguage": "fetch gce_instance\n| metric 'workload.googleapis.com/dcgm.gpu.profiling.nvlink_traffic_rate'\n| cast_units(\"By/s\")"
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"workload.googleapis.com/dcgm.gpu.profiling.nvlink_traffic_rate\" resource.type=\"gce_instance\""
},
"unitOverride": "By/s"
}
}
],
Expand Down

0 comments on commit 844154d

Please sign in to comment.