[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANypexQX+MW_00xAo-sxO19jR1yCLVKNU3pCZvmFPuphk=cRFw@mail.gmail.com>
Date: Mon, 9 Dec 2024 11:24:18 -0800
From: dave seddon <dave.seddon.ca@...il.com>
To: netdev@...r.kernel.org
Subject: tcp_diag for all network namespaces?
G'day,
Short
Is there a way to extract tcp_diag socket data for all sockets from
all network name spaces please?
Background
I've been using tcp_diag to dump out TCP socket performance every
minute and then stream the data via Kafka and then into a Clickhouse
database. This is awesome for socket performance monitoring.
Kubernetes
I'd like to adapt this solution to <somehow> allow monitoring of
kubernetes clusters, so that it would be possible to monitor the
socket performance of all pods. Ideally, a single process could open
a netlink socket into each network namespace, but currently that isn't
possible.
Would it be crazy to add a new feature to the kernel to allow dumping
all sockets from all name spaces?
Maybe I'm missing some other better option(s)?
Thanks in advance
--
Regards,
Dave Seddon
Powered by blists - more mailing lists