scale-catalog/stable/smartctl-exporter/2.10.13/dashboard.json
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

3722 lines
126 KiB
JSON

{
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"links": [],
"panels": [
{
"type": "row",
"title": "Overview",
"panels": [],
"collapsed": false,
"gridPos": {
"x": 0,
"y": 0,
"w": 24,
"h": 1
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_devices{instance=~\"$instance\"}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Devices count",
"gridPos": {
"x": 0,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_devices{instance=~\"$instance\"} - sum(smartctl_device{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Missing devices",
"gridPos": {
"x": 3,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_device_smartctl_exit_status{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Exit status",
"gridPos": {
"x": 6,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_device_num_err_log_entries{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Error log entries",
"gridPos": {
"x": 9,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_device_media_errors{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Media errors",
"gridPos": {
"x": 12,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_device_error_log_count{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "SMART error log count",
"gridPos": {
"x": 15,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(smartctl_device_critical_warning{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "Critical warnings",
"gridPos": {
"x": 18,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum(1 - smartctl_device_smart_status{instance=~\"$instance\"})",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "stat",
"title": "SMART failed",
"gridPos": {
"x": 21,
"y": 1,
"w": 3,
"h": 3
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
},
"unit": "short"
},
"overrides": []
},
"options": {
"reduceOptions": {
"values": false,
"calcs": ["lastNotNull"],
"fields": ""
},
"orientation": "auto",
"textMode": "auto",
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"text": {}
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device{instance=~\"$instance\"}",
"range": false,
"instant": true,
"format": "table",
"refId": "A"
}
],
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"__name__": true,
"Time": true,
"Value": true,
"instance": true,
"job": true
},
"indexByName": {
"device": 0,
"model_name": 1,
"form_factor": 2,
"serial_number": 3,
"protocol": 4,
"ata_version": 5,
"firmware_version": 6,
"ata_additional_product_id": 7,
"interface": 8,
"model_family": 9,
"sata_version": 10
},
"renameByName": {
"device": "Device",
"model_name": "Model name",
"form_factor": "Form factor",
"serial_number": "Serial number",
"protocol": "Protocol",
"ata_version": "ATA version",
"firmware_version": "Firmware version",
"ata_additional_product_id": "ATA additional product ID",
"interface": "Interface",
"model_family": "Model family",
"sata_version": "SATA version"
}
}
}
],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "table",
"title": "Device Info",
"gridPos": {
"x": 0,
"y": 4,
"w": 24,
"h": 8
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"options": {
"cellHeight": "md",
"frameIndex": -1,
"showHeader": true
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "label_keep(smartctl_device{instance=~\"$instance\"}, \"device\", \"model_name\")",
"range": false,
"instant": true,
"format": "table",
"refId": "DEVICE"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_temperature{instance=~\"$instance\", temperature_type=\"current\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "TEMP"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_smartctl_exit_status{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "EXIT"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_smart_status{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "PASSED"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_power_on_seconds{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "POWON"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_power_cycle_count{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "PCC"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_interface_speed{instance=~\"$instance\", speed_type=\"current\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "INTSPEED"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_capacity_bytes{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "CAPBYTES"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_capacity_blocks{instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "CAPBLOCKS"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_block_size{blocks_type=\"logical\", instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "BLKSIZELOG"
},
{
"editorMode": "code",
"expr": "label_keep(smartctl_device_block_size{blocks_type=\"physical\", instance=~\"$instance\"}, \"device\")",
"range": false,
"instant": true,
"format": "table",
"refId": "BLKSIZEPHY"
}
],
"transformations": [
{
"id": "joinByField",
"options": {
"byField": "device",
"mode": "outer"
}
},
{
"id": "filterFieldsByName",
"options": {
"include": {
"pattern": "(device|model_name|Value\\s.*)"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value #DEVICE": true
},
"indexByName": {},
"renameByName": {
"device": "Device",
"model_name": "Model name",
"Value #TEMP": "Temperature",
"Value #EXIT": "Exit status",
"Value #PASSED": "Passed",
"Value #POWON": "Power on seconds",
"Value #PCC": "Power Cycle Count",
"Value #INTSPEED": "Device interface speed",
"Value #CAPBYTES": "Capacity Bytes",
"Value #CAPBLOCKS": "Capacity Blocks",
"Value #BLKSIZELOG": "Block size (logical)",
"Value #BLKSIZEPHY": "Block size (physical)"
}
}
}
],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "table",
"title": "SMART overview",
"gridPos": {
"x": 0,
"y": 12,
"w": 24,
"h": 8
},
"fieldConfig": {
"defaults": {},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Temperature"
},
"properties": [
{
"id": "unit",
"value": "celsius"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Power on seconds"
},
"properties": [
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Device interface speed"
},
"properties": [
{
"id": "unit",
"value": "bps"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Capacity Bytes"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Capacity Blocks"
},
"properties": [
{
"id": "unit",
"value": "short"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Block size (logical)"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Block size (physical)"
},
"properties": [
{
"id": "unit",
"value": "bytes"
}
]
}
]
},
"options": {
"cellHeight": "md",
"frameIndex": -1,
"showHeader": true
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_attribute{instance=~\"$instance\"}",
"range": false,
"instant": true,
"format": "table",
"refId": "A"
}
],
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"__name__": true,
"Time": true,
"instance": true,
"job": true
},
"indexByName": {
"device": 0,
"attribute_id": 1,
"attribute_name": 2,
"attribute_value_type": 3,
"attribute_flags_long": 4,
"attribute_flags_short": 5,
"Value": 6
},
"renameByName": {
"device": "Device",
"attribute_flags_long": "Attribute flags (long)",
"attribute_flags_short": "Attribute flags (short)",
"attribute_id": "Attribute ID",
"attribute_name": "Attribute name",
"attribute_value_type": "Attribute value type"
}
}
}
],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "table",
"title": "SMART attributes",
"gridPos": {
"x": 0,
"y": 20,
"w": 24,
"h": 8
},
"fieldConfig": {
"defaults": {},
"overrides": []
},
"options": {
"cellHeight": "md",
"frameIndex": -1,
"showHeader": true
}
},
{
"type": "row",
"title": "Metrics",
"panels": [],
"collapsed": false,
"gridPos": {
"x": 0,
"y": 28,
"w": 24,
"h": 1
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_temperature{instance=~\"$instance\", temperature_type=\"current\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Temperature",
"gridPos": {
"x": 0,
"y": 29,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "celsius"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_smartctl_exit_status{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Smartctl exit status",
"gridPos": {
"x": 6,
"y": 29,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_smart_status{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "SMART passed",
"gridPos": {
"x": 12,
"y": 29,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_power_on_seconds{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Power on seconds",
"gridPos": {
"x": 18,
"y": 29,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "s"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_power_cycle_count{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Power cycle count",
"gridPos": {
"x": 0,
"y": 37,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_percentage_used{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Write percentage used",
"gridPos": {
"x": 6,
"y": 37,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_nvme_capacity_bytes{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "NVMe capacity bytes",
"gridPos": {
"x": 12,
"y": 37,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_num_err_log_entries{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Number of error log entries",
"description": "Contains the number of Error Information log entries over the life of the controller",
"gridPos": {
"x": 18,
"y": 37,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_media_errors{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Number of media errors",
"description": "Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field",
"gridPos": {
"x": 0,
"y": 45,
"w": 8,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_error_log_count{instance=~\"$instance\", error_log_type=\"summary\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "SMART error log count",
"gridPos": {
"x": 8,
"y": 45,
"w": 8,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_critical_warning{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Critical warnings for state of controller",
"gridPos": {
"x": 16,
"y": 45,
"w": 8,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_interface_speed{instance=~\"$instance\", speed_type=\"current\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Interface speed (current)",
"gridPos": {
"x": 0,
"y": 53,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bps"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_interface_speed{instance=~\"$instance\", speed_type=\"max\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Interface speed (max)",
"gridPos": {
"x": 12,
"y": 53,
"w": 12,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bps"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_capacity_bytes{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Capacity Bytes",
"gridPos": {
"x": 0,
"y": 61,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_capacity_blocks{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Capacity Blocks",
"gridPos": {
"x": 6,
"y": 61,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_bytes_written{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Bytes written",
"gridPos": {
"x": 12,
"y": 61,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_bytes_read{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Bytes read",
"gridPos": {
"x": 18,
"y": 61,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_block_size{blocks_type=\"logical\", instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Block size (logical)",
"gridPos": {
"x": 0,
"y": 69,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_block_size{blocks_type=\"physical\", instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Block size (physical)",
"gridPos": {
"x": 6,
"y": 69,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "bytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_available_spare_threshold{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Available spare threshold",
"description": "When the Available Spare falls below the threshold indicated in this field, an asynchronous event completion may occur. The value is indicated as a normalized percentage (0 to 100%)",
"gridPos": {
"x": 12,
"y": 69,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "percent"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "smartctl_device_available_spare{instance=~\"$instance\"}",
"legendFormat": "{{ device }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Available spare",
"description": "Normalized percentage (0 to 100%) of the remaining spare capacity available",
"gridPos": {
"x": 18,
"y": 69,
"w": 6,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "percent"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"type": "row",
"title": "Go Runtime Metrics",
"panels": [],
"collapsed": false,
"gridPos": {
"x": 0,
"y": 77,
"w": 24,
"h": 1
}
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (process_open_fds{instance=~\"$instance\"})",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "File Descriptors",
"gridPos": {
"x": 0,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (rate(process_cpu_seconds_total{instance=~\"$instance\"}[$__rate_interval]))",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "CPU Usage",
"gridPos": {
"x": 4,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (process_resident_memory_bytes{instance=~\"$instance\"}[$__rate_interval])",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Memory Usage",
"gridPos": {
"x": 8,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "decbytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "avg(go_memstats_stack_sys_bytes{instance=~\"$instance\"})",
"legendFormat": "sys",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_stack_inuse_bytes{instance=~\"$instance\"})",
"legendFormat": "inuse",
"range": true,
"instant": false,
"format": "time_series",
"refId": "B"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Stack Memory Usage",
"gridPos": {
"x": 12,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "decbytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "avg(go_memstats_heap_sys_bytes{instance=~\"$instance\"})",
"legendFormat": "sys",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_heap_idle_bytes{instance=~\"$instance\"})",
"legendFormat": "idle",
"range": true,
"instant": false,
"format": "time_series",
"refId": "B"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_heap_released_bytes{instance=~\"$instance\"})",
"legendFormat": "released",
"range": true,
"instant": false,
"format": "time_series",
"refId": "C"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_next_gc_bytes{instance=~\"$instance\"})",
"legendFormat": "next_gc",
"range": true,
"instant": false,
"format": "time_series",
"refId": "D"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_heap_inuse_bytes{instance=~\"$instance\"})",
"legendFormat": "inuse",
"range": true,
"instant": false,
"format": "time_series",
"refId": "E"
},
{
"editorMode": "code",
"expr": "avg(go_memstats_heap_alloc_bytes{instance=~\"$instance\"})",
"legendFormat": "alloc",
"range": true,
"instant": false,
"format": "time_series",
"refId": "F"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Heap Memory Usage",
"gridPos": {
"x": 16,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "decbytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "avg by (pod) (go_memstats_heap_objects{instance=~\"$instance\"})",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Heap Objects",
"gridPos": {
"x": 20,
"y": 78,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (go_threads{instance=~\"$instance\"})",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Threads",
"gridPos": {
"x": 0,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (go_goroutines{instance=~\"$instance\"})",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Goroutines",
"gridPos": {
"x": 4,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (rate(go_memstats_alloc_bytes_total{instance=~\"$instance\"}[$__rate_interval]))",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Go Alloc Rate",
"gridPos": {
"x": 8,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "Bps"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (go_memstats_alloc_bytes{instance=~\"$instance\"})",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Go Alloc Bytes",
"gridPos": {
"x": 12,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "decbytes"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (rate(go_gc_duration_seconds_count{instance=~\"$instance\"}[$__rate_interval]))",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Go GC Per Second",
"gridPos": {
"x": 16,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
},
{
"links": [],
"repeatDirection": "h",
"tags": [],
"targets": [
{
"editorMode": "code",
"expr": "sum by (pod) (rate(go_gc_duration_seconds_sum{instance=~\"$instance\"}[$__rate_interval]))",
"legendFormat": "{{ pod }}",
"range": true,
"instant": false,
"format": "time_series",
"refId": "A"
}
],
"transformations": [],
"transparent": false,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "timeseries",
"title": "Go GC Duration Seconds",
"gridPos": {
"x": 20,
"y": 86,
"w": 4,
"h": 8
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": true,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"unit": "s"
},
"overrides": []
},
"options": {
"legend": {
"calcs": ["mean", "max"],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"maxDataPoints": 100
}
],
"schemaVersion": 36,
"style": "dark",
"tags": ["smartctl"],
"timezone": "browser",
"description": "Dashboard for smartctl",
"time": {
"from": "now-6h",
"to": "now"
},
"title": "Smartctl",
"uid": "smartctl",
"version": 1,
"templating": {
"list": [
{
"multi": false,
"options": [],
"skipUrlSync": false,
"description": null,
"hide": 0,
"datasource": null,
"type": "datasource",
"label": "Prometheus",
"name": "DS_PROMETHEUS",
"query": "prometheus"
},
{
"multi": true,
"options": [],
"skipUrlSync": false,
"description": null,
"hide": 0,
"datasource": {
"uid": "${DS_PROMETHEUS}"
},
"type": "query",
"label": "Instance",
"name": "instance",
"query": "label_values(smartctl_version, instance)",
"includeAll": true,
"sort": 1,
"refresh": 2
}
]
}
}