11"""
2- EXPERIMENTAL. Do not use in production.
3-
42The API in this file is only meant to be used in span streaming mode.
53
64You can enable span streaming mode via
@@ -98,9 +96,6 @@ def start_span(
9896 """
9997 Start a span.
10098
101- EXPERIMENTAL. Use sentry_sdk.start_transaction() and sentry_sdk.start_span()
102- instead.
103-
10499 The span's parent, unless provided explicitly via the `parent_span` argument,
105100 will be the current active span, if any. If there is none, this span will
106101 become the root of a new span tree. If you explicitly want this span to be
@@ -172,8 +167,6 @@ def continue_trace(incoming: "dict[str, Any]") -> None:
172167 """
173168 Continue a trace from headers or environment variables.
174169
175- EXPERIMENTAL. Use sentry_sdk.continue_trace() instead.
176-
177170 This function sets the propagation context on the scope. Any span started
178171 in the updated scope will belong under the trace extracted from the
179172 provided propagation headers or environment variables.
@@ -198,8 +191,6 @@ def new_trace() -> None:
198191 """
199192 Resets the propagation context, forcing a new trace.
200193
201- EXPERIMENTAL.
202-
203194 This function sets the propagation context on the scope. Any span started
204195 in the updated scope will start its own trace.
205196
@@ -696,8 +687,6 @@ def trace(
696687 """
697688 Decorator to start a span around a function call.
698689
699- EXPERIMENTAL. Use @sentry_sdk.trace instead.
700-
701690 This decorator automatically creates a new span when the decorated function
702691 is called, and finishes the span when the function returns or raises an exception.
703692
0 commit comments