Skip to content

Commit

Permalink
trailing ws
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacd committed Feb 12, 2025
1 parent ffebc0a commit d9dd09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/trace/tracestate-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ For example, here is a W3C TraceState value including an OpenTelemetry explicit
tracestate: ot=rv:6e6d1a75832a2f
```

This corresponds with the explicit randomness value, an unsigned integer value, of 0x6e6d1a75832a2f. This randomness value is meant to be used instead of the least-significant 56 bits of the TraceID. In this example, the 56-bit fraction (i.e., 0x6e6d1a75832a2f / 0x100000000000000) implies making a consistent positive sampling decision at probabilities ranging from 41.1% through 100% (i.e., rejection thresohld values 0x6e6d1a75832a2f through 0), the same as for a hexadecimal TraceID ending in 6e6d1a75832a2f without explicit randomness value.
This corresponds with the explicit randomness value, an unsigned integer value, of 0x6e6d1a75832a2f. This randomness value is meant to be used instead of the least-significant 56 bits of the TraceID. In this example, the 56-bit fraction (i.e., 0x6e6d1a75832a2f / 0x100000000000000) implies making a consistent positive sampling decision at probabilities ranging from 41.1% through 100% (i.e., rejection thresohld values 0x6e6d1a75832a2f through 0), the same as for a hexadecimal TraceID ending in 6e6d1a75832a2f without explicit randomness value.

0 comments on commit d9dd09f

Please sign in to comment.