v.22.7Improvement

OpenTelemetry Default Changes: Trace Collection Updated to Exclude Processors Spans

OpenTelemetry now collects traces without Processors spans by default (there are too many). To enable Processors spans collection opentelemetry_trace_processors setting. #39170 (Ilya Yatsishin).
OpenTelemetry integration in ClickHouse now collects traces without including Processor spans by default.

Why it matters

This change reduces the volume of collected spans by excluding Processor spans, which are typically numerous and may add overhead. It improves trace clarity and performance for users using OpenTelemetry tracing in ClickHouse.

How to use it

To enable collection of Processor spans in traces, set the configuration option opentelemetry_trace_processors to true in the ClickHouse server settings.