mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Track packets dropped by full device TX queue
QDisc/LinkEndpoint may drop packets if the device's send/transmit queue is full. BUG: https://fxbug.dev/98974 PiperOrigin-RevId: 448570489
This commit is contained in:
committed by
gVisor bot
parent
e189fb6886
commit
ae508f4064
@@ -88,6 +88,7 @@ var Metrics = tcpip.Stats{
|
||||
Packets: mustCreateMetric("/netstack/nic/tx/packets", "Number of packets transmitted."),
|
||||
Bytes: mustCreateMetric("/netstack/nic/tx/bytes", "Number of bytes transmitted."),
|
||||
},
|
||||
TxPacketsDroppedNoBufferSpace: mustCreateMetric("/netstack/nic/tx_packets_dropped_no_buffer_space", "Number of TX packets dropped as a result of no buffer space errors."),
|
||||
Rx: tcpip.NICPacketStats{
|
||||
Packets: mustCreateMetric("/netstack/nic/rx/packets", "Number of packets received."),
|
||||
Bytes: mustCreateMetric("/netstack/nic/rx/bytes", "Number of bytes received."),
|
||||
|
||||
Reference in New Issue
Block a user