Commit 0df545db authored by ale's avatar ale

Minor fixes to the network Grafana dashboard

parent ae50318d
Pipeline #3375 passed with stage
in 6 minutes and 14 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": [
{
"$$hashKey": "object:788",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
......@@ -19,7 +48,6 @@
"id": null,
"links": [
{
"$$hashKey": "object:781",
"icon": "external link",
"tags": [],
"type": "dashboards"
......@@ -31,7 +59,7 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
......@@ -63,24 +91,200 @@
"steppedLine": false,
"targets": [
{
"expr": "instance:network_transmit_bytes:rate5m",
"expr": "instance:network_receive_bytes:rate5m * 8",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic by host (IN)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 0
},
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "instance:public_network_receive_bytes:rate5m * 8",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Public traffic by host (IN)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 0
},
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(instance:public_network_receive_bytes:rate5m) * 8",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{host}}/in",
"legendFormat": "public",
"refId": "A"
},
{
"expr": "instance:network_receive_bytes:rate5m",
"expr": "sum(instance:network_receive_bytes:rate5m) * 8",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{host}}/out",
"legendFormat": "global",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic (general)",
"title": "Aggregate traffic (IN)",
"tooltip": {
"shared": true,
"sort": 0,
......@@ -95,6 +299,14 @@
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
......@@ -102,6 +314,83 @@
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 6
},
"id": 7,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "instance:network_transmit_bytes:rate5m * 8",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{host}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic by host (OUT)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
......@@ -122,15 +411,15 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 0
"y": 6
},
"id": 6,
"id": 8,
"legend": {
"avg": false,
"current": false,
......@@ -154,24 +443,114 @@
"steppedLine": false,
"targets": [
{
"expr": "instance:public_network_transmit_bytes:rate5m",
"expr": "instance:public_network_transmit_bytes:rate5m * 8",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{host}}/out",
"legendFormat": "{{host}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Public traffic by host (OUT)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_LOCALHOST}",
"fill": 0,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 6
},
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(instance:public_network_transmit_bytes:rate5m) * 8",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "public",
"refId": "A"
},
{
"expr": "instance:public_network_receive_bytes:rate5m",
"expr": "sum(instance:network_transmit_bytes:rate5m) * 8",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{host}}/in",
"legendFormat": "global",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Network traffic (public)",
"title": "Aggregate traffic (OUT)",
"tooltip": {
"shared": true,
"sort": 0,
......@@ -187,7 +566,7 @@
},
"yaxes": [
{
"format": "short",
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
......@@ -213,13 +592,13 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"datasource": "${DS_LOCALHOST}",
"fill": 1,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 0
"x": 0,
"y": 12
},
"id": 2,
"legend": {
......@@ -254,6 +633,7 @@
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "CPU usage, per host",
"tooltip": {
......@@ -294,14 +674,14 @@
}
],
"refresh": false,
"schemaVersion": 16,
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"from": "now-3h",
"to": "now"
},
"timepicker": {
......@@ -332,5 +712,5 @@
"timezone": "",
"title": "Network",
"uid": "V4amkp7ik",
"version": 2
"version": 1
}
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