v.24.9Improvement

Added Metrics for Thread Pool Introspection and Performance Insights

Added a new set of metrics for thread pool introspection, providing deeper insights into thread pool performance and behavior. #68674 (filimonov).
Added new metrics for thread pool introspection in ClickHouse, enabling detailed monitoring of thread pool performance and behavior.

Why it matters

To provide deeper insights into the performance and behavior of thread pools used by ClickHouse, helping users diagnose bottlenecks, optimize resource usage, and improve system reliability.

How to use it

Access the newly added thread pool metrics via the existing system metrics interfaces to monitor thread pool internals. No additional configuration is required to enable these metrics; they become available after upgrading to the version including this feature.