diff --git a/sentry_sdk/client.py b/sentry_sdk/client.py index 2c99394cd1..03ed439b71 100644 --- a/sentry_sdk/client.py +++ b/sentry_sdk/client.py @@ -30,7 +30,7 @@ VERSION, ClientConstructor, ) -from sentry_sdk.integrations import _DEFAULT_INTEGRATIONS, setup_integrations +from sentry_sdk.integrations import setup_integrations from sentry_sdk.sessions import SessionFlusher from sentry_sdk.envelope import Envelope from sentry_sdk.profiler.continuous_profiler import setup_continuous_profiler @@ -345,18 +345,6 @@ def _capture_envelope(envelope): ) ) - if self.options["_experiments"].get("otel_powered_performance", False): - logger.debug( - "[OTel] Enabling experimental OTel-powered performance monitoring." - ) - if ( - "sentry_sdk.integrations.opentelemetry.integration.OpenTelemetryIntegration" - not in _DEFAULT_INTEGRATIONS - ): - _DEFAULT_INTEGRATIONS.append( - "sentry_sdk.integrations.opentelemetry.integration.OpenTelemetryIntegration", - ) - self.integrations = setup_integrations( self.options["integrations"], with_defaults=self.options["default_integrations"], diff --git a/sentry_sdk/integrations/__init__.py b/sentry_sdk/integrations/__init__.py index 35f809bde7..9fef954939 100644 --- a/sentry_sdk/integrations/__init__.py +++ b/sentry_sdk/integrations/__init__.py @@ -65,6 +65,7 @@ def iter_default_integrations(with_auto_enabling_integrations): "sentry_sdk.integrations.excepthook.ExcepthookIntegration", "sentry_sdk.integrations.logging.LoggingIntegration", "sentry_sdk.integrations.modules.ModulesIntegration", + "sentry_sdk.integrations.opentelemetry.integration.OpenTelemetryIntegration", "sentry_sdk.integrations.stdlib.StdlibIntegration", "sentry_sdk.integrations.threading.ThreadingIntegration", ]