Prometheus Node_exporter 之 Network Traffic Detail
Network Traffic Detail /proc/net/dev
1. Network Traffic by Packets
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive 各个接口每秒接收的数据包总数
metrics:
irate(node_network_receive_packets_total{instance=~"$node:$port",job=~"$job"}[5m])
{{device}} - Transmit 各个接口每秒发送的数据包总数
metrics:
irate(node_network_transmit_packets_total{instance=~"$node:$port",job=~"$job"}[5m])
2. Network Traffic Errors
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive errors 监测到各个接口每秒接收的错误数据包总数
metrics:
irate(node_network_receive_errs_total{instance=~"$node:$port",job=~"$job"}[5m])
{{device}} - Rransmit errors 监测到各个接口每秒发送的错误数据包总数
metrics:
irate(node_network_transmit_errs_total{instance=~"$node:$port",job=~"$job"}[5m])
3. Network Traffic Drop
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive drop 各个接口每秒接收的丢弃的数据包总数
metrics:
irate(node_network_receive_drop_total{instance=~"$node:$port",job=~"$job"}[5m])
{{device}} - Transmit drop 各个接口每秒发送的丢弃的数据包总数
metrics:
irate(node_network_transmit_drop_total{instance=~"$node:$port",job=~"$job"}[5m])
4. Network Traffic Compressed
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive compressed 各个接口每秒接收的压缩数据包总数
metrics:
irate(node_network_receive_compressed_total{instance=~"$node:$port",job=~"$job"}[5m])
{{device}} - Transmit compressed 各个接口每秒发送的压缩数据包总数
metrics:
irate(node_network_transmit_compressed_total{instance=~"$node:$port",job=~"$job"}[5m])
5. Network Traffic Multicast
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive multicast 各个接口每秒接收的多播包数
metrics:
irate(node_network_receive_multicast_total{instance=~"$node:$port",job=~"$job"}[5m])
6. Network Traffic Fifo
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive fifo 各个接口每秒接收的 fifo 包总数
metrics:
irate(node_network_receive_fifo_total{instance=~"$node:$port",job=~"$job"}[5m])
{{device}} - Transmit fifo 各个接口每秒发送的 fifo 包总数
metrics:
irate(node_network_transmit_fifo_total{instance=~"$node:$port",job=~"$job"}[5m])
7. Network Traffic Frame
type: Graph
Unit: packets/sec
Label: Packets out (-) / in (+)
{{device}} - Receive frame 各个接口每秒接收的帧数
metrics:
irate(node_network_receive_frame_total{instance=~"$node:$port",job=~"$job"}[5m])
8. Network Traffic Carrier
type: Graph
Unit: short
Label: Counter
{{device}} - Statistic transmit_carrier 由各个接口检测到的载波损耗的数量
metrics:
irate(node_network_transmit_carrier_total{instance=~"$node:$port",job=~"$job"}[5m])
9. Network Traffic Colls
type: Graph
Unit: short
Label: Counter
{{device}} - Transmit colls 各个接口上检测到的冲突数
metrics:
irate(node_network_transmit_colls_total{instance=~"$node:$port",job=~"$job"}[5m])
10. NF Contrack
type: Graph
Unit: short
Label: Entries
NF conntrack entries 跟踪连接数
metrics:
node_nf_conntrack_entries{instance=~"$node:$port",job=~"$job"}
NF conntrack limit
metrics:
node_nf_conntrack_entries_limit{instance=~"$node:$port",job=~"$job"}
11. ARP Entries
type: Graph
Unit: short
Label: Entries
{{ device }} - ARP entries 各个接口上 ARP 表中包的统计
metrics:
node_arp_entries{instance=~"$node:$port",job=~"$job"}