Skip to content
Snippets Groups Projects
Commit 914b690c authored by Florian Sesser's avatar Florian Sesser
Browse files

Grafana: Revamp network errors panel

- Also alert on "negative" (== receiving) errors
- Use 'rate' so we can get out of the reporting if situation normalizes
parent 19e35ddb
No related branches found
No related tags found
2 merge requests!274merge develop into production,!268Grafana: Revamp network errors panel, add (experimental) PSI panels
......@@ -715,9 +715,10 @@
{
"evaluator": {
"params": [
10
-1,
1
],
"type": "gt"
"type": "outside_range"
},
"operator": {
"type": "and"
......@@ -738,9 +739,10 @@
{
"evaluator": {
"params": [
10
-1,
1
],
"type": "gt"
"type": "outside_range"
},
"operator": {
"type": "or"
......@@ -761,9 +763,10 @@
{
"evaluator": {
"params": [
10
-1,
1
],
"type": "gt"
"type": "outside_range"
},
"operator": {
"type": "or"
......@@ -784,9 +787,10 @@
{
"evaluator": {
"params": [
10
-1,
1
],
"type": "gt"
"type": "outside_range"
},
"operator": {
"type": "or"
......@@ -809,6 +813,7 @@
"for": "5m",
"frequency": "1m",
"handler": 1,
"message": "",
"name": "Network errors alert",
"noDataState": "no_data",
"notifications": []
......@@ -844,7 +849,7 @@
"mode": "none"
},
"thresholdsStyle": {
"mode": "line+area"
"mode": "off"
}
},
"links": [],
......@@ -886,30 +891,64 @@
"pluginVersion": "8.3.5",
"targets": [
{
"expr": "node_network_transmit_errs_total\n",
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "rate(node_network_transmit_errs_total{device!=\"lo\"}[5m])\n",
"interval": "",
"legendFormat": "{{instance}} {{device}}",
"refId": "A"
},
{
"expr": "node_network_transmit_drop_total",
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "rate(node_network_transmit_drop_total{device!=\"lo\"}[5m])",
"interval": "",
"legendFormat": "{{instance}} {{device}}",
"refId": "B"
},
{
"expr": "- node_network_receive_drop_total",
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "- rate(node_network_receive_drop_total{device!=\"lo\"}[5m])",
"interval": "",
"legendFormat": "{{instance}} {{device}}",
"refId": "C"
},
{
"expr": "- node_network_receive_errs_total",
"datasource": {
"type": "prometheus",
"uid": "000000001"
},
"exemplar": true,
"expr": "- rate(node_network_receive_errs_total{device!=\"lo\"}[5m])",
"interval": "",
"legendFormat": "{{instance}} {{device}}",
"refId": "D"
}
],
"thresholds": [
{
"colorMode": "critical",
"op": "lt",
"value": -1,
"visible": true
},
{
"colorMode": "critical",
"op": "gt",
"value": 1,
"visible": true
}
],
"title": "Network errors",
"type": "timeseries"
},
......@@ -1002,7 +1041,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.3.5",
"pluginVersion": "8.3.6",
"pointradius": 2,
"points": false,
"renderer": "flot",
......@@ -1375,7 +1414,7 @@
"list": []
},
"time": {
"from": "now-24h",
"from": "now-2d",
"to": "now"
},
"timepicker": {},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment