{ "uid": "node-details-v2", "title": "Node Details - Full Metrics", "tags": [ "node-exporter", "detailed", "infrastructure" ], "timezone": "browser", "schemaVersion": 38, "version": 1, "refresh": "30s", "time": { "from": "now-1h", "to": "now" }, "templating": { "list": [ { "current": { "selected": false, "text": "prometheus", "value": "prometheus" }, "hide": 0, "includeAll": false, "label": "Data Source", "multi": false, "name": "datasource", "options": [], "query": "prometheus", "refresh": 1, "regex": "", "skipUrlSync": false, "type": "datasource" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "definition": "label_values(node_uname_info, job)", "hide": 0, "includeAll": false, "label": "Host", "multi": false, "name": "job", "options": [], "query": "label_values(node_uname_info, job)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "definition": "label_values(node_uname_info{job=\"$job\"}, instance)", "hide": 0, "includeAll": false, "label": "Instance", "multi": false, "name": "instance", "options": [], "query": "label_values(node_uname_info{job=\"$job\"}, instance)", "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "type": "query" } ] }, "panels": [ { "id": 1, "type": "row", "title": "\ud83d\udcca Quick Stats", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "collapsed": false }, { "id": 2, "type": "stat", "title": "Uptime", "gridPos": { "h": 4, "w": 4, "x": 0, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "s", "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } } }, "options": { "colorMode": "value", "graphMode": "none", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "node_time_seconds{job=\"$job\",instance=\"$instance\"} - node_boot_time_seconds{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Uptime", "refId": "A" } ] }, { "id": 3, "type": "stat", "title": "CPU Cores", "gridPos": { "h": 4, "w": 3, "x": 4, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "thresholds": { "mode": "absolute", "steps": [ { "color": "blue", "value": null } ] } } }, "options": { "colorMode": "value", "graphMode": "none", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "count(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"idle\"})", "legendFormat": "Cores", "refId": "A" } ] }, { "id": 4, "type": "stat", "title": "Total RAM", "gridPos": { "h": 4, "w": 3, "x": 7, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "bytes", "thresholds": { "mode": "absolute", "steps": [ { "color": "purple", "value": null } ] } } }, "options": { "colorMode": "value", "graphMode": "none", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "node_memory_MemTotal_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "RAM", "refId": "A" } ] }, { "id": 5, "type": "gauge", "title": "CPU", "gridPos": { "h": 4, "w": 3, "x": 10, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "min": 0, "max": 100, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 60 }, { "color": "red", "value": 80 } ] } } }, "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "100 - (avg(rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"idle\"}[5m])) * 100)", "legendFormat": "CPU", "refId": "A" } ] }, { "id": 6, "type": "gauge", "title": "Memory", "gridPos": { "h": 4, "w": 3, "x": 13, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "min": 0, "max": 100, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 85 } ] } } }, "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "(1 - (node_memory_MemAvailable_bytes{job=\"$job\",instance=\"$instance\"} / node_memory_MemTotal_bytes{job=\"$job\",instance=\"$instance\"})) * 100", "legendFormat": "Memory", "refId": "A" } ] }, { "id": 7, "type": "gauge", "title": "Disk /", "gridPos": { "h": 4, "w": 3, "x": 16, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "min": 0, "max": 100, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 85 } ] } } }, "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "100 - ((node_filesystem_avail_bytes{job=\"$job\",instance=\"$instance\",mountpoint=\"/\",fstype!=\"rootfs\"} / node_filesystem_size_bytes{job=\"$job\",instance=\"$instance\",mountpoint=\"/\",fstype!=\"rootfs\"}) * 100)", "legendFormat": "Disk", "refId": "A" } ] }, { "id": 8, "type": "stat", "title": "Load 1m", "gridPos": { "h": 4, "w": 2, "x": 19, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 2 }, { "color": "red", "value": 4 } ] } } }, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "node_load1{job=\"$job\",instance=\"$instance\"}", "legendFormat": "1m", "refId": "A" } ] }, { "id": 9, "type": "stat", "title": "Load 5m", "gridPos": { "h": 4, "w": 2, "x": 21, "y": 1 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "decimals": 2, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 2 }, { "color": "red", "value": 4 } ] } } }, "options": { "colorMode": "value", "graphMode": "area", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "node_load5{job=\"$job\",instance=\"$instance\"}", "legendFormat": "5m", "refId": "A" } ] }, { "id": 10, "type": "row", "title": "\ud83d\udda5\ufe0f CPU Details", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 }, "collapsed": false }, { "id": 11, "type": "timeseries", "title": "CPU Usage Breakdown", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 6 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "custom": { "fillOpacity": 50, "stacking": { "mode": "normal", "group": "A" } } } }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean", "max" ] } }, "targets": [ { "expr": "avg(rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"user\"}[5m])) * 100", "legendFormat": "User", "refId": "A" }, { "expr": "avg(rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"system\"}[5m])) * 100", "legendFormat": "System", "refId": "B" }, { "expr": "avg(rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"iowait\"}[5m])) * 100", "legendFormat": "IOWait", "refId": "C" }, { "expr": "avg(rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"steal\"}[5m])) * 100", "legendFormat": "Steal", "refId": "D" } ] }, { "id": 12, "type": "timeseries", "title": "CPU Per Core", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "max": 100, "min": 0 } }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean" ] } }, "targets": [ { "expr": "100 - (rate(node_cpu_seconds_total{job=\"$job\",instance=\"$instance\",mode=\"idle\"}[5m]) * 100)", "legendFormat": "CPU {{cpu}}", "refId": "A" } ] }, { "id": 20, "type": "row", "title": "\ud83e\udde0 Memory Details", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 }, "collapsed": false }, { "id": 21, "type": "timeseries", "title": "Memory Usage", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "bytes", "custom": { "fillOpacity": 30, "stacking": { "mode": "normal", "group": "A" } } } }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean" ] } }, "targets": [ { "expr": "node_memory_MemTotal_bytes{job=\"$job\",instance=\"$instance\"} - node_memory_MemAvailable_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Used", "refId": "A" }, { "expr": "node_memory_Buffers_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Buffers", "refId": "B" }, { "expr": "node_memory_Cached_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Cached", "refId": "C" }, { "expr": "node_memory_MemFree_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Free", "refId": "D" } ] }, { "id": 22, "type": "timeseries", "title": "Swap Usage", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "bytes" } }, "targets": [ { "expr": "node_memory_SwapTotal_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Total", "refId": "A" }, { "expr": "node_memory_SwapTotal_bytes{job=\"$job\",instance=\"$instance\"} - node_memory_SwapFree_bytes{job=\"$job\",instance=\"$instance\"}", "legendFormat": "Used", "refId": "B" } ] }, { "id": 30, "type": "row", "title": "\ud83d\udcbe Disk Details", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "collapsed": false }, { "id": 31, "type": "bargauge", "title": "Disk Space Usage", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 24 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "percent", "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 85 } ] } } }, "options": { "displayMode": "gradient", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ] } }, "targets": [ { "expr": "100 - ((node_filesystem_avail_bytes{job=\"$job\",instance=\"$instance\",fstype!~\"tmpfs|overlay|squashfs\"} / node_filesystem_size_bytes{job=\"$job\",instance=\"$instance\",fstype!~\"tmpfs|overlay|squashfs\"}) * 100)", "legendFormat": "{{mountpoint}}", "refId": "A" } ] }, { "id": 32, "type": "timeseries", "title": "Disk I/O", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 24 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "Bps" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": ".*Write.*" }, "properties": [ { "id": "custom.transform", "value": "negative-Y" } ] } ] }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean", "max" ] } }, "targets": [ { "expr": "rate(node_disk_read_bytes_total{job=\"$job\",instance=\"$instance\",device!~\"loop.*|dm-.*\"}[5m])", "legendFormat": "{{device}} Read", "refId": "A" }, { "expr": "rate(node_disk_written_bytes_total{job=\"$job\",instance=\"$instance\",device!~\"loop.*|dm-.*\"}[5m])", "legendFormat": "{{device}} Write", "refId": "B" } ] }, { "id": 40, "type": "row", "title": "\ud83c\udf10 Network Details", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 32 }, "collapsed": false }, { "id": 41, "type": "timeseries", "title": "Network Traffic", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 33 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "bps" }, "overrides": [ { "matcher": { "id": "byRegexp", "options": ".*TX.*" }, "properties": [ { "id": "custom.transform", "value": "negative-Y" } ] } ] }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean", "max" ] } }, "targets": [ { "expr": "rate(node_network_receive_bytes_total{job=\"$job\",instance=\"$instance\",device!~\"lo|docker.*|br-.*|veth.*\"}[5m]) * 8", "legendFormat": "{{device}} RX", "refId": "A" }, { "expr": "rate(node_network_transmit_bytes_total{job=\"$job\",instance=\"$instance\",device!~\"lo|docker.*|br-.*|veth.*\"}[5m]) * 8", "legendFormat": "{{device}} TX", "refId": "B" } ] }, { "id": 42, "type": "timeseries", "title": "Network Errors", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 33 }, "datasource": { "type": "prometheus", "uid": "eeyq1w1zddtkwb" }, "fieldConfig": { "defaults": { "unit": "pps" } }, "options": { "legend": { "displayMode": "table", "placement": "right", "calcs": [ "mean" ] } }, "targets": [ { "expr": "rate(node_network_receive_errs_total{job=\"$job\",instance=\"$instance\",device!~\"lo|docker.*|br-.*|veth.*\"}[5m])", "legendFormat": "{{device}} RX Errors", "refId": "A" }, { "expr": "rate(node_network_transmit_errs_total{job=\"$job\",instance=\"$instance\",device!~\"lo|docker.*|br-.*|veth.*\"}[5m])", "legendFormat": "{{device}} TX Errors", "refId": "B" } ] } ], "id": null }