Skip to content

[Feature]: Support OTLP first class fields in the search #7063

@yurishkuro

Description

@yurishkuro

Requirement

As a user I want to be able to search traces not only by span tags, but also by first class fields such as span.status, scope.name, etc.

Problem

The only top-level fields the search supports today are service/operation name and the timestamp/duration.

Proposal

Extend the internal Search API to allow specifying more first-class fields in designated fields of the search params, rather than via Tags map.

The UI experience can remain the same, we can instruct the users via tooltip that span.* and scope.* and resource.* tags will be directed to the corresponding parts of the trace, and some specific names like span.status will refer to the first-class field rather than a status attribute.

Open questions

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions