From f05c4d4ab69102f9917acc5da6024d4e8a089087 Mon Sep 17 00:00:00 2001 From: Ricardo F Date: Wed, 13 Feb 2019 19:06:46 +0100 Subject: [PATCH] Monitoring filesystem fill up time #29 --- prometheus/node-exporter-full.json | 60 ++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a/prometheus/node-exporter-full.json b/prometheus/node-exporter-full.json index dc13ca9..9dfff61 100644 --- a/prometheus/node-exporter-full.json +++ b/prometheus/node-exporter-full.json @@ -33,6 +33,12 @@ "id": "singlestat", "name": "Singlestat", "version": "" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" } ], "annotations": { @@ -2529,6 +2535,54 @@ "show": false } ] + }, + { + "columns": [ + { + "text": "Current", + "value": "current" + } + ], + "filterNull": false, + "fontSize": "100%", + "id": 261, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 1, + "desc": false + }, + "span": 6, + "styles": [ + { + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "number", + "unit": "s" + } + ], + "targets": [ + { + "expr": "(node_filesystem_size_bytes{instance=~\"$node:$port\",job=~\"$job\",device!~'rootfs'} - node_filesystem_avail_bytes{instance=~\"$node:$port\",job=~\"$job\",device!~'rootfs'}) / deriv(node_filesystem_avail_bytes{instance=~\"$node:$port\",job=~\"$job\",device!~'rootfs'}[3d]) > 0", + "intervalFactor": 2, + "legendFormat": "{{mountpoint}}", + "refId": "A", + "step": 240 + } + ], + "timeFrom": null, + "title": "FileSystem Fill Up Time", + "transform": "timeseries_aggregations", + "type": "table" } ], "repeat": null, @@ -4216,7 +4270,7 @@ "titleSize": "h6" }, { - "collapse": false, + "collapse": true, "height": "375", "panels": [ { @@ -20009,5 +20063,5 @@ }, "timezone": "browser", "title": "Node Exporter Full", - "version": 62 -} \ No newline at end of file + "version": 1 +}