Skip to content

Make resource_attributes and span_status fast fields in otel-traces index - #6831

Open
oleksandr-zhyhalo wants to merge 1 commit into
quickwit-oss:mainfrom
rootprint:otel-traces-fast-fields
Open

oleksandr-zhyhalo wants to merge 1 commit into
quickwit-oss:mainfrom
rootprint:otel-traces-fast-fields

Conversation

@oleksandr-zhyhalo

@oleksandr-zhyhalo oleksandr-zhyhalo commented Sep 28, 2026 •

Copy link
Copy Markdown

Description

Maps resource_attributes and span_status as fast fields in the default otel-traces-v0_9 index. You can now aggregate on them, for example error rate by span_status.code or span counts per resource_attributes.k8s.namespace.name. The otel-logs-v0_9 index already maps resource_attributes as fast.

Splits indexed before the update have no fast columns for these two fields.

This PR also brings the doc mapping in docs/distributed-tracing/otel-service.md in line with the code. That copy still described otel-trace-v0_7 and had no is_root field.

How was this PR tested?

Ran cargo test -p quickwit-opentelemetry --lib otlp::traces. test_index_config_is_valid parses the new mapping, and test_create_index creates the index with it.

@oleksandr-zhyhalo
oleksandr-zhyhalo requested a review from a team as a code owner September 28, 2026 16:42
@oleksandr-zhyhalo oleksandr-zhyhalo changed the title Make resource_attributes and span_status fast in otel traces index Make resource_attributes and span_status fast fields in otel-traces index Sep 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant