v.24.10Improvement

Enhance OpenTelemetry Span Logging with Query Settings

Enhance OpenTelemetry span logging to include query settings. #70011 (sharathks118).
Enhance OpenTelemetry span logging to include query settings.

Why it matters

This feature improves observability and debugging by enriching OpenTelemetry tracing spans with detailed query settings information. It helps users gain deeper insights into query execution context and configuration, facilitating better performance analysis and troubleshooting.

How to use it

To use this feature, ensure that OpenTelemetry tracing is enabled in your ClickHouse server configuration. The query settings will automatically be included in the spans emitted for each query without additional user intervention.