Skip to content

Clarify the requirements of short trace-id in section 8.4 #379

@justinfoote

Description

@justinfoote

Several of our engineers have been tripped up by the language in section 8.4 -- they've interpreted it to mean that they should accept a traceparent with a short traceId, like this:

00-24160746bbaecabc-393951cc1a8d5e9e-00

There is a test asserting that implementations restart the trace if such a traceparent header is received: https://github.com/w3c/trace-context/blob/master/test/test.py#L303

I'd like us to clarify that the non-normative section 8.4 only applies to accepting short traceIds from legacy non-compliant tracers in a non-w3c payload format, and that it doesn't change the normative traceparent requirements in section 3.2.

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