1
0
Fork 0
mirror of synced 2024-11-05 17:28:57 -05:00
formula-grafana/grafana/files/dashboards/linux/system_network_prometheus.json
Dmitry Kalashnik f26ff0fce5 Add all grafana dashboards into grafana formula
Change-Id: Iced67bc96c579883607bd446342132c0873148d7
PROD-Related: PROD-22139
2018-09-04 17:37:51 +04:00

1508 lines
No EOL
35 KiB
JSON

{% raw %}
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "prometheus",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": null,
"iteration": 1532690906484,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 28,
"panels": [],
"title": "Network, by host",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 1
},
"id": 26,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"sort": null,
"sortDesc": null,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(net_bytes_recv{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "rx @{{host}}",
"refId": "A"
},
{
"expr": "sum(rate(net_bytes_sent{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Throughput@$host",
"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": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 1
},
"id": 33,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(net_packets_recv{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "rx @{{host}}",
"refId": "A"
},
{
"expr": "sum(rate(net_packets_sent{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Packets@$host",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"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": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 8
},
"id": 42,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(net_err_in{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "rx @{{host}}",
"refId": "A"
},
{
"expr": "sum(rate(net_err_out{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Errors@$host",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"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": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 8
},
"id": 43,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(net_drop_in{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "rx @{{host}}",
"refId": "A"
},
{
"expr": "sum(rate(net_drop_out{environment=\"$environment\", host=~\"$host\",interface=~\"$interface\"}[$rate_interval])) by (host)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{host}}",
"refId": "B"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Dropped packets@$host",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"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": null,
"decimals": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 15
},
"id": 49,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideZero": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{host}} @{{cpu}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Net RX action@$host per CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": 0,
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 15
},
"id": 45,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{host}} @{{cpu}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Dropped packets@$host per CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"decimals": 0,
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"columns": [],
"datasource": null,
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 22
},
"hideTimeOverride": false,
"id": 51,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Increase since 1h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #A",
"preserveFormat": false,
"thresholds": [
"2",
"4"
],
"type": "string",
"unit": "none",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Increase since 4h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [
"8",
"16"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "Increase since 24h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [
"50",
"100"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "floor(increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[1h])) > 0 or increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[1h]) - 1",
"format": "table",
"instant": false,
"intervalFactor": 2,
"refId": "A"
},
{
"expr": "floor(increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[4h])) > 0 or increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[4h]) - 1",
"format": "table",
"intervalFactor": 1,
"refId": "B"
},
{
"expr": "floor(increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[24h])) > 0 or increase(nstat_time_squeeze{environment=\"$environment\", host=~\"$host\"}[24h]) - 1",
"format": "table",
"intervalFactor": 1,
"refId": "C"
}
],
"timeFrom": "1s",
"title": "Net RX action@$host per CPU - increased",
"transform": "table",
"transparent": false,
"type": "table"
},
{
"columns": [],
"datasource": null,
"fontSize": "100%",
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 22
},
"hideTimeOverride": false,
"id": 47,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 2,
"desc": true
},
"styles": [
{
"alias": "Time",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "hidden"
},
{
"alias": "Increase since 1h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"link": false,
"mappingType": 1,
"pattern": "Value #A",
"preserveFormat": false,
"rangeMaps": [
{
"from": "0",
"text": "asas",
"to": "0"
}
],
"thresholds": [
"2",
"4"
],
"type": "string",
"unit": "none",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "job",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"mappingType": 1,
"pattern": "instance",
"thresholds": [],
"type": "hidden",
"unit": "short"
},
{
"alias": "Increase since 4h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #B",
"thresholds": [
"8",
"16"
],
"type": "string",
"unit": "none",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "Increase since 24h",
"colorMode": "cell",
"colors": [
"transparent",
"rgba(237, 129, 40, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 0,
"mappingType": 1,
"pattern": "Value #C",
"thresholds": [
"50",
"100"
],
"type": "string",
"unit": "short",
"valueMaps": [
{
"text": "-",
"value": "-1"
}
]
},
{
"alias": "",
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"expr": "floor(increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[1h])) > 0 or increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[1h]) - 1",
"format": "table",
"hide": false,
"instant": false,
"intervalFactor": 2,
"legendFormat": "",
"refId": "A"
},
{
"expr": "floor(increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[4h])) > 0 or increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[4h]) -1",
"format": "table",
"hide": false,
"instant": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "B"
},
{
"expr": "floor(increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[24h])) > 0 or increase(nstat_packet_drop{environment=\"$environment\", host=~\"$host\"}[24h]) -1",
"format": "table",
"hide": false,
"instant": false,
"intervalFactor": 2,
"legendFormat": "",
"refId": "C"
}
],
"timeFrom": "1s",
"title": "Dropped packets@$host per CPU - increased",
"transform": "table",
"transparent": false,
"type": "table"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 28
},
"id": 24,
"panels": [],
"repeat": null,
"title": "Network, by interface",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 29
},
"id": 8,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "host",
"repeatDirection": "v",
"scopedVars": {
"host": {
"selected": true,
"text": "ntw01",
"value": "ntw01"
}
},
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_bytes_recv{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "rx @{{interface}}",
"metric": "",
"refId": "A",
"step": 20
},
{
"expr": "rate(net_bytes_sent{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{interface}}",
"metric": "",
"refId": "B",
"step": 20
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Throughput@$host dev $interface",
"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": "Bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 29
},
"id": 15,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "host",
"repeatDirection": "v",
"scopedVars": {
"host": {
"selected": true,
"text": "ntw01",
"value": "ntw01"
}
},
"seriesOverrides": [
{
"alias": "/tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_packets_recv{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "rx @{{interface}}",
"metric": "",
"refId": "A",
"step": 20
},
{
"expr": "rate(net_packets_sent{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "tx @{{interface}}",
"metric": "",
"refId": "B",
"step": 20
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Packets@$host dev $interface",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"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": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 29
},
"id": 13,
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "host",
"repeatDirection": "v",
"scopedVars": {
"host": {
"selected": true,
"text": "ntw01",
"value": "ntw01"
}
},
"seriesOverrides": [
{
"alias": "/.*tx.*/",
"transform": "negative-Y"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "rate(net_err_in{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "err rx @{{interface}}",
"metric": "",
"refId": "A",
"step": 20
},
{
"expr": "rate(net_drop_in{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "drop rx @{{interface}}",
"refId": "C"
},
{
"expr": "rate(net_err_out{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "err tx @{{interface}}",
"metric": "",
"refId": "B",
"step": 20
},
{
"expr": "rate(net_drop_out{environment=\"$environment\", host=\"$host\",interface=~\"$interface\"}[$rate_interval])",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "drop tx @{{interface}}",
"refId": "D"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Errors/Dropped@$host dev $interface",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "pps",
"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
}
}
],
"refresh": "1m",
"schemaVersion": 16,
"style": "dark",
"tags": [
"host"
],
"templating": {
"list": [
{
"allValue": null,
"current": null,
"datasource": "prometheus",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "environment",
"options": [],
"query": "label_values(environment)",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "ntw01",
"value": [
"ntw01"
]
},
"datasource": "prometheus",
"hide": 0,
"includeAll": false,
"label": null,
"multi": true,
"name": "host",
"options": [],
"query": "label_values(cpu_usage_idle{environment=\"$environment\"}, host)",
"refresh": 1,
"refresh_on_load": true,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": "prometheus",
"hide": 0,
"includeAll": true,
"label": null,
"multi": true,
"name": "interface",
"options": [],
"query": "query_result(net_bytes_recv{environment=\"$environment\", host=~\"$host\"})",
"refresh": 1,
"refresh_on_load": true,
"regex": "/interface=\"([^\"]+)/",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "3m",
"value": "3m"
},
"hide": 0,
"includeAll": false,
"label": "rate_interval",
"multi": false,
"name": "rate_interval",
"options": [
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": true,
"text": "3m",
"value": "3m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
},
{
"selected": false,
"text": "15m",
"value": "15m"
}
],
"query": "1m,3m,5m,10m,15m",
"type": "custom"
}
]
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "System - Networking",
"uid": null,
"version": 1
}
{% endraw %}