From a94e15d09c09aa2f620ed74c5fd8dc30e3b8a9c0 Mon Sep 17 00:00:00 2001 From: Nathaniel Ruiz Nowell Date: Sat, 21 Nov 2020 02:26:06 -0800 Subject: [PATCH] Reorder points on ID generation --- specification/trace/sdk.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/trace/sdk.md b/specification/trace/sdk.md index 19451620bb3..e089a4283df 100644 --- a/specification/trace/sdk.md +++ b/specification/trace/sdk.md @@ -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`.