{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "gauge", "name": "Gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "11.5.2" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "table", "name": "Table", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Extended smartctl-exporter Dashboard", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": null, "links": [], "panels": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 2, "x": 0, "y": 0 }, "id": 16, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "count(present_over_time(smartctl_device_smart_status{monitor=\"$monitor\"}[$horizon]))", "instant": false, "legendFormat": "__auto", "range": true, "refId": "A" } ], "title": "Devices", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "fieldMinMax": false, "mappings": [], "min": 0, "noValue": "0", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 2, "x": 2, "y": 0 }, "id": 12, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "count(last_over_time(smartctl_device_smart_status{monitor=\"$monitor\"}[$horizon]) != 1)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "__auto", "refId": "A" } ], "title": "Unhealthy", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "displayName": "", "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 75 }, { "color": "red", "value": 90 } ] }, "unit": "percent" }, "overrides": [] }, "gridPos": { "h": 5, "w": 20, "x": 4, "y": 0 }, "id": 8, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "auto", "reduceOptions": { "calcs": [ "last" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto", "text": { "titleSize": 12 } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sort_desc(100 - last_over_time(smartctl_device_attribute{monitor=\"$monitor\", attribute_name=\"Wear_Leveling_Count\",attribute_value_type=\"value\"}[$horizon]) * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device{interface=~\"sat\"}[$horizon]))", "format": "time_series", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "{{model_name}} ({{device}})", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sort_desc(100 - last_over_time(smartctl_device_attribute{monitor=\"$monitor\", attribute_name=\"SSD_Life_Left\",attribute_value_type=\"value\"}[$horizon]) * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device{interface=~\"sat\"}[$horizon]))", "hide": false, "instant": false, "legendFormat": "{{model_name}} ({{device}})", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "sort_desc(smartctl_device_percentage_used{monitor=\"$monitor\"} * on(monitor, device) group_left(interface,serial_number,model_family,model_name) smartctl_device{interface=\"nvme\"})", "hide": false, "instant": false, "legendFormat": "{{model_name}} ({{device}})", "range": true, "refId": "C" } ], "title": "Wear Level on SSD Devices", "type": "gauge" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 }, "id": 20, "panels": [], "title": "Mountpoint Information", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 6 }, "id": 21, "options": { "legend": { "calcs": [ "firstNotNull", "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last *", "sortDesc": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_filesystem_size_bytes{monitor=\"$monitor\", mountpoint=~\"$mountpoint\"} - node_filesystem_avail_bytes{monitor=\"$monitor\", mountpoint=~\"$mountpoint\"}", "legendFormat": "{{mountpoint}}", "range": true, "refId": "A" } ], "title": "Used Bytes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 6 }, "id": 22, "options": { "legend": { "calcs": [ "mean", "sum" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Last *", "sortDesc": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "delta(node_filesystem_avail_bytes{monitor=~\"$monitor\", mountpoint=~\"$mountpoint\"}[$__rate_interval]) * -1", "legendFormat": "{{mountpoint}}", "range": true, "refId": "A" } ], "title": "Used Bytes Delta", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 15 }, "id": 23, "panels": [], "title": "Devices", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "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": "area" } }, "decimals": 0, "links": [], "mappings": [], "min": 20, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 45 }, { "color": "red", "value": 55 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 16 }, "id": 1, "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg(smartctl_device_temperature{monitor=\"$monitor\"} * on(monitor, device) group_left(interface,serial_number,model_name) smartctl_device) by (monitor,device,model_name) and on(monitor, device) (smartctl_device_attribute{attribute_name=\"Start_Stop_Count\", attribute_value_type=\"raw\"} > 0)", "format": "time_series", "hide": false, "instant": false, "interval": "1m", "intervalFactor": 1, "legendFormat": "{{device}}", "refId": "B" } ], "title": "HDD Disk Temperature", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "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": "area" } }, "decimals": 0, "links": [], "mappings": [], "min": 20, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 55 }, { "color": "red", "value": 60 } ] }, "unit": "celsius" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 16 }, "id": 15, "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "avg(smartctl_device_temperature{monitor=\"$monitor\"} * on(monitor, device) group_left(interface,serial_number,model_name) smartctl_device) by (monitor,device,model_name) unless on(monitor, device) (smartctl_device_attribute{attribute_name=\"Start_Stop_Count\", attribute_value_type=\"raw\"} > 0)", "format": "time_series", "hide": false, "instant": false, "interval": "1m", "intervalFactor": 1, "legendFormat": "{{device}}", "refId": "B" } ], "title": "SSD Disk Temperature", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "normal" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 24 }, "id": 18, "options": { "legend": { "calcs": [ "delta", "lastNotNull" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Delta", "sortDesc": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "node_disk_written_bytes_total{monitor=\"$monitor\"} > 0", "legendFormat": "{{device}}", "range": true, "refId": "A" } ], "title": "Data Written Total", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "binBps" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 24 }, "id": 17, "options": { "legend": { "calcs": [ "mean" ], "displayMode": "table", "placement": "right", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "hideZeros": false, "mode": "multi", "sort": "desc" } }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "rate(node_disk_written_bytes_total{monitor=\"$monitor\"}[$__rate_interval]) > 0", "legendFormat": "{{device}}", "range": true, "refId": "A" } ], "title": "Write Rate", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false, "minWidth": 150 }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Value #A" }, "properties": [ { "id": "displayName", "value": "Power On Time" }, { "id": "unit", "value": "s" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" }, { "id": "custom.width", "value": 160 } ] }, { "matcher": { "id": "byName", "options": "model_name" }, "properties": [ { "id": "displayName", "value": "Device Model" }, { "id": "custom.align" } ] }, { "matcher": { "id": "byName", "options": "device" }, "properties": [ { "id": "displayName", "value": "Device" }, { "id": "custom.width", "value": 100 } ] }, { "matcher": { "id": "byName", "options": "Value #B" }, "properties": [ { "id": "displayName", "value": "Power Cycles" }, { "id": "custom.width", "value": 160 } ] }, { "matcher": { "id": "byName", "options": "instance" }, "properties": [ { "id": "custom.hidden", "value": true } ] }, { "matcher": { "id": "byName", "options": "Time" }, "properties": [ { "id": "custom.hidden", "value": true } ] } ] }, "gridPos": { "h": 10, "w": 12, "x": 0, "y": 32 }, "id": 10, "interval": "1h", "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": true, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Power On Time" } ] }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "max(last_over_time(smartctl_device_power_on_seconds{monitor=\"$monitor\"}[$horizon]) * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device[$horizon])) by (monitor, device, model_name)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "__auto", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "max(last_over_time(smartctl_device_power_cycle_count{monitor=\"$monitor\"}[$horizon]) * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device[$horizon])) by (monitor, device, model_name)", "format": "table", "hide": false, "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "Power Cycles", "refId": "B" } ], "title": "Disk Lifetime", "transformations": [ { "id": "merge", "options": { "reducers": [] } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Total Written" }, "properties": [ { "id": "displayName", "value": "Total Written" }, { "id": "unit", "value": "bytes" }, { "id": "decimals", "value": 2 }, { "id": "custom.align" }, { "id": "custom.width", "value": 123 } ] }, { "matcher": { "id": "byName", "options": "Time" }, "properties": [ { "id": "custom.hidden", "value": true } ] }, { "matcher": { "id": "byName", "options": "model_name" }, "properties": [ { "id": "displayName", "value": "Device Model" } ] }, { "matcher": { "id": "byName", "options": "device" }, "properties": [ { "id": "displayName", "value": "Device" }, { "id": "custom.width", "value": 100 } ] }, { "matcher": { "id": "byName", "options": "serial_number" }, "properties": [ { "id": "displayName", "value": "Serial Number" }, { "id": "custom.width", "value": 177 } ] }, { "matcher": { "id": "byName", "options": "instance" }, "properties": [ { "id": "custom.hidden", "value": true } ] } ] }, "gridPos": { "h": 10, "w": 12, "x": 12, "y": 32 }, "id": 3, "options": { "cellHeight": "sm", "footer": { "countRows": false, "enablePagination": true, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Total Written" } ] }, "pluginVersion": "11.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "expr": "max(smartctl_device_bytes_written{monitor=\"$monitor\"} * on(monitor, device) group_left(interface,serial_number,model_family,model_name) smartctl_device) by (device, monitor, model_name, serial_number)", "format": "table", "instant": true, "interval": "", "intervalFactor": 1, "legendFormat": "__auto", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "max(last_over_time(smartctl_device_attribute{monitor=\"$monitor\", attribute_name=\"Lifetime_Writes_GiB\", attribute_value_type=\"raw\"}[$horizon]) * 1000000000 * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device[$horizon])) by (device, monitor, model_name, serial_number)\n", "format": "table", "hide": false, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", "exemplar": false, "expr": "max((last_over_time(smartctl_device_attribute{monitor=\"$monitor\", attribute_name=\"Total_LBAs_Written\", attribute_value_type=\"raw\"}[$horizon]) * on (monitor,device) last_over_time(smartctl_device_block_size{monitor=\"$monitor\",blocks_type=\"physical\"}[$horizon])) * on(monitor, device) group_left(interface,serial_number,model_family,model_name) present_over_time(smartctl_device[$horizon])) by (device, monitor, model_name, serial_number)", "format": "table", "hide": false, "instant": true, "legendFormat": "__auto", "range": false, "refId": "C" } ], "title": "Total Data Written on SSDs", "transformations": [ { "id": "merge", "options": { "reducers": [] } }, { "id": "calculateField", "options": { "alias": "Total Written", "binary": { "left": { "fixed": "" }, "right": { "fixed": "" } }, "mode": "reduceRow", "reduce": { "include": [ "Value #B", "Value #A", "Value #C" ], "reducer": "sum" }, "replaceFields": false, "window": { "reducer": "mean", "windowAlignment": "trailing", "windowSize": 0.1, "windowSizeMode": "percentage" } } }, { "id": "filterFieldsByName", "options": { "include": { "names": [ "Time", "device", "instance", "model_name", "serial_number", "Total Written" ] } } } ], "type": "table" } ], "refresh": "1m", "schemaVersion": 40, "tags": [ "system" ], "templating": { "list": [ { "current": {}, "hide": 2, "label": "prometheus", "name": "DS_PROMETHEUS", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" }, { "allowCustomValue": false, "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(smartctl_version,monitor)", "includeAll": false, "label": "Monitor", "name": "monitor", "options": [], "query": { "qryType": 1, "query": "label_values(smartctl_version,monitor)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" }, { "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "text": "1d", "value": "1d" }, "description": "", "label": "Time Horizon", "name": "horizon", "options": [ { "selected": false, "text": "1m", "value": "1m" }, { "selected": false, "text": "10m", "value": "10m" }, { "selected": false, "text": "30m", "value": "30m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "12h", "value": "12h" }, { "selected": true, "text": "1d", "value": "1d" }, { "selected": false, "text": "7d", "value": "7d" }, { "selected": false, "text": "14d", "value": "14d" }, { "selected": false, "text": "30d", "value": "30d" } ], "query": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "refresh": 2, "type": "interval" }, { "allowCustomValue": false, "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(node_filesystem_size_bytes{monitor=\"$monitor\"},mountpoint)", "includeAll": true, "label": "Mountpoint", "multi": true, "name": "mountpoint", "options": [], "query": { "qryType": 1, "query": "label_values(node_filesystem_size_bytes{monitor=\"$monitor\"},mountpoint)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "type": "query" } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": { "refresh_intervals": [ "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "America/Los_Angeles", "title": "Storage", "uid": "deekq8zqe72tcb", "version": 3, "weekStart": "" }