Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -320,7 +320,7 @@ Example: `vendorname1=opaqueValue1,vendorname2=opaqueValue2`

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`
`congo=congosSecondPosition,rojo=rojosFirstPosition,congo=congosFirstPosition`

@zacharycmontoya zacharycmontoya Jul 6, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't see a reason to change this tracestate value, since the one several lines later in the doc is the correct one. This line is supposed to show a wrong example, so the previous value works just as well as the newly proposed value

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I know that this example shows an invalid tracestate, but it was confusing when I read it, since the order of creation should be from right to left.
I believe it would show the problem in a better way by making the suggested change.

As a side-note, accepting PR's (if they are not flat out wrong) builds more engagement and makes the community stronger :)


Instead, the entry would be rewritten to only include the most recent position:
`congo=congosSecondPosition,rojo=rojosFirstPosition`
Expand Down