Skip to content

Commit c8e5c3e

Browse files
authored
Update __init__.py (#3448)
1 parent 3f0d03b commit c8e5c3e

File tree

1 file changed

+6
-1
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/trace

1 file changed

+6
-1
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,12 @@ def wrapper(self, *args, **kwargs):
344344

345345

346346
class ReadableSpan:
347-
"""Provides read-only access to span attributes"""
347+
"""Provides read-only access to span attributes.
348+
349+
Users should NOT be creating these objects directly. `ReadableSpan`s are created as
350+
a direct result from using the tracing pipeline via the `Tracer`.
351+
352+
"""
348353

349354
def __init__(
350355
self,

0 commit comments

Comments
 (0)