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 @@
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"w": 2,
"x": 0,
"y": 0
},
......@@ -75,8 +75,8 @@
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 4,
"w": 2,
"x": 2,
"y": 0
},
"id": 11,
......@@ -128,8 +128,8 @@
"datasource": "Prometheus",
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"w": 2,
"x": 4,
"y": 0
},
"id": 12,
......@@ -177,6 +177,114 @@
"title": "Video Participants",
"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": {},
"bars": false,
......@@ -187,8 +295,8 @@
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"w": 14,
"x": 10,
"y": 0
},
"hiddenSeries": false,
......@@ -275,7 +383,7 @@
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"w": 10,
"x": 0,
"y": 5
},
......@@ -363,8 +471,8 @@
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"w": 14,
"x": 10,
"y": 9
},
"hiddenSeries": false,
......@@ -451,7 +559,7 @@
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"w": 10,
"x": 0,
"y": 13
},
......@@ -539,8 +647,8 @@
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"w": 14,
"x": 10,
"y": 18
},
"hiddenSeries": false,
......@@ -618,7 +726,7 @@
}
}
],
"refresh": "10s",
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [],
......@@ -626,8 +734,8 @@
"list": []
},
"time": {
"from": "now-3h",
"to": "now"
"from": "2020-04-09T11:24:50.626Z",
"to": "2020-04-09T13:27:40.296Z"
},
"timepicker": {
"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