Skip to content

Proposal: Allow common base64 encoding in tracestate values #551

@feldentm-SAP

Description

@feldentm-SAP

Problem

SAP would like to encode context information from existing widely-used correlators into tracestate header parts.
These correlators use data that is a structured record of raw binary data.
We tried to use a compact representation of required data, but had to learn that we cannot encode them in common base64 encodings.
Using hex encoding instead would be unpleasant because we would exceed the tracestate length limits.

Proposal in tracestate Values

In 3.3.2.2.2 Value we would need to remove the except '=' clause to allow the '=' padding characters used by common base64 encodings.

Note: This would reflect the rules currently used in the baggage standard: https://www.w3.org/TR/baggage/#value

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