-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need a dashboard #64
Comments
I made one using autograf
```
{
|
@Lusitaniae I imported this json file and the result I get is No data |
I fixed above auto-generated dashboard a bit, seems to work for me with #133 (also someone please edit above comment with {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 14,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 57,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "available",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"description": "Available spare",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 1
},
"id": 1,
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "smartctl_device_available_spare{job=~'$job',instance=~'$instance', device!~\"/dev/s.*\"}",
"format": "time_series",
"range": true,
"refId": "available_spare"
}
],
"title": "available_spare",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 58,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "critical",
"type": "row"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Critical warning counter",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 9
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_critical_warning{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "critical_warning"
}
],
"title": "critical_warning",
"type": "timeseries"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 59,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "A summary of the pause duration of garbage collection cycles.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 17
},
"id": 3,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_gc_duration_seconds{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_gc_duration_seconds"
}
],
"title": "go_gc_duration_seconds",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of OS threads created.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 17
},
"id": 4,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_threads{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_threads"
}
],
"title": "go_threads",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of goroutines that currently exist.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 24
},
"id": 5,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_goroutines{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_goroutines"
}
],
"title": "go_goroutines",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Information about the Go environment.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 24
},
"id": 6,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_info{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_info"
}
],
"title": "go_info",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "go",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 60,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Total number of frees.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 18
},
"id": 7,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(go_memstats_frees_total{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "go_memstats_frees_total"
}
],
"title": "go_memstats_frees_total",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Total number of mallocs.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 18
},
"id": 8,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(go_memstats_mallocs_total{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "go_memstats_mallocs_total"
}
],
"title": "go_memstats_mallocs_total",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes used for mcache structures obtained from system.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 25
},
"id": 9,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_mcache_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_mcache_sys_bytes"
}
],
"title": "go_memstats_mcache_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes in use by mcache structures.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": []
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 25
},
"id": 10,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_mcache_inuse_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_mcache_inuse_bytes"
}
],
"title": "go_memstats_mcache_inuse_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of seconds since 1970 of last garbage collection.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 32
},
"id": 11,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_last_gc_time_seconds{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_last_gc_time_seconds"
}
],
"title": "go_memstats_last_gc_time_seconds",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes used for other system allocations.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 32
},
"id": 12,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_other_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_other_sys_bytes"
}
],
"title": "go_memstats_other_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes used for mspan structures obtained from system.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 39
},
"id": 13,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_mspan_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_mspan_sys_bytes"
}
],
"title": "go_memstats_mspan_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes in use by mspan structures.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 39
},
"id": 14,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_mspan_inuse_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_mspan_inuse_bytes"
}
],
"title": "go_memstats_mspan_inuse_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes when next garbage collection will take place.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 46
},
"id": 15,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_next_gc_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_next_gc_bytes"
}
],
"title": "go_memstats_next_gc_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes obtained from system for stack allocator.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 46
},
"id": 16,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_stack_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_stack_sys_bytes"
}
],
"title": "go_memstats_stack_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes in use by the stack allocator.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 53
},
"id": 17,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_stack_inuse_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_stack_inuse_bytes"
}
],
"title": "go_memstats_stack_inuse_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Total number of pointer lookups.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 53
},
"id": 18,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(go_memstats_lookups_total{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "go_memstats_lookups_total"
}
],
"title": "go_memstats_lookups_total",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes allocated and still in use.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 60
},
"id": 19,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_alloc_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_alloc_bytes"
}
],
"title": "go_memstats_alloc_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes obtained from system.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 60
},
"id": 20,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_sys_bytes"
}
],
"title": "go_memstats_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes used for garbage collection system metadata.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 67
},
"id": 21,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_gc_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_gc_sys_bytes"
}
],
"title": "go_memstats_gc_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of bytes used by the profiling bucket hash table.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 67
},
"id": 22,
"isNew": false,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_buck_hash_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_buck_hash_sys_bytes"
}
],
"title": "go_memstats_buck_hash_sys_bytes",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "go_memstats",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 61,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes released to OS.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 19
},
"id": 23,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_released_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_released_bytes"
}
],
"title": "go_memstats_heap_released_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes that are in use.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 19
},
"id": 24,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_inuse_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_inuse_bytes"
}
],
"title": "go_memstats_heap_inuse_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of allocated objects.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 26
},
"id": 25,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_objects{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_objects"
}
],
"title": "go_memstats_heap_objects",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes waiting to be used.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 26
},
"id": 26,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_idle_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_idle_bytes"
}
],
"title": "go_memstats_heap_idle_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes obtained from system.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 33
},
"id": 27,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_sys_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_sys_bytes"
}
],
"title": "go_memstats_heap_sys_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of heap bytes allocated and still in use.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 33
},
"id": 28,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "go_memstats_heap_alloc_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "go_memstats_heap_alloc_bytes"
}
],
"title": "go_memstats_heap_alloc_bytes",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "go_memstats_heap",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 19
},
"id": 62,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Media errors counter",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 20
},
"id": 29,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_media_errors{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "media_errors"
}
],
"title": "media_errors",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "media",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 20
},
"id": 63,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Start time of the process since unix epoch in seconds.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 21
},
"id": 30,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_start_time_seconds{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_start_time_seconds"
}
],
"title": "process_start_time_seconds",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Number of open file descriptors.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 21
},
"id": 31,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_open_fds{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_open_fds"
}
],
"title": "process_open_fds",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Total user and system CPU time spent in seconds.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 28
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_process_cpu_seconds_total{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "process_cpu_seconds_total"
}
],
"title": "process_cpu_seconds_total",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Virtual memory size in bytes.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 28
},
"id": 33,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_virtual_memory_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_virtual_memory_bytes"
}
],
"title": "process_virtual_memory_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Maximum amount of virtual memory available in bytes.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 35
},
"id": 34,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_virtual_memory_max_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_virtual_memory_max_bytes"
}
],
"title": "process_virtual_memory_max_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Resident memory size in bytes.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 35
},
"id": 35,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_resident_memory_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_resident_memory_bytes"
}
],
"title": "process_resident_memory_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Maximum number of open file descriptors.",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 42
},
"id": 36,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_process_max_fds{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "process_max_fds"
}
],
"title": "process_max_fds",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "process",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 64,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Smart status",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 22
},
"id": 37,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_smart_status{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smart_status"
}
],
"title": "smart_status",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "smart",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 22
},
"id": 65,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "smartctl version",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 23
},
"id": 38,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_version{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_version"
}
],
"title": "smartctl_version",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "smartctl",
"type": "row"
},
{
"collapsed": true,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 23
},
"id": 66,
"panels": [
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device write percentage used",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 24
},
"id": 39,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_percentage_used{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_percentage_used"
}
],
"title": "smartctl_device_percentage_used",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device interface speed, bits per second",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 24
},
"id": 40,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_interface_speed{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_interface_speed"
}
],
"title": "smartctl_device_interface_speed",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Normalized percentage (0 to 100%) of the remaining spare capacity available",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 31
},
"id": 41,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_available_spare{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_available_spare"
}
],
"title": "smartctl_device_available_spare",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device status",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 31
},
"id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_status{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_status"
}
],
"title": "smartctl_device_status",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device temperature celsius",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 38
},
"id": 43,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_temperature{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_temperature"
}
],
"title": "smartctl_device_temperature",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "General smart status",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 38
},
"id": 44,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_smart_status{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_smart_status"
}
],
"title": "smartctl_device_smart_status",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device power on seconds",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 45
},
"id": 45,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_power_on_seconds{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_power_on_seconds"
}
],
"title": "smartctl_device_power_on_seconds",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device power cycle count",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 45
},
"id": 46,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_power_cycle_count{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_power_cycle_count"
}
],
"title": "smartctl_device_power_cycle_count",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Contains the number of Error Information log entries over the life of the controller",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 52
},
"id": 47,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_num_err_log_entries{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_num_err_log_entries"
}
],
"title": "smartctl_device_num_err_log_entries",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device block size",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 52
},
"id": 48,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_block_size{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_block_size"
}
],
"title": "smartctl_device_block_size",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Exit status of smartctl on device",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 59
},
"id": 49,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_smartctl_exit_status{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_smartctl_exit_status"
}
],
"title": "smartctl_device_smartctl_exit_status",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device capacity in bytes",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 59
},
"id": 50,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_capacity_bytes{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_capacity_bytes"
}
],
"title": "smartctl_device_capacity_bytes",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device capacity in blocks",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 66
},
"id": 51,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_capacity_blocks{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_capacity_blocks"
}
],
"title": "smartctl_device_capacity_blocks",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "Device attributes",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 66
},
"id": 52,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "smartctl_device_attribute{job=~'$job',instance=~'$instance'}",
"format": "time_series",
"refId": "smartctl_device_attribute"
}
],
"title": "smartctl_device_attribute",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "This field indicates critical warnings for the state of the controller",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 73
},
"id": 53,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_critical_warning{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_critical_warning"
}
],
"title": "smartctl_device_critical_warning",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"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",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 73
},
"id": 54,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_media_errors{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_media_errors"
}
],
"title": "smartctl_device_media_errors",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 80
},
"id": 55,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_bytes_written{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_bytes_written"
}
],
"title": "smartctl_device_bytes_written",
"type": "timeseries"
},
{
"datasource": {
"uid": "${datasource}"
},
"description": "",
"editable": false,
"error": false,
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "green",
"mode": "palette-classic",
"seriesBy": "last"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "",
"spanNulls": false,
"stacking": {
"group": "",
"mode": ""
},
"thresholdsStyle": {
"mode": ""
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 80
},
"id": 56,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"uid": "${datasource}"
},
"expr": "rate(smartctl_device_bytes_read{job=~'$job',instance=~'$instance'}[3m])",
"format": "time_series",
"refId": "smartctl_device_bytes_read"
}
],
"title": "smartctl_device_bytes_read",
"type": "timeseries"
}
],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"refId": "A"
}
],
"title": "smartctl_device",
"type": "row"
}
],
"refresh": "1m",
"schemaVersion": 38,
"style": "dark",
"tags": [
"autograf",
"generated"
],
"templating": {
"list": [
{
"allFormat": "",
"allValue": "",
"current": {
"selected": false,
"text": "VictoriaMetrics",
"value": "VictoriaMetrics"
},
"hide": 0,
"includeAll": false,
"label": "datasource",
"multi": false,
"multiFormat": "",
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "//",
"skipUrlSync": false,
"sort": 0,
"type": "datasource"
},
{
"current": {
"selected": false,
"text": "smartctl-exporter",
"value": "smartctl-exporter"
},
"hide": 0,
"includeAll": false,
"label": "job",
"multi": false,
"name": "job",
"options": [
{
"selected": true,
"text": "smartctl-exporter",
"value": "smartctl-exporter"
}
],
"query": "smartctl-exporter",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"allFormat": "",
"allValue": ".*",
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"definition": "label_values(smartctl_device,instance)",
"hide": 0,
"includeAll": true,
"label": "instance",
"multi": true,
"multiFormat": "",
"name": "instance",
"options": [],
"query": {
"query": "label_values(smartctl_device,instance)",
"refId": "PrometheusVariableQueryEditor-VariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 1,
"type": "query"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "SMART autogenerated",
"uid": "VY1NDa44k",
"version": 4,
"weekStart": ""
} |
Added details |
The above auto generated dashboard uses rates on a bunch of the metrics, which may be hiding errors unless you happen to look at it at the right time. Just wanted to call it out in case anyone is using it. Here's what I came up with using the auto generated dashboard as a base, I may or may not have removed stuff that should have been kept, not saying this is perfect at all. I also have no idea what to do with the attributes metric, although I feel there's important stuff in there. As a caveat I only have one device per node, you may have to tweak the display name to include the device name if you have more than one : Dashboard
|
btw first version of alerts published at https://samber.github.io/awesome-prometheus-alerts/rules#s.m.a.r.t-device-monitoring-1 |
No dashboard?
Doesn't the author plan to make a grafana dashboard? @antifuchs
The text was updated successfully, but these errors were encountered: