Commit 99755a15 authored by ale's avatar ale

Update layout of host Grafana dashboard

parent 0df545db
Pipeline #3379 failed with stage
in 4 minutes and 40 seconds
{
"__inputs": [
{
"name": "DS_LOCALHOST",
"label": "localhost",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "6.1.6"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
}
],
"annotations": {
"list": [
{
......@@ -15,8 +45,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": 10,
"iteration": 1551570840486,
"id": null,
"iteration": 1560213612905,
"links": [
{
"asDropdown": true,
......@@ -41,7 +71,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"decimals": 0,
"description": "See $cluster",
"editable": true,
......@@ -106,6 +136,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU: utilization",
"tooltip": {
......@@ -154,7 +185,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"description": "",
"editable": true,
"error": false,
......@@ -251,6 +282,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU: saturation (load avg)",
"tooltip": {
......@@ -302,7 +334,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 1,
......@@ -392,6 +424,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory: utilization",
"tooltip": {
......@@ -400,7 +433,6 @@
"sort": 2,
"value_type": "individual"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
......@@ -445,7 +477,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 1,
......@@ -569,6 +601,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Memory: saturation",
"tooltip": {
......@@ -577,7 +610,6 @@
"sort": 2,
"value_type": "individual"
},
"transparent": false,
"type": "graph",
"xaxis": {
"buckets": null,
......@@ -620,7 +652,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 0,
......@@ -703,6 +735,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network: utilization",
"tooltip": {
......@@ -748,7 +781,7 @@
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 1,
......@@ -807,6 +840,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network: errors",
"tooltip": {
......@@ -852,7 +886,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"decimals": 0,
"editable": true,
"error": false,
......@@ -941,6 +975,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Disk: utilization",
"tooltip": {
......@@ -986,7 +1021,7 @@
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 1,
......@@ -1066,6 +1101,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Disk: saturation",
"tooltip": {
......@@ -1110,7 +1146,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 7,
......@@ -1180,6 +1216,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Socket: utilization",
"tooltip": {
......@@ -1223,7 +1260,7 @@
"bars": true,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 7,
......@@ -1355,6 +1392,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Socket: errors",
"tooltip": {
......@@ -1394,28 +1432,23 @@
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"w": 8,
"x": 0,
"y": 35
},
"id": 12,
"id": 21,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": true,
"max": false,
"min": false,
"show": true,
"total": false,
......@@ -1424,7 +1457,7 @@
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
......@@ -1435,44 +1468,59 @@
"steppedLine": false,
"targets": [
{
"expr": "1- (node_filesystem_avail{instance=~\"$server\",fstype!~\"(tmpfs|rpc_pipefs|debugfs)\"} / node_filesystem_size{instance=~\"$server\"})",
"expr": "node_filefd_allocated{instance=~\"$server.*\"} / node_filefd_maximum{instance=~\"$server.*\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 4,
"legendFormat": "{{mountpoint}} (bytes, {{fstype}})",
"intervalFactor": 2,
"legendFormat": "fd usage %",
"metric": "node_en",
"refId": "A",
"step": 60,
"target": ""
"step": 40,
"target": "isNonNull()"
},
{
"expr": "1- (node_filesystem_files_free{instance=~\"$server\",fstype!~\"(tmpfs|rpc_pipefs|debugfs)\"} / node_filesystem_files{instance=~\"$server\"})",
"expr": "node_procs_running{instance=~\"$server.*\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 4,
"legendFormat": "{{mountpoint}} (inodes, {{fstype}})",
"intervalFactor": 2,
"legendFormat": "procs running",
"metric": "node_entropy_available_bits",
"refId": "B",
"step": 60
"step": 40,
"target": "isNonNull()"
},
{
"expr": "node_filesystem_size",
"expr": "node_nf_conntrack_entries{instance=~\"$server.*\"} / node_nf_conntrack_entries_limit{instance=~\"$server.*\"}",
"format": "time_series",
"hide": true,
"intervalFactor": 4,
"legendFormat": "io time",
"metric": "node_filesystem_size",
"hide": false,
"intervalFactor": 2,
"legendFormat": "conntrack usage %",
"metric": "node_entropy_available_bits",
"refId": "C",
"step": 8
"step": 40,
"target": "isNonNull()"
},
{
"expr": "node_",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "interrupts",
"metric": "node_entropy_available_bits",
"refId": "D",
"step": 40,
"target": "isNonNull()"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "filesystem: utilization",
"title": "misc: utilization",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 2,
"value_type": "cumulative"
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
......@@ -1484,18 +1532,19 @@
},
"yaxes": [
{
"format": "percentunit",
"label": null,
"logBase": 1,
"max": 1,
"min": null,
"decimals": null,
"format": "short",
"label": "",
"logBase": 1024,
"max": null,
"min": "0",
"show": true
},
{
"format": "percentunit",
"format": "short",
"label": null,
"logBase": 1,
"max": 1,
"max": null,
"min": null,
"show": true
}
......@@ -1510,15 +1559,15 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"x": 8,
"y": 35
},
"id": 23,
"id": 22,
"legend": {
"avg": false,
"current": true,
......@@ -1542,54 +1591,54 @@
"steppedLine": false,
"targets": [
{
"expr": "rate(node_edac_uncorrectable_errors_total{instance=\"$server.*\"}[5m])",
"expr": "node_procs_blocked{instance=~\"$server.*\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "edac uncorrectable",
"legendFormat": "procs blocked",
"metric": "node_en",
"refId": "A",
"step": 40,
"target": "isNonNull()"
},
{
"expr": "node_textfile_scrape_error{instance=\"$server.*\"}",
"expr": "node_entropy_available_bits{instance=~\"$server.*\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "textfile scrape error",
"legendFormat": "entropy bytes available",
"metric": "node_entropy_available_bits",
"refId": "B",
"step": 40,
"target": "isNonNull()"
},
{
"expr": "rate(node_intr{instance=~\"$server.*\"}[5m])",
"expr": "rate(node_forks{instance=~\"$server.*\"}[5m])",
"format": "time_series",
"hide": true,
"intervalFactor": 2,
"legendFormat": "interrupts",
"legendFormat": "forks",
"metric": "node_entropy_available_bits",
"refId": "D",
"refId": "C",
"step": 1800,
"target": "isNonNull()"
},
{
"expr": "rate(node_edac_correctable_errors_total{instance=\"$server.*\"}[5m])",
"expr": "rate(node_intr{instance=~\"$server.*\"}[5m])",
"format": "time_series",
"hide": false,
"hide": true,
"intervalFactor": 2,
"legendFormat": "edac correctable",
"metric": "node_en",
"refId": "E",
"step": 40,
"legendFormat": "interrupts",
"metric": "node_entropy_available_bits",
"refId": "D",
"step": 1800,
"target": "isNonNull()"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "misc: errors",
"title": "misc: saturation",
"tooltip": {
"shared": true,
"sort": 0,
......@@ -1631,15 +1680,15 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 42
"x": 16,
"y": 35
},
"id": 21,
"id": 23,
"legend": {
"avg": false,
"current": true,
......@@ -1663,54 +1712,55 @@
"steppedLine": false,
"targets": [
{
"expr": "node_filefd_allocated{instance=~\"$server.*\"} / node_filefd_maximum{instance=~\"$server.*\"}",
"expr": "rate(node_edac_uncorrectable_errors_total{instance=\"$server.*\"}[5m])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "fd usage %",
"legendFormat": "edac uncorrectable",
"metric": "node_en",
"refId": "A",
"step": 40,
"target": "isNonNull()"
},
{
"expr": "node_procs_running{instance=~\"$server.*\"}",
"expr": "node_textfile_scrape_error{instance=\"$server.*\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "procs running",
"legendFormat": "textfile scrape error",
"metric": "node_entropy_available_bits",
"refId": "B",
"step": 40,
"target": "isNonNull()"
},
{
"expr": "node_nf_conntrack_entries{instance=~\"$server.*\"} / node_nf_conntrack_entries_limit{instance=~\"$server.*\"}",
"expr": "rate(node_intr{instance=~\"$server.*\"}[5m])",
"format": "time_series",
"hide": false,
"hide": true,
"intervalFactor": 2,
"legendFormat": "conntrack usage %",
"legendFormat": "interrupts",
"metric": "node_entropy_available_bits",
"refId": "C",
"step": 40,
"refId": "D",
"step": 1800,
"target": "isNonNull()"
},
{
"expr": "node_",
"expr": "rate(node_edac_correctable_errors_total{instance=\"$server.*\"}[5m])",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "interrupts",
"metric": "node_entropy_available_bits",
"refId": "D",
"legendFormat": "edac correctable",
"metric": "node_en",
"refId": "E",
"step": 40,
"target": "isNonNull()"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "misc: utilization",
"title": "misc: errors",
"tooltip": {
"shared": true,
"sort": 0,
......@@ -1726,9 +1776,8 @@
},
"yaxes": [
{
"decimals": null,
"format": "short",
"label": "",
"label": null,
"logBase": 1024,
"max": null,
"min": "0",
......@@ -1749,23 +1798,28 @@
}
},
{
"alerting": {},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"fill": 1,
"datasource": "${DS_LOCALHOST}",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"h": 11,
"w": 24,
"x": 0,
"y": 42
},
"id": 22,
"id": 12,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"max": true,
"min": false,
"show": true,
"total": false,
......@@ -1774,7 +1828,7 @@
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
......@@ -1785,57 +1839,45 @@
"steppedLine": false,
"targets": [
{
"expr": "node_procs_blocked{instance=~\"$server.*\"}",
"expr": "1- (node_filesystem_avail{instance=~\"$server\",fstype!~\"(tmpfs|rpc_pipefs|debugfs)\"} / node_filesystem_size{instance=~\"$server\"})",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "procs blocked",
"metric": "node_en",
"intervalFactor": 4,
"legendFormat": "{{mountpoint}} (bytes, {{fstype}})",
"refId": "A",
"step": 40,
"target": "isNonNull()"
"step": 60,
"target": ""
},
{
"expr": "node_entropy_available_bits{instance=~\"$server.*\"}",