Commit 1ff496b7 authored by kgt20's avatar kgt20

gauges for network traffic, assuming 10 Gbit uplink in total

parent 0597d7c7
Pipeline #77659 passed with stage
in 41 seconds
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
"datasource": "Prometheus", "datasource": "Prometheus",
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 4, "w": 2,
"x": 0, "x": 0,
"y": 0 "y": 0
}, },
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
"datasource": "Prometheus", "datasource": "Prometheus",
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 4, "w": 2,
"x": 4, "x": 2,
"y": 0 "y": 0
}, },
"id": 11, "id": 11,
...@@ -128,8 +128,8 @@ ...@@ -128,8 +128,8 @@
"datasource": "Prometheus", "datasource": "Prometheus",
"gridPos": { "gridPos": {
"h": 5, "h": 5,
"w": 4, "w": 2,
"x": 8, "x": 4,
"y": 0 "y": 0
}, },
"id": 12, "id": 12,
...@@ -177,6 +177,114 @@ ...@@ -177,6 +177,114 @@
"title": "Video Participants", "title": "Video Participants",
"type": "gauge" "type": "gauge"
}, },
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 2,
"x": 6,
"y": 0
},
"id": 16,
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"max": 10000000000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 8000000000
}
]
},
"unit": "bps"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.1",
"targets": [
{
"expr": "sum(irate(node_network_receive_bytes_total{device=\"eth0\"}[5m]))*8",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Trafic receiving",
"type": "gauge"
},
{
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 2,
"x": 8,
"y": 0
},
"id": 17,
"options": {
"fieldOptions": {
"calcs": [
"last"
],
"defaults": {
"mappings": [],
"max": 10000000000,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 8000000000
}
]
},
"unit": "bps"
},
"overrides": [],
"values": false
},
"orientation": "auto",
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "6.7.1",
"targets": [
{
"expr": "sum(irate(node_network_transmit_bytes_total{device=\"eth0\"}[5m]))*8",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Trafic transmitting",
"type": "gauge"
},
{ {
"aliasColors": {}, "aliasColors": {},
"bars": false, "bars": false,
...@@ -187,8 +295,8 @@ ...@@ -187,8 +295,8 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 14,
"x": 12, "x": 10,
"y": 0 "y": 0
}, },
"hiddenSeries": false, "hiddenSeries": false,
...@@ -275,7 +383,7 @@ ...@@ -275,7 +383,7 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 10,
"x": 0, "x": 0,
"y": 5 "y": 5
}, },
...@@ -363,8 +471,8 @@ ...@@ -363,8 +471,8 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 14,
"x": 12, "x": 10,
"y": 9 "y": 9
}, },
"hiddenSeries": false, "hiddenSeries": false,
...@@ -451,7 +559,7 @@ ...@@ -451,7 +559,7 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 8, "h": 8,
"w": 12, "w": 10,
"x": 0, "x": 0,
"y": 13 "y": 13
}, },
...@@ -539,8 +647,8 @@ ...@@ -539,8 +647,8 @@
"fillGradient": 0, "fillGradient": 0,
"gridPos": { "gridPos": {
"h": 9, "h": 9,
"w": 12, "w": 14,
"x": 12, "x": 10,
"y": 18 "y": 18
}, },
"hiddenSeries": false, "hiddenSeries": false,
...@@ -618,7 +726,7 @@ ...@@ -618,7 +726,7 @@
} }
} }
], ],
"refresh": "10s", "refresh": false,
"schemaVersion": 22, "schemaVersion": 22,
"style": "dark", "style": "dark",
"tags": [], "tags": [],
...@@ -626,8 +734,8 @@ ...@@ -626,8 +734,8 @@
"list": [] "list": []
}, },
"time": { "time": {
"from": "now-3h", "from": "2020-04-09T11:24:50.626Z",
"to": "now" "to": "2020-04-09T13:27:40.296Z"
}, },
"timepicker": { "timepicker": {
"refresh_intervals": [ "refresh_intervals": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment