Skip to content

[BUG] Unoptimized text field used for traceGroup #1215

@dlvenable

Description

@dlvenable

Describe the bug

Saving trace data to OpenSearch is producing the following error:

[illegal_argument_exception] Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [traceGroup] in order to load field data by uninverting the inverted index. Note that this can use significant memory.

Environment (please complete the following information):

  • OS: Docker image
  • Version 1.2.1
  • OpenSearch: 1.0
  • OTel Collector 0.37.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions