Skip to content

Complete the TraceIdRatio specification #1826

@carlosalberto

Description

@carlosalberto

As part of the Sampling SIG (and as reported as part of #1819), TraceIdRatio is so far the preferred default sampler. However, related questions have arose, in order to complete such sampler specification:

  1. Use sufficiently random trace IDs, specify how to evaluate the ratio test directly from TraceID bits
  2. Propagate a new uniform random number in the range (0, 1] in the W3C tracestate to facilitate the ratio test
  3. Specify that TraceIDs need not be "very random" but dictate the use of a standard hashing algorithm.

One detail to be aware of here is that some vendors may be providing their existing ids, so we have to make sure this works in all scenarios.

cc @jmacd @tedsuo @anuraaga @yurishkuro

Metadata

Metadata

Assignees

Labels

area:samplingRelated to trace samplingarea:sdkRelated to the SDKspec:traceRelated to the specification/trace directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions