v.21.8Improvement
Update NetworkReceiveElapsedMicroseconds Metric to Include Client Data Wait Time
MakeNetworkReceiveElapsedMicrosecondsmetric to correctly include the time spent waiting for data from the client toINSERT. Close #9958. #25602 (alexey-milovidov).
Why it matters
Previously, theNetworkReceiveElapsedMicroseconds metric did not fully account for the time ClickHouse spent waiting for incoming data from the client during INSERT queries. This fix ensures that the metric reflects the actual network receive duration, providing users with more precise monitoring and performance insights.How to use it
Users do not need to enable anything manually. After updating to the new version, theNetworkReceiveElapsedMicroseconds metric will automatically include the waiting time for data from clients during INSERT commands.