w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
322 stars 55 forks source link

Requesting TAG review for Trace Context Level 2 changes #777

Closed kalyanaj closed 1 year ago

kalyanaj commented 1 year ago

Hello TAG!

I'm requesting a TAG review of Trace Context Level 2 which is in FPWD.

What: The main difference from Trace Context Level 1 (which is already in recommendation status) is the ability to express whether at least a part of the traceID has been randomly (or pseudo-randomly) generated. Why: This enables downstream systems to use the trace ID for sampling purposes or for sharding purposes. How: This is achieved by the introduction of a new flag called "Random Trace ID flag". If the newly introduced random-trace-id flag is set, at least the right-most 7 bytes of the trace-id MUST be randomly (or pseudo-randomly) generated.

Further details:

You should also know that...

[please tell us anything you think is relevant to this review]

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback

maxpassion commented 1 year ago

Hi @kalyanaj , we had a discussion at our TAG meeting today and are generally happy with this proposal.