Closed SergeyKanzhelev closed 4 years ago
I would avoid strong types. HTTP headers themselves don't have types, what is special about correlation context that requires types?
It was discussed today at workshop and there were no scenarios suggested that would require protocol to support types. Let's re-open when the feature will be requested
Copy from https://github.com/w3c/trace-context/issues/22
Some tracing vendors support types for the context properties. We can add
type
property to allow an explicit type specification. Something like this:Boolean
Binary flag. Supported values
1
for true and0
for false.Examples:
Number
Numeric value as described in IEEE 754-2008 binary64 (double precision) numbers IEEE754.
Examples: