Skip to content

Support for a codec that can create Span Events from OpenTelemetry traces #6650

Closed
opensearch-project/documentation-website
#12450

Description

@graytaylor0

Is your feature request related to a problem? Please describe.
As a user of OpenTelemetry with traces, I would like to create pull-based pipeline that can pull the traces from sources like S3 or Kinesis Data Streams, and extract the spans and send them downstream to other processors and sinks.

Currently, the otel_traces and service_map rely on Span types, which does not work as is with the json codec.

Describe the solution you'd like
Either a new otel_traces codec, or an option under the existing json codec that will convert data into Spans from traces.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. dlvenable commented on Mar 24, 2026

    @dlvenable
    Member

    We did something similar to this for OTel logs in #5028.

    Following that pattern, we could support:

    codec:
      otel_traces:
        format: json
    
  2. added
    enhancementNew feature or request
    plugin - codecSource or sink codecs for Data Prepper
    and removed on Mar 24, 2026
  3. divbok commented on Mar 24, 2026

    @divbok
    Collaborator

    I wil work on this

  4. dlvenable commented on Mar 24, 2026

    @dlvenable
    Member

    Thank you @divbok for working this!

  5. added this to the v2.16 milestone on May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestplugin - codecSource or sink codecs for Data Prepper

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions