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
|
|
@ -60,6 +60,7 @@ textfile | Exposes statistics read from local disk. The `--collector.textfile.di
|
|||
thermal\_zone | Exposes thermal zone & cooling device statistics from `/sys/class/thermal`. | Linux
|
||||
time | Exposes the current system time. | _any_
|
||||
timex | Exposes selected adjtimex(2) system call stats. | Linux
|
||||
udp_queues | Exposes UDP total lengths of the rx_queue and tx_queue from `/proc/net/udp` and `/proc/net/udp6`. | Linux
|
||||
uname | Exposes system information as provided by the uname system call. | Darwin, FreeBSD, Linux, OpenBSD
|
||||
vmstat | Exposes statistics from `/proc/vmstat`. | Linux
|
||||
xfs | Exposes XFS runtime statistics. | Linux (kernel 4.4+)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue