Add gauges for allocated memory for queued UDP and TCP packages (#1503)
* Two new states will be added to the tcpstat collector called rx_queued_bytes and tx_queued_bytes. For UDP datagrams an additional collector 'udp_queues' can be used to expose the total lengths of the tx_queue and rx_queue. @SuperQ and @discordianfish this changes gives us the option to check for overloaded UDP + TCP processing. The names of the new TCP states and the UDP metric can be discussed. The current reasons are just: I don't want to add another collector for the same exposed file, so I just added the new states to the tcpstat collector. I chose the name 'udp_queue' instead of 'udpstat' as UDP has no state. Signed-off-by: Peter Bueschel <peter.bueschel@logmein.com>
This commit is contained in:
parent
4891b01b6c
commit
da5972b539
9 changed files with 189 additions and 4 deletions
|
|
@ -38,6 +38,7 @@ enabled_collectors=$(cat << COLLECTORS
|
|||
thermal_zone
|
||||
textfile
|
||||
bonding
|
||||
udp_queues
|
||||
vmstat
|
||||
wifi
|
||||
xfs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue