Skip to content

[FEATURE]: Support DD_TRACE_PROPAGATION_EXTRACT_FIRST #190

@sdwa0

Description

@sdwa0

Describe the goal of the feature

dd-trace-cpp doesn’t currently support DD_TRACE_PROPAGATION_EXTRACT_FIRST environment variable to configure the context extraction logic to stop when a valid one is found. Other dd-trace libraries support it.

Is there a particular reason it is not supported in dd-trace-cpp? Is there a plan to support it in dd-trace-cpp for consistency with other tracing libraries?

Is your feature request related to a problem?

The current context extraction logic takes the W3C headers into account regardless of the order of the propagation styles. So there is no way to configure it to prioritize other propagation styles e.g. Datadog over W3C.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions