netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tcp_diag for all network namespaces?
@ 2024-12-09 19:24 dave seddon
  2024-12-10  2:00 ` Kuniyuki Iwashima
  2024-12-10  5:17 ` Cong Wang
  0 siblings, 2 replies; 7+ messages in thread
From: dave seddon @ 2024-12-09 19:24 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-12-19 18:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-09 19:24 tcp_diag for all network namespaces? dave seddon
2024-12-10  2:00 ` Kuniyuki Iwashima
2024-12-19 18:11   ` Martin KaFai Lau
2024-12-10  5:17 ` Cong Wang
2024-12-10 20:45   ` Jay Vosburgh
2024-12-11  6:35     ` Xiao Liang
2024-12-11 17:28       ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).