v.25.6Improvement

Add asynchronous metrics about the server's TCP

Add asynchronous metrics about the server's TCP sockets. This improves the observability. Closes #80187. #80188 (Alexey Milovidov).
Add asynchronous metrics for monitoring the server's TCP sockets to improve observability.

Why it matters

This feature addresses the need for better visibility and monitoring of TCP socket usage within ClickHouse. By providing asynchronous metrics about TCP sockets, users can more effectively diagnose networking issues and monitor server health related to TCP connections.

How to use it

The metrics are collected and exposed asynchronously within the server. Users can monitor these new TCP socket metrics via the usual metrics endpoints or monitoring tools without additional configuration.