Closed jmacd closed 1 year ago
Isn't this a duplciate of #384?
Isn't this a duplciate of https://github.com/open-telemetry/opentelemetry-proto/pull/384?
Oh, yes!
cc/ @blumamir I closed #384 in favor of this.
@Oberon00 We are planning to merge this soon. Please take a last look, etc ;)
As discussed in https://github.com/open-telemetry/opentelemetry-specification/issues/3411 and https://github.com/open-telemetry/opentelemetry-proto/issues/382, the OpenTelemetry Span object does not record the trace flags that were provided in its Trace Context.
For a tail sampler to sample spans using mechanism consistent with head sampling, the flags must be available in the protocol. W3C reserves 8 bits for these flags, of which two are defined. I've added 32-bit fields in the protocol for the span and the span link here.