v.21.8Improvement

More Network Instrumentation: Added Counters and Gauges for Data Transmission

More instrumentation for network interaction: add counters for recv/send bytes; add gauges for recvs/sends. Added missing documentation. Close #5897. #25962 (alexey-milovidov).
Enhanced network instrumentation with new counters and gauges for sent and received bytes.

Why it matters

This feature enhances observability by providing detailed metrics on network interactions, including counts of bytes sent and received. It helps users monitor network usage and troubleshoot performance issues more effectively.

How to use it

Users can access the new metrics through the existing monitoring and instrumentation interfaces of ClickHouse. These counters and gauges will automatically track network send/receive bytes, requiring no additional configuration. Refer to the updated documentation for details on available metrics.