Skip to content
Snippets Groups Projects
Commit 269e5236 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-731: Added useful prometheus-node-exporter points to LCU dashboard

parent 6bde7f4c
No related branches found
No related tags found
1 merge request!319Resolve L2SS-731 "More useful dashboards"
......@@ -21,7 +21,6 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 11,
"links": [],
"liveNow": false,
"panels": [
......@@ -93,7 +92,7 @@
"showThresholdMarkers": false,
"text": {}
},
"pluginVersion": "8.4.5",
"pluginVersion": "8.4.6",
"targets": [
{
"exemplar": true,
......@@ -167,7 +166,7 @@
"overrides": []
},
"gridPos": {
"h": 14,
"h": 10,
"w": 4,
"x": 4,
"y": 1
......@@ -191,7 +190,7 @@
},
"textMode": "value_and_name"
},
"pluginVersion": "8.4.5",
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
......@@ -218,104 +217,6 @@
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "Running docker containers",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 1,
"text": "OFF"
},
"1": {
"color": "green",
"index": 0,
"text": "ON"
}
},
"type": "value"
}
],
"noValue": "???",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "string"
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 5,
"x": 8,
"y": 1
},
"id": 61,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 20,
"valueSize": 20
},
"textMode": "value_and_name"
},
"pluginVersion": "8.4.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": false,
"expr": "device_attribute{device=\"stat/docker/1\",name!=\"version_R\",name=~\".*_R\"}",
"instant": true,
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
"title": "Docker Containers",
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": ".*/(.*)/1",
"renamePattern": "$1"
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
......@@ -380,7 +281,7 @@
"gridPos": {
"h": 8,
"w": 10,
"x": 13,
"x": 8,
"y": 1
},
"id": 62,
......@@ -471,7 +372,7 @@
},
"showHeader": false
},
"pluginVersion": "8.4.5",
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
......@@ -539,11 +440,159 @@
],
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 11
},
"id": 70,
"panels": [],
"title": "LCU System Performance",
"type": "row"
},
{
"description": "How much time the CPU spends waiting for I/O to complete.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.1
},
{
"color": "red",
"value": 0.25
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 0,
"y": 12
},
"id": 64,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "elasticsearch",
"uid": "elk"
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": false,
"expr": "avg by(mode) (rate(node_cpu_seconds_total{mode=\"iowait\"}[5m]))",
"instant": true,
"interval": "",
"legendFormat": "{{mode}}",
"refId": "A"
}
],
"title": "CPU I/O Wait",
"type": "gauge"
},
{
"description": "How much time the CPU is not idle.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 0.7
},
{
"color": "red",
"value": 0.9
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 4,
"x": 4,
"y": 12
},
"id": 66,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": false,
"expr": "1 - avg by(mode) (rate(node_cpu_seconds_total{mode=\"idle\"}[5m]))",
"instant": true,
"interval": "",
"legendFormat": "{{mode}}",
"refId": "A"
}
],
"title": "CPU Busy",
"type": "gauge"
},
{
"description": "",
"fieldConfig": {
"defaults": {
"color": {
......@@ -578,29 +627,35 @@
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"color": "red",
"value": null
},
{
"color": "red",
"value": 1
"color": "#EAB839",
"value": 0.1009
},
{
"color": "green",
"value": 0.3
}
]
}
},
"unit": "binBps"
},
"overrides": []
},
"gridPos": {
"h": 9,
"h": 6,
"w": 5,
"x": 0,
"y": 15
"x": 8,
"y": 12
},
"id": 32,
"id": 72,
"options": {
"legend": {
"calcs": [],
......@@ -608,22 +663,556 @@
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"alias": "",
"bucketAggs": [
{
"field": "extra.lofar_id.keyword",
"id": "2",
"settings": {
"min_doc_count": "0",
"order": "desc",
"orderBy": "_term",
"size": "10"
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_disk_written_bytes_total{device=~\"sda\"}[5m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{device}} write",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_disk_read_bytes_total{device=~\"sda\"}[5m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{device}} read",
"refId": "A"
}
],
"title": "Disk I/O",
"type": "timeseries"
},
{
"description": "Fill percentage of the /localdata partition.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#EAB839",
"value": 0.5
},
{
"color": "red",
"value": 0.8
}
]
},
"unit": "percentunit"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 13,
"y": 12
},
"id": 78,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "avg by(device) (1 - node_filesystem_free_bytes / node_filesystem_size_bytes)",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{device}}",
"refId": "B"
}
],
"title": "Disk Fill %",
"type": "gauge"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 18
},
"id": 75,
"panels": [],
"title": "LCU Network Performance",
"type": "row"
},
{
"description": "Amount of network traffic with the outside network.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMax": 10000000,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 0.1009
},
{
"color": "green",
"value": 0.3
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 0,
"y": 19
},
"id": 71,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_network_transmit_bytes_total{device=\"eno1\"}[5m]) * 8",
"instant": false,
"interval": "",
"legendFormat": "{{device}} transmit",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_network_receive_bytes_total{device=\"eno1\"}[5m]) * 8",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{device}} receive",
"refId": "B"
}
],
"title": "Internal Network Traffic",
"type": "timeseries"
},
{
"description": "Amount of network traffic with the outside network.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMax": 10000000,
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 0.1009
},
{
"color": "green",
"value": 0.3
}
]
},
"unit": "binbps"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 5,
"y": 19
},
"id": 73,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_network_transmit_bytes_total{device=\"eno1\"}[5m]) * 8",
"instant": false,
"interval": "",
"legendFormat": "{{device}} transmit",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_network_receive_bytes_total{device=\"eno1\"}[5m]) * 8",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{device}} receive",
"refId": "B"
}
],
"title": "External Network Traffic",
"type": "timeseries"
},
{
"description": "The rate of UDP packet received but dropped by the kernel.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "#EAB839",
"value": 0.1009
},
{
"color": "green",
"value": 0.3
}
]
},
"unit": "pps"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 5,
"x": 10,
"y": 19
},
"id": 65,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_netstat_Udp_NoPorts[5m])",
"instant": false,
"interval": "",
"legendFormat": "NoPort",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_netstat_Udp_InErrors[5m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "InError",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": true,
"expr": "rate(node_netstat_Udp_RcvbufErrors[5m])",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "RcvBufError",
"refId": "C"
}
],
"title": "UDP Loss",
"type": "timeseries"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 25
},
"id": 68,
"panels": [
{
"datasource": {
"type": "elasticsearch",
"uid": "elk"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 5,
"x": 0,
"y": 21
},
"id": 32,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "",
"bucketAggs": [
{
"field": "extra.lofar_id.keyword",
"id": "2",
"settings": {
"min_doc_count": "0",
"order": "desc",
"orderBy": "_term",
"size": "10"
},
"type": "terms"
},
......@@ -759,7 +1348,7 @@
"h": 9,
"w": 18,
"x": 5,
"y": 15
"y": 21
},
"id": 56,
"options": {
......@@ -773,7 +1362,7 @@
"showHeader": true,
"sortBy": []
},
"pluginVersion": "8.4.5",
"pluginVersion": "8.4.6",
"targets": [
{
"alias": "",
......@@ -862,6 +1451,122 @@
"type": "table"
}
],
"title": "Logs",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 26
},
"id": 77,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "Running docker containers",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [
{
"options": {
"0": {
"color": "red",
"index": 1,
"text": "OFF"
},
"1": {
"color": "green",
"index": 0,
"text": "ON"
}
},
"type": "value"
}
],
"noValue": "???",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "green",
"value": 1
}
]
},
"unit": "string"
},
"overrides": []
},
"gridPos": {
"h": 16,
"w": 6,
"x": 0,
"y": 27
},
"id": 61,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"titleSize": 20,
"valueSize": 20
},
"textMode": "value_and_name"
},
"pluginVersion": "8.4.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"exemplar": false,
"expr": "device_attribute{device=\"stat/docker/1\",name!=\"version_R\",name=~\".*_R\"}",
"instant": true,
"interval": "",
"legendFormat": "{{name}}",
"refId": "A"
}
],
"title": "Docker Containers",
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": ".*/(.*)/1",
"renamePattern": "$1"
}
}
],
"type": "stat"
}
],
"title": "Docker containers",
"type": "row"
}
],
"refresh": false,
"schemaVersion": 35,
"style": "dark",
......@@ -870,13 +1575,13 @@
"list": []
},
"time": {
"from": "now-30m",
"from": "now-15m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "LCU",
"uid": "lcu",
"version": 3,
"version": 1,
"weekStart": ""
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment