From c8e5c3e96c25e0621c4234a720d27cf75a594bc4 Mon Sep 17 00:00:00 2001 From: Leighton Chen Date: Tue, 26 Sep 2023 10:33:13 -0700 Subject: [PATCH] Update __init__.py (#3448) --- opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py b/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py index 0e4867a5c87..ea015bc6068 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py @@ -344,7 +344,12 @@ def wrapper(self, *args, **kwargs): class ReadableSpan: - """Provides read-only access to span attributes""" + """Provides read-only access to span attributes. + + Users should NOT be creating these objects directly. `ReadableSpan`s are created as + a direct result from using the tracing pipeline via the `Tracer`. + + """ def __init__( self,