Monitoring

network usage:

1
2
bytes_sent(out)
bytes_recv(in)

packets:

1
2
packets_sent(out)
packets_recv(in)

error_in/out:

1
2
3
4
SELECT non_negative_derivative(mean("err_in"), 1s) AS "recv", non_negative_derivative(mean("err_out"), 1s) AS "send"
FROM "net"
WHERE "interface" =~ /^(vlan|eth|ens|bond).*/ AND $timeFilter
GROUP BY time($__interval), "host", "interface" fill(none)

drop_in/out:

1
2
3
4
SELECT non_negative_derivative(mean("drop_in"), 1s) AS "recv", non_negative_derivative(mean("drop_out"), 1s) AS "send"
FROM "net"
WHERE "interface" =~ /^(vlan|eth|ens|bond).*/ AND $timeFilter
GROUP BY time($__interval), "host", "interface" fill(none)