Skip to content

docs: Remove tcpstat exporter warning - #3305

Open
fionera wants to merge 2 commits into
prometheus:masterfrom
fionera:patch-1
Open

docs: Remove tcpstat exporter warning#3305
fionera wants to merge 2 commits into
prometheus:masterfrom
fionera:patch-1

Conversation

@fionera

@fionera fionera commented Apr 12, 2025

Copy link
Copy Markdown
Contributor

The warning is not true since #2322. I would also propose to enable it by default

@discordianfish discordianfish left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense, thanks!

@discordianfish
discordianfish requested a review from SuperQ May 30, 2025 10:42

@SuperQ SuperQ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This needs a DCO sign-off. You can use git commit -s --amend to add it.

@fionera
fionera force-pushed the patch-1 branch 2 times, most recently from 89eb481 to 24db8fa Compare November 10, 2025 10:07
The warning is not true since prometheus#2322.

Signed-off-by: Tim Windelschmidt <fionera@fionera.de>
Comment thread README.md
swap | Expose swap information from `/proc/swaps`. | Linux
systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. (Warning: the current version has potential performance issues in high load situations.) | Linux
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. | Linux

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How about:

Suggested change
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. | Linux
tcpstat | Exposes TCP connection status information from netlink. Warning: hosts with high connection counts may increase scrape times. | Linux

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

At a minimum we need to update the docs to mention netlink.

Suggested change
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. | Linux
tcpstat | Exposes TCP connection status information from netlink`. | Linux

@SuperQ

SuperQ commented Jul 10, 2026

Copy link
Copy Markdown
Member

While it's much cheaper with netlink, on high load machines the improved implementation still takes 1-2 seconds. This is very long considering the p50 for node_exporter on a fleet of reasonably big machines (i.e m7a.24xlarge) is only 50ms.

@fionera

fionera commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

But thats with millions of connections, which is a size where none of the normal behavior is expected to hold

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.

3 participants