{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "NVIDIA GPU metrics via nvidia-smi Prometheus exporter", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, "links": [], "panels": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 0 }, "id": 1, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" }, "title": "Attached GPUs", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_attached_gpus", "legendFormat": "GPUs", "refId": "A" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "blue", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 0 }, "id": 2, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" }, "title": "Driver Version", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_driver_version", "legendFormat": "Driver", "refId": "A" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 2, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "blue", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 0 }, "id": 3, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" }, "title": "CUDA Version", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_cuda_version", "legendFormat": "CUDA", "refId": "A" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "0": { "text": "P0" }, "1": { "text": "P1" }, "2": { "text": "P2" }, "3": { "text": "P3" }, "4": { "text": "P4" }, "5": { "text": "P5" }, "6": { "text": "P6" }, "7": { "text": "P7" }, "8": { "text": "P8" }, "12": { "text": "P12" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 0 }, "id": 4, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "auto" }, "title": "Performance State", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_performance_state_int{name=~\"$gpu\"}", "legendFormat": "{{name}}", "refId": "A" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 90 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 12, "y": 0 }, "id": 5, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "title": "Fan Speed", "type": "gauge", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fan_speed_percent{name=~\"$gpu\"}", "legendFormat": "{{name}}", "refId": "A" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 75 }, { "color": "orange", "value": 83 }, { "color": "red", "value": 90 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 18, "y": 0 }, "id": 6, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true }, "title": "GPU Temperature", "type": "gauge", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}}", "refId": "A" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 4 }, "id": 7, "title": "Utilization", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }, { "color": "red", "value": 80 }] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 5 }, "id": 8, "options": { "legend": { "calcs": ["mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "title": "GPU Utilization", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_gpu_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — GPU", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_memory_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — Memory", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_encoder_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — Encoder", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_decoder_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — Decoder", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_jpeg_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — JPEG", "refId": "E" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_utilization_ofa_percent{name=~\"$gpu\"}", "legendFormat": "{{name}} — OFA", "refId": "F" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 13 }, "id": 9, "title": "Memory", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 14 }, "id": 10, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "Framebuffer Memory", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fb_memory_usage_total_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Total", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fb_memory_usage_used_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Used", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fb_memory_usage_free_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Free", "refId": "C" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 15, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 14 }, "id": 11, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "BAR1 Memory", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_bar1_memory_usage_total_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Total", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_bar1_memory_usage_used_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Used", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_bar1_memory_usage_free_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — Free", "refId": "C" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 22 }, "id": 12, "title": "Temperature", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }, { "color": "red", "value": 80 }] }, "unit": "celsius" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "Threshold|Limit" }, "properties": [ { "id": "custom.lineStyle", "value": { "dash": [10, 10], "fill": "dash" } }, { "id": "custom.lineWidth", "value": 1 }, { "id": "custom.fillOpacity", "value": 0 } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 23 }, "id": 13, "options": { "legend": { "calcs": ["mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "GPU & Memory Temperature", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — GPU", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_memory_temp_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — Memory", "refId": "B" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 23 }, "id": 14, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "Temperature Thresholds", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_tlimit_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — T-Limit (Blackwell)", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_max_threshold_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max Threshold", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_slow_threshold_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — Slow Threshold", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_max_gpu_threshold_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max GPU Threshold", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_temp_max_mem_threshold_celsius{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max Mem Threshold", "refId": "E" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 31 }, "id": 15, "title": "Power", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 32 }, "id": 16, "options": { "legend": { "calcs": ["mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "title": "Power Draw", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_power_draw_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Draw", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_average_power_draw_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Avg Draw (Blackwell)", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_gpu_instant_power_draw_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Instant Draw (Blackwell)", "refId": "C" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "watt" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 32 }, "id": 17, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "Power Limits", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_power_limit_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Current Limit", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_default_power_limit_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Default", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_enforced_power_limit_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Enforced", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_min_power_limit_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Min", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_max_power_limit_watts{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max", "refId": "E" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 40 }, "id": 18, "title": "Clocks", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "hertz" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 41 }, "id": 19, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "title": "Current Clock Frequencies", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_graphics_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Graphics", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_sm_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — SM", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_mem_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Memory", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_video_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Video", "refId": "D" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "blue", "value": null }] }, "unit": "hertz" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 41 }, "id": 20, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, "title": "Max Clock Frequencies", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_graphics_max_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Graphics Max", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_sm_max_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — SM Max", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_mem_max_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Memory Max", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_clock_video_max_hertz{name=~\"$gpu\"}", "legendFormat": "{{name}} — Video Max", "refId": "D" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 49 }, "id": 21, "title": "PCIe", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 50 }, "id": 22, "options": { "legend": { "calcs": ["mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "title": "PCIe Throughput", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_tx_util_bytes_per_second{name=~\"$gpu\"}", "legendFormat": "{{name}} — TX", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_rx_util_bytes_per_second{name=~\"$gpu\"}", "legendFormat": "{{name}} — RX", "refId": "B" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "blue", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 12, "y": 50 }, "id": 23, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, "title": "PCIe Generation", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_pcie_gen_max{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max Gen", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_pcie_gen_current{name=~\"$gpu\"}", "legendFormat": "{{name}} — Current Gen", "refId": "B" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [{ "color": "blue", "value": null }] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 6, "x": 18, "y": 50 }, "id": 24, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, "title": "PCIe Link Width", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_link_width_max_multiplicator{name=~\"$gpu\"}", "legendFormat": "{{name}} — Max Width", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_link_width_current_multiplicator{name=~\"$gpu\"}", "legendFormat": "{{name}} — Current Width", "refId": "B" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 1 }, { "color": "red", "value": 100 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 4, "w": 12, "x": 12, "y": 54 }, "id": 25, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "textMode": "value_and_name" }, "title": "PCIe Replay Counters", "type": "stat", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_replay_counter{name=~\"$gpu\"}", "legendFormat": "{{name}} — Replays", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_pci_replay_rollover_counter{name=~\"$gpu\"}", "legendFormat": "{{name}} — Rollover", "refId": "B" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 58 }, "id": 26, "title": "Encoder & Frame Buffer Capture", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "Latency" }, "properties": [{ "id": "unit", "value": "µs" }] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 59 }, "id": 27, "options": { "legend": { "calcs": ["mean", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "Encoder Stats", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_encoder_session_count{name=~\"$gpu\"}", "legendFormat": "{{name}} — Sessions", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_encoder_average_fps{name=~\"$gpu\"}", "legendFormat": "{{name}} — Avg FPS", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_encoder_average_latency{name=~\"$gpu\"}", "legendFormat": "{{name}} — Avg Latency", "refId": "C" } ] }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "short" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": "Latency" }, "properties": [{ "id": "unit", "value": "µs" }] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 59 }, "id": 28, "options": { "legend": { "calcs": ["mean", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "title": "Frame Buffer Capture (FBC) Stats", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fbc_session_count{name=~\"$gpu\"}", "legendFormat": "{{name}} — Sessions", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fbc_average_fps{name=~\"$gpu\"}", "legendFormat": "{{name}} — Avg FPS", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_fbc_average_latency{name=~\"$gpu\"}", "legendFormat": "{{name}} — Avg Latency", "refId": "C" } ] }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 67 }, "id": 29, "title": "Processes", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": null }] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 68 }, "id": 30, "options": { "legend": { "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "desc" } }, "title": "Process GPU Memory Usage", "type": "timeseries", "targets": [ { "datasource": { "type": "prometheus", "uid": "${datasource}" }, "expr": "nvidiasmi_process_used_memory_bytes{name=~\"$gpu\"}", "legendFormat": "{{name}} — {{process_name}} (PID {{process_pid}}, {{process_type}})", "refId": "A" } ] } ], "refresh": "30s", "schemaVersion": 38, "tags": ["nvidia", "gpu", "prometheus"], "templating": { "list": [ { "current": {}, "hide": 0, "includeAll": false, "label": "Datasource", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "${datasource}" }, "definition": "label_values(nvidiasmi_utilization_gpu_percent, name)", "hide": 0, "includeAll": true, "allValue": ".*", "label": "GPU", "multi": true, "name": "gpu", "options": [], "query": { "query": "label_values(nvidiasmi_utilization_gpu_percent, name)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "sort": 0, "type": "query" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "NVIDIA SMI Exporter", "uid": "nvidia-smi-exporter", "version": 1, "weekStart": "" }