{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "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" } ] }, "description": "Node resources overview provided from Prometheus nodeExporter metrics", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 13702, "graphTooltip": 0, "id": 2, "links": [], "liveNow": false, "panels": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "description": "- *Load* - CPU capasity used (load average for last 1 minute divided by CPU cores count)\n- *CPU* - CPU usage\n- *Memory* - memory usage\n- *Filesystem* - filesystem usage\n- *Disk read* - maximum among all disks read rate\n- *Dist write* - maximum among all disks write rate\n- *Net recv* - maximum among all NIC's receive rate\n- *Net trans* - maximum among all NIC's transmit rate\n- *Net sock* - used network sockets \n- *TCP estab* - TCP established connections\n- *TCP tw* - TCP sockets in TIME-WAIT status", "fieldConfig": { "defaults": { "custom": { "align": "left", "cellOptions": { "type": "auto" }, "filterable": false, "inspect": false, "minWidth": 50 }, "decimals": 0, "mappings": [], "max": 100, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "CPU" }, "properties": [ { "id": "unit", "value": "percent" }, { "id": "custom.cellOptions", "value": { "mode": "basic", "type": "gauge" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 70 }, { "color": "red", "value": 90 } ] } }, { "id": "custom.width", "value": 160 } ] }, { "matcher": { "id": "byName", "options": "Memory" }, "properties": [ { "id": "unit", "value": "percent" }, { "id": "custom.cellOptions", "value": { "mode": "basic", "type": "gauge" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 85 }, { "color": "red", "value": 98 } ] } }, { "id": "custom.width", "value": 170 } ] }, { "matcher": { "id": "byName", "options": "Filesystem" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "basic", "type": "gauge" } }, { "id": "unit", "value": "percent" }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 75 }, { "color": "red", "value": 90 } ] } }, { "id": "links", "value": [ { "targetBlank": true, "title": "Details", "url": "https://grafana.rcrtv.net/d/2UgUicaGk/node-exporter-full?viewPanel=280&orgId=1&from=now-7d&to=now&var-job=${job}&var-hostname=${__data.fields.Hostname}" } ] }, { "id": "custom.width", "value": 167 } ] }, { "matcher": { "id": "byName", "options": "Disk read" }, "properties": [ { "id": "unit", "value": "Bps" }, { "id": "decimals", "value": 0 }, { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 10485760 }, { "color": "red", "value": 31457280 } ] } }, { "id": "custom.width", "value": 91 } ] }, { "matcher": { "id": "byName", "options": "Disk write" }, "properties": [ { "id": "unit", "value": "Bps" }, { "id": "decimals", "value": 0 }, { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 10485760 }, { "color": "red", "value": 31457280 } ] } }, { "id": "custom.width", "value": 90 } ] }, { "matcher": { "id": "byName", "options": "TCP estab" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "#EAB839", "value": 8000 }, { "color": "red", "value": 15000 } ] } }, { "id": "unit", "value": "short" }, { "id": "custom.width", "value": 82 }, { "id": "decimals", "value": 0 } ] }, { "matcher": { "id": "byName", "options": "TCP tw" }, "properties": [ { "id": "unit", "value": "short" }, { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 50000 }, { "color": "red", "value": 100000 } ] } }, { "id": "custom.width", "value": 85 }, { "id": "decimals", "value": 0 } ] }, { "matcher": { "id": "byName", "options": "Net recv" }, "properties": [ { "id": "unit", "value": "bps" }, { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 524288000 }, { "color": "red", "value": 943718400 } ] } }, { "id": "custom.width", "value": 90 }, { "id": "decimals", "value": 0 } ] }, { "matcher": { "id": "byName", "options": "Net trans" }, "properties": [ { "id": "unit", "value": "bps" }, { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 524288000 }, { "color": "red", "value": 943718400 } ] } }, { "id": "custom.width", "value": 89 }, { "id": "decimals", "value": 0 } ] }, { "matcher": { "id": "byName", "options": "Datacenter" }, "properties": [ { "id": "custom.width", "value": 101 } ] }, { "matcher": { "id": "byName", "options": "Node" }, "properties": [ { "id": "links", "value": [ { "targetBlank": true, "title": "View details in new tab", "url": "https://grafana.rcrtv.net/d/2UgUicaGk/node-exporter-full?var-job=${job}&var-hostname=${__value.text}" } ] }, { "id": "custom.width", "value": 129 }, { "id": "custom.filterable", "value": true } ] }, { "matcher": { "id": "byName", "options": "Load" }, "properties": [ { "id": "unit", "value": "percent" }, { "id": "custom.cellOptions", "value": { "mode": "basic", "type": "gauge" } }, { "id": "thresholds", "value": { "mode": "percentage", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 80 }, { "color": "red", "value": 100 } ] } }, { "id": "custom.width", "value": 176 } ] }, { "matcher": { "id": "byName", "options": "Net sock" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "unit", "value": "short" }, { "id": "decimals", "value": 0 }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 30000 }, { "color": "red", "value": 60000 } ] } }, { "id": "custom.width", "value": 78 } ] } ] }, "gridPos": { "h": 19, "w": 24, "x": 0, "y": 0 }, "id": 187, "options": { "cellHeight": "sm", "footer": { "countRows": false, "fields": "", "reducer": [ "sum" ], "show": false }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Load" } ] }, "pluginVersion": "10.2.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "node_uname_info{job=~\"$job\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "__auto", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "(1 - avg(rate(node_cpu_seconds_total{job=~\"$job\",mode=\"idle\"}[$__rate_interval])) by (server)) * 100", "format": "table", "instant": true, "interval": "1m", "legendFormat": "", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "(1 - (node_memory_MemAvailable_bytes{job=~\"$job\"} / (node_memory_MemTotal_bytes{job=~\"$job\"}))) * 100", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "expr": "max((1 - (node_filesystem_free_bytes{job=~\"$job\"} / node_filesystem_size_bytes{job=~\"$job\"})) * 100) by (server)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "F" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "max(rate(node_disk_read_bytes_total{job=~\"$job\"}[$__rate_interval])) by (server)", "format": "table", "instant": true, "interval": "1m", "legendFormat": "", "refId": "G" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "max(rate(node_disk_written_bytes_total{job=~\"$job\"}[$__rate_interval])) by (server)", "format": "table", "instant": true, "interval": "1m", "legendFormat": "", "refId": "H" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "node_netstat_Tcp_CurrEstab{job=~\"$job\"} - 0", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "I" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "node_sockstat_TCP_tw{job=~\"$job\"} - 0", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "J" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "max(rate(node_network_receive_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (server)", "format": "table", "instant": true, "interval": "1m", "legendFormat": "", "refId": "K" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "max(rate(node_network_transmit_bytes_total{job=~\"$job\"}[$__rate_interval])*8) by (server)", "format": "table", "instant": true, "interval": "1m", "legendFormat": "", "refId": "L" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "editorMode": "code", "exemplar": true, "expr": "avg(node_load1{job=~\"$job\"} * 100) by (instance) / count (node_cpu_seconds_total{job=~\"$job\", mode=\"system\"}) by (server)", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "M" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "node_sockstat_sockets_used{job=~\"$job\"}", "format": "table", "instant": true, "interval": "", "legendFormat": "", "refId": "N" } ], "title": "Node resources usage ", "transformations": [ { "id": "seriesToColumns", "options": { "byField": "server", "mode": "outer" } }, { "id": "organize", "options": { "excludeByName": { "Time 1": true, "Time 10": true, "Time 11": true, "Time 12": true, "Time 13": true, "Time 14": true, "Time 2": true, "Time 3": true, "Time 4": true, "Time 5": true, "Time 6": true, "Time 7": true, "Time 8": true, "Time 9": true, "Value #A": true, "Value #B": true, "Value #C": false, "Value #E": true, "__name__ 1": true, "__name__ 2": true, "__name__ 3": true, "datacenter 1": true, "datacenter 2": true, "datacenter 3": true, "datacenter 4": true, "datacenter 5": true, "datacenter 6": true, "domainname": true, "hostname 2": true, "hostname 3": true, "hostname 4": true, "hostname 5": true, "hostname 6": true, "instance": true, "instance 1": true, "instance 2": true, "instance 3": true, "job 1": true, "job 2": true, "job 3": true, "job 4": true, "job 5": true, "job 6": true, "machine": true, "nodename": true, "release": true, "sysname": true, "version": true }, "includeByName": {}, "indexByName": { "Time": 35, "Time 10": 32, "Time 11": 34, "Time 2": 19, "Time 3": 22, "Time 4": 25, "Time 5": 26, "Time 6": 27, "Time 7": 28, "Time 8": 29, "Time 9": 30, "Value #A": 11, "Value #C": 1, "Value #D": 2, "Value #F": 3, "Value #G": 4, "Value #H": 5, "Value #I": 9, "Value #J": 10, "Value #K": 6, "Value #L": 7, "Value #N": 8, "__name__ 1": 12, "__name__ 2": 20, "domainname": 13, "instance": 24, "instance 2": 37, "instance 3": 38, "instance 4": 39, "instance 5": 40, "job": 36, "job 2": 21, "job 3": 23, "job 4": 31, "job 5": 33, "machine": 14, "nodename": 15, "release": 16, "server": 0, "sysname": 17, "version": 18 }, "renameByName": { "Difference": "Core-LA1", "Value #A": "", "Value #B": "LA1", "Value #C": "CPU", "Value #D": "Memory", "Value #E": "Cores", "Value #F": "Filesystem", "Value #G": "Disk read", "Value #H": "Disk write", "Value #I": "TCP estab", "Value #J": "TCP tw", "Value #K": "Net recv", "Value #L": "Net trans", "Value #M": "Load", "Value #N": "Net sock", "datacenter 1": "DC", "hostname 1": "Node" } } } ], "transparent": true, "type": "table" } ], "refresh": "15s", "schemaVersion": 39, "tags": [ "prometheus", "nodeExporter" ], "templating": { "list": [ { "current": { "selected": false, "text": "All", "value": "$__all" }, "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "definition": "label_values(node_uname_info, job)", "hide": 2, "includeAll": true, "label": "Job", "multi": true, "name": "job", "options": [], "query": { "query": "label_values(node_uname_info, job)", "refId": "Prometheus-job-Variable-Query" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 5, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-5m", "to": "now" }, "timepicker": { "hidden": false, "now": true, "refresh_intervals": [ "15s", "30s", "1m", "5m", "15m", "30m" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "Node Resources Overview", "uid": "gbGKmy-Gz", "version": 8, "weekStart": "" }