Skip to content

Commit

Permalink
Reorder points on ID generation
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielRN committed Nov 29, 2020
1 parent 851e3f4 commit c946d3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,12 @@ Note: Implementation-wise, this could mean that `Tracer` instances have a
reference to their `TracerProvider` and access configuration only via this
reference.

The SDK MUST by default randomly generate the bytes for both the `TraceId` and
the `SpanId`.

The SDK MUST provide a mechanism for customizing the way IDs are generated for
both the `TraceId` and the `SpanId`.

The SDK SHOULD by default randomly generate the bytes for both the `TraceId` and
the `SpanId`.

The SDK MAY provide this functionality by allowing custom implementations of
an interface like `IdsGenerator` below, which provides extension points for two
methods, one to generate a `SpanID` and one to generate a `TraceId`.
Expand Down

0 comments on commit c946d3c

Please sign in to comment.