Skip to content

Add Keys function to Header #1867

Open
@danharasymiw

Description

@danharasymiw

Proposed change

Add Keys function to Header.

Use case

It would be nice to be able to inject and extract tracing contexts on the Nat's Header.
The interface required for context injection/extraction with opentelemetry is defined here: TextMapCarrier

Adding a Keys function to Header would satisfy this interface.

Contribution

#1868

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalEnhancement idea or proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions