Skip to content

Commit 73e3163

Browse files
committed
remove experimental otel labels and otel_powered_performance flag
otel support is no longer experimental, clean up the warnings and the experiment flag from consts fixes #5028
1 parent 11d8a78 commit 73e3163

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

sentry_sdk/integrations/opentelemetry/integration.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
"""
2-
IMPORTANT: The contents of this file are part of a proof of concept and as such
3-
are experimental and not suitable for production use. They may be changed or
4-
removed at any time without prior notice.
2+
OpenTelemetry integration for Sentry.
53
"""
64

75
from sentry_sdk.integrations import DidNotEnable, Integration
@@ -32,10 +30,7 @@ class OpenTelemetryIntegration(Integration):
3230

3331
@staticmethod
3432
def setup_once() -> None:
35-
logger.warning(
36-
"[OTel] Initializing highly experimental OpenTelemetry support. "
37-
"Use at your own risk."
38-
)
33+
logger.debug("[OTel] Initializing OpenTelemetry support.")
3934

4035
_setup_sentry_tracing()
4136
# _setup_instrumentors()

sentry_sdk/traces.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
"""
2-
EXPERIMENTAL. Do not use in production.
3-
42
The API in this file is only meant to be used in span streaming mode.
53
64
You 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

Comments
 (0)