v.24.4Improvement

Add server-wide trace collector option for Real and CPU

Add ability to turn on trace collector (Real and CPU) server-wide. #62189 (alesapin).
Add the ability to enable trace collectors (Real and CPU) server-wide in ClickHouse.

Why it matters

This feature allows users to collect detailed real-time and CPU tracing information across the entire ClickHouse server, enabling better performance analysis and debugging at a global level rather than on a per-query or per-session basis.

How to use it

Users can enable the trace collectors server-wide by configuring the appropriate settings in the server configuration files or via server startup parameters to turn on Real and CPU tracing.