From 0ed0a4bace27fa8249b83ef3e3970d206bd6f704 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Mon, 28 Sep 2020 13:16:48 +0900 Subject: [PATCH] Allow SpanContext to be exposed directly on Span. --- specification/trace/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/trace/api.md b/specification/trace/api.md index 2aec5d92bc6..20e27c3a7c3 100644 --- a/specification/trace/api.md +++ b/specification/trace/api.md @@ -195,6 +195,8 @@ The API MUST implement methods to create a `SpanContext`. These methods SHOULD b create a `SpanContext`. This functionality MUST be fully implemented in the API, and SHOULD NOT be overridable. +The API MAY expose the functionality of `SpanContext` directly on the `Span` without a separate type. + ### Retrieving the TraceId and SpanId The API MUST allow retrieving the `TraceId` and `SpanId` in the following forms: