type: Graph
Unit: bytes
recv {{device}} 各個網絡接口的下載量
recv lo: 本地環回接口
recv eth0: 以太網接口
recv docker0: docker0 網絡接口
metrics:
rate(node_network_receive_bytes_total{instance=~"$node:$port",job=~"$job"}[5m])
trans {{device}} 各個網絡接口的上傳量
metrics:
rate(node_network_transmit_bytes_total{instance=~"$node:$port",job=~"$job"}[5m])
node
type: Graph
unit: perent(0-100)
metrics:
100 - ((node_filesystem_avail_bytes{instance=~"$node:$port",job=~"$job",device!~'rootfs'} * 100) / node_filesystem_size_bytes{instance=~"$node:$port",job=~"$job",device!~'rootfs'})
docker