Skip to content

Commit

Permalink
make wording around duplicate tracestate headers more precise
Browse files Browse the repository at this point in the history
Participants must not add duplicated tracestate keys, but they are not
responsible for cleaning up duplicated tracestate keys that another
updstream participant has added.

fixes #548
  • Loading branch information
Bastian Krol committed Nov 6, 2023
1 parent 551a5b0 commit 662b959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/20-http_request_header_format.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ The `tracestate` value is the concatenation of trace graph key/value pairs.

Example: `vendorname1=opaqueValue1,vendorname2=opaqueValue2`

Only one entry per key is allowed. For example, if a vendor name is Congo and a trace started in their system and then went through a system named Rojo and later returned to Congo, the `tracestate` value would not be:
Tracing tools are not supposed to add the same header multiple times. For example, if a vendor name is Congo and a trace started in their system and then went through a system named Rojo and later returned to Congo, the `tracestate` value would not be:

`congo=congosFirstPosition,rojo=rojosFirstPosition,congo=congosSecondPosition`

Expand Down

0 comments on commit 662b959

Please sign in to comment.