Skip to content

Commit

Permalink
SDKs should support customizable IDs for backends
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanielRN committed Oct 14, 2020
1 parent 507884f commit 87c7c45
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,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 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`.

### Shutdown

This method provides a way for provider to do any cleanup required.
Expand Down

0 comments on commit 87c7c45

Please sign in to comment.