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 authored and basti1302 committed Nov 14, 2023
1 parent 7eff747 commit 07c7c4f
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 07c7c4f

Please sign in to comment.