prometheus-community / smartctl_exporter

Export smartctl statistics to prometheus
Apache License 2.0
302 stars 88 forks source link

need a dashboard #64

Open happinesslijian opened 2 years ago

happinesslijian commented 2 years ago

No dashboard? Doesn't the author plan to make a grafana dashboard? @antifuchs

Lusitaniae commented 2 years ago

I made one using autograf

``` { "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": 1318, "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, "isNew": false, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "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, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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, "isNew": false, "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, "isNew": false, "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, "isNew": false, "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, "isNew": false, "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, "isNew": false, "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, "isNew": false, "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": false, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 19 }, "id": 62, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "refId": "A" } ], "title": "media", "type": "row" }, { "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, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "media_errors{job=~'$job',instance=~'$instance'}", "format": "time_series", "refId": "media_errors" } ], "title": "media_errors", "type": "timeseries" }, { "collapsed": true, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, "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" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 28 }, "id": 30, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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" }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 28 }, "id": 31, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 35 }, "id": 32, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "rate(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" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 35 }, "id": 33, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 42 }, "id": 34, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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" }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 42 }, "id": 35, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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" }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 49 }, "id": 36, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "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": false, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 28 }, "id": 64, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "refId": "A" } ], "title": "smart", "type": "row" }, { "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": 29 }, "id": 37, "isNew": false, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "expr": "smart_status{job=~'$job',instance=~'$instance'}", "format": "time_series", "refId": "smart_status" } ], "title": "smart_status", "type": "timeseries" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 36 }, "id": 65, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "refId": "A" } ], "title": "smartctl", "type": "row" }, { "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": 37 }, "id": 38, "isNew": false, "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" }, { "collapsed": false, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 44 }, "id": 66, "panels": [], "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "refId": "A" } ], "title": "smartctl_device", "type": "row" }, { "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": 45 }, "id": 39, "isNew": false, "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": 45 }, "id": 40, "isNew": false, "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": 52 }, "id": 41, "isNew": false, "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": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": false, "viz": true } } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 52 }, "id": 42, "isNew": false, "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": 59 }, "id": 43, "isNew": false, "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": [ { "__systemRef": "hideSeriesFrom", "matcher": { "id": "byNames", "options": { "mode": "exclude", "names": [], "prefix": "All except:", "readOnly": true } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": false, "tooltip": false, "viz": true } } ] } ] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 59 }, "id": 44, "isNew": false, "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": 66 }, "id": 45, "isNew": false, "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": 66 }, "id": 46, "isNew": false, "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": 73 }, "id": 47, "isNew": false, "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": 73 }, "id": 48, "isNew": false, "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": 80 }, "id": 49, "isNew": false, "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": 80 }, "id": 50, "isNew": false, "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": 87 }, "id": 51, "isNew": false, "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": 87 }, "id": 52, "isNew": false, "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": 94 }, "id": 53, "isNew": false, "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": 94 }, "id": 54, "isNew": false, "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": 101 }, "id": 55, "isNew": false, "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": 101 }, "id": 56, "isNew": false, "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" } ], "refresh": "1m", "schemaVersion": 37, "style": "dark", "tags": [ "autograf", "generated" ], "templating": { "list": [ { "allFormat": "", "allValue": "", "current": { "selected": false, "text": "Prometheus", "value": "Prometheus" }, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "multiFormat": "", "name": "datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "//", "skipUrlSync": false, "sort": 0, "type": "datasource" }, { "current": { "selected": false, "text": "smart", "value": "smart" }, "hide": 0, "includeAll": false, "label": "job", "multi": false, "name": "job", "options": [ { "selected": true, "text": "smart", "value": "smart" } ], "query": "smart", "skipUrlSync": false, "type": "custom" }, { "allFormat": "", "allValue": ".*", "current": { }, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "definition": "label_values(smart_status, instance)", "hide": 0, "includeAll": true, "label": "instance", "multi": true, "multiFormat": "", "name": "instance", "options": [], "query": { "query": "label_values(smart_status, instance)", "refId": "StandardVariableQuery" }, "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": 7, "weekStart": "" } ```
happinesslijian commented 2 years ago

@Lusitaniae I imported this json file and the result I get is No data my metrics are normal image image image image Sorry, I don't know why there are no graphs in grafana

nazar-pc commented 1 year ago

I fixed above auto-generated dashboard a bit, seems to work for me with https://github.com/prometheus-community/smartctl_exporter/pull/133 (also someone please edit above comment with <details></details>.

```json { "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": "" } ```
Lusitaniae commented 1 year ago

Added details

Ulrar commented 10 months ago

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 ``` { "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": 29, "links": [], "liveNow": false, "panels": [ { "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 0 }, "id": 1, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_available_spare{job=~'$job',instance=~'$instance', device!~\"/dev/s.*\"}) by (instance, device)", "format": "time_series", "range": true, "refId": "available_spare" } ], "title": "available_spare", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 0 }, "id": 2, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_critical_warning{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "critical_warning" } ], "title": "critical_warning", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 7 }, "id": 29, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_media_errors{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "media_errors" } ], "title": "media_errors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 7 }, "id": 37, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_smart_status{job=~'$job',instance=~'$instance'}) by (device, instance)", "format": "time_series", "range": true, "refId": "smart_status" } ], "title": "smart_status", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 14 }, "id": 39, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_percentage_used{job=~'$job',instance=~'$instance'}) by (device, instance)", "format": "time_series", "range": true, "refId": "smartctl_device_percentage_used" } ], "title": "smartctl_device_percentage_used", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 14 }, "id": 40, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_interface_speed{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "smartctl_device_interface_speed" } ], "title": "smartctl_device_interface_speed", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 21 }, "id": 43, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_temperature{job=~'$job',instance=~'$instance'}) by (device, instance)", "format": "time_series", "range": true, "refId": "smartctl_device_temperature" } ], "title": "smartctl_device_temperature", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "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": 44, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_smart_status{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "smartctl_device_smart_status" } ], "title": "smartctl_device_smart_status", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 28 }, "id": 53, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_critical_warning{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "smartctl_device_critical_warning" } ], "title": "smartctl_device_critical_warning", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 28 }, "id": 47, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum by (device, instance) (smartctl_device_num_err_log_entries{job=~'$job',instance=~'$instance'})", "format": "time_series", "range": true, "refId": "smartctl_device_num_err_log_entries" } ], "title": "smartctl_device_num_err_log_entries", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "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": 55, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum by (device, instance) (rate(smartctl_device_bytes_written{job=~'$job',instance=~'$instance'}[3m]))", "format": "time_series", "range": true, "refId": "smartctl_device_bytes_written" } ], "title": "smartctl_device_bytes_written", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "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": 56, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum by (device, instance) (rate(smartctl_device_bytes_read{job=~'$job',instance=~'$instance'}[3m]))", "format": "time_series", "range": true, "refId": "smartctl_device_bytes_read" } ], "title": "smartctl_device_bytes_read", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "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": 54, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_media_errors{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "smartctl_device_media_errors" } ], "title": "smartctl_device_media_errors", "type": "timeseries" }, { "datasource": { "type": "prometheus", "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": "" } }, "displayName": "${__field.labels.instance}", "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 42 }, "id": 52, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "targets": [ { "datasource": { "uid": "${datasource}" }, "editorMode": "code", "expr": "sum(smartctl_device_attribute{job=~'$job',instance=~'$instance'}) by (instance, device)", "format": "time_series", "range": true, "refId": "smartctl_device_attribute" } ], "title": "smartctl_device_attribute", "type": "timeseries" } ], "refresh": "1m", "schemaVersion": 38, "style": "dark", "tags": [], "templating": { "list": [ { "allFormat": "", "allValue": "", "current": { "selected": false, "text": "prometheus", "value": "prometheus" }, "hide": 0, "includeAll": false, "label": "datasource", "multi": false, "multiFormat": "", "name": "datasource", "options": [], "query": "prometheus", "queryValue": "", "refresh": 1, "regex": "//", "skipUrlSync": false, "sort": 0, "type": "datasource" }, { "hide": 2, "label": "job", "name": "job", "query": "smartctl-exporter-prometheus-smartctl-exporter", "skipUrlSync": false, "type": "constant" }, { "allFormat": "", "allValue": ".*", "current": { "selected": true, "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": 9, "weekStart": "" } ```
cervajs commented 8 months ago

btw first version of alerts published at https://samber.github.io/awesome-prometheus-alerts/rules#s.m.a.r.t-device-monitoring-1