Skip to content

Comments

Add gauges for allocated memory for queued UDP and TCP packages#1501

Closed
peterbueschel wants to merge 1 commit intoprometheus:masterfrom
goto-opensource:peterbueschel/add-rx-tx-queue-lengths
Closed

Add gauges for allocated memory for queued UDP and TCP packages#1501
peterbueschel wants to merge 1 commit intoprometheus:masterfrom
goto-opensource:peterbueschel/add-rx-tx-queue-lengths

Conversation

@peterbueschel
Copy link
Contributor

@peterbueschel peterbueschel commented Sep 30, 2019

  • 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

@peterbueschel peterbueschel force-pushed the peterbueschel/add-rx-tx-queue-lengths branch 2 times, most recently from 50e290e to dbdd429 Compare September 30, 2019 15:20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be updated.

…d_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>
@peterbueschel peterbueschel force-pushed the peterbueschel/add-rx-tx-queue-lengths branch from dbdd429 to 99d5944 Compare September 30, 2019 17:16
@peterbueschel
Copy link
Contributor Author

Create another PR #1502 without file mentioned files

@peterbueschel peterbueschel deleted the peterbueschel/add-rx-tx-queue-lengths branch September 30, 2019 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants