v.25.12New Feature

Add instrumentation at runtime using XRay

Add instrumentation at runtime using XRay to debug issues in production and profile deterministically. Resolves #74249. #89173 (Pablo Marcos).
Adds runtime instrumentation support using AWS X-Ray to enable production debugging and deterministic profiling in ClickHouse.

Why it matters

This feature addresses the need for better observability and diagnostics in production environments by integrating AWS X-Ray. It allows users to trace and profile queries deterministically, helping to quickly identify and diagnose performance issues or bugs without impacting runtime behavior significantly.

How to use it

Users can enable X-Ray instrumentation at runtime by configuring ClickHouse to use the AWS X-Ray integration. This typically involves setting appropriate runtime flags or configuration options to activate tracing, allowing ClickHouse to send trace data to AWS X-Ray for analysis.