Document interoperability for OpenTelemetry sampling specifications #4243
Labels
sig-issue
A specific SIG should look into this before discussing at the spec
spec:trace
Related to the specification/trace directory
What are you trying to achieve?
OpenTelemetry has pending tracing specification work, #4162 and #4166. These specification documents do not provide any detail for vendors with existing sampling systems to consider for interoperability.
What did you expect to see?
We have one existing prototype that shows a viable approach, and this approach could be documented in the form of a supplementary guideline.
In this example, the Probabilistic Sampler processor has this snippet of code:
To address this issue, we should document and vet the process used above, which synthesizes an explicit randomness value to justify an alternative consistent sampling decision. In that sampler (legacy),
In the interoperability logic shown above,
Later in the code path
This logic is enabled when there is no incoming TraceState w/ existing OpenTelemetry TraceState sampling fields. The sampler reports an error when the arriving trace state already has open telemetry sampling information (Threshold or Explicit randomness value).
The text was updated successfully, but these errors were encountered: