@ -213,7 +213,7 @@ local table = grafana70.panel.table;
},
},
],
],
yaxes: [
yaxes: [
self.yaxe(format='byte s'),
self.yaxe(format='Bp s'),
self.yaxe(format='s'),
self.yaxe(format='s'),
],
],
},
},
@ -410,28 +410,30 @@ local table = grafana70.panel.table;
local networkReceived =
local networkReceived =
graphPanel.new(
graphPanel.new(
'Network Received',
'Network Received',
description="Network received (bits/s)",
datasource='$datasource',
datasource='$datasource',
span=6,
span=6,
format='byte s',
format='bp s',
min=0,
min=0,
fill=0,
fill=0,
)
)
.addTarget(prometheus.target(
.addTarget(prometheus.target(
'rate(node_network_receive_bytes_total{%(nodeExporterSelector)s, instance="$instance", device!="lo"}[$__rate_interval])' % config,
'rate(node_network_receive_bytes_total{%(nodeExporterSelector)s, instance="$instance", device!="lo"}[$__rate_interval]) * 8 ' % config,
legendFormat='{{device}}',
legendFormat='{{device}}',
)),
)),
local networkTransmitted =
local networkTransmitted =
graphPanel.new(
graphPanel.new(
'Network Transmitted',
'Network Transmitted',
description="Network transmitted (bits/s)",
datasource='$datasource',
datasource='$datasource',
span=6,
span=6,
format='byte s',
format='bp s',
min=0,
min=0,
fill=0,
fill=0,
)
)
.addTarget(prometheus.target(
.addTarget(prometheus.target(
'rate(node_network_transmit_bytes_total{%(nodeExporterSelector)s, instance="$instance", device!="lo"}[$__rate_interval])' % config,
'rate(node_network_transmit_bytes_total{%(nodeExporterSelector)s, instance="$instance", device!="lo"}[$__rate_interval]) * 8 ' % config,
legendFormat='{{device}}',
legendFormat='{{device}}',
)),
)),