Skip to content

Trace context not propagated in dynamic WebSocket input #4293

Description

@NAIM6246

Hello,
We’re currently implementing distributed tracing in our system and ran into an issue with dynamic WebSocket input. We have an upstream service sending messages to redpanda-connect over dynamic websocket input. These messages already include trace context (traceparent / tracestate).
The problem here is when messages arrives via the dynamic websocket input:

  • Benthos does not continue the existing trace context.
  • Instead, it starts a new root trace.
    As a result, we end up with two separate traces:
  1. One from the upstream service → until Benthos
  2. Another from Benthos → downstream services
    These traces are not linked, breaking end-to-end observability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions