v.23.3Improvement

Add 'kind' Column to system.opentelemetry_span_log for SpanKind Values

Add a new column kind to the system.opentelemetry_span_log. This column holds the value of SpanKind defined in OpenTelemtry. #47499 (Frank Chen).
Added a new column kind to the system.opentelemetry_span_log table that stores the OpenTelemetry SpanKind value for each span.

Why it matters

This feature enhances observability by providing explicit information about the type of span (such as client, server, producer, consumer, or internal) directly within ClickHouse's OpenTelemetry span logs, enabling better trace analysis and filtering.

How to use it

Users can access the new kind column in the system.opentelemetry_span_log table as part of their query results without any additional configuration. Just query the table normally to retrieve the kind data.