Skip to content

Conversation

mwear
Copy link
Member

@mwear mwear commented Jul 24, 2019

I believe there is an issue with the the processing model as it is currently written. The spec says:

Every tracing tool MUST properly set traceparent even when it only relies on vendor-specific information in tracestate

Therefore, receiving a tracestate header without a traceparent should be an invalid case.

The No traceparent Received section can be interpreted such that a tracing system that receives a tracestate header without an accompanying traceparent header should append to and propagate that tracestate. This commit clarifies that a tracestate header received without a traceparent header is invalid. The received tracestate header should be discarded and a new tracestate should be created.

There's a chance I'm mistaken. If am, perhaps we could find a way to clarify this situation further in the spec.

As the processing model was written, it can be interpreted such that a
tracing system that receives a tracestate header without an
accompanying traceparent header is valid, and that it should append to
and propagate that tracestate. This commit clarifies that a tracestate
header received without a traceparent header is invalid, and a new
tracestate should be created.
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed

@danielkhan
Copy link
Contributor

Marked as non substantive for IPR from ash-nazg.

@danielkhan danielkhan merged commit 9124bd8 into w3c:master Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants