diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index e90f63cbaf..0975b0406c 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -21,6 +21,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh ### Removed +- Spans no longer have a `description`. Use `name` instead. - Dropped support for Python 3.6. - `sentry_sdk.metrics` and associated metrics APIs have been removed as Sentry no longer accepts metrics data in this form. See https://sentry.zendesk.com/hc/en-us/articles/26369339769883-Upcoming-API-Changes-to-Metrics - The experimental options `enable_metrics`, `before_emit_metric` and `metric_code_locations` have been removed. diff --git a/sentry_sdk/integrations/opentelemetry/scope.py b/sentry_sdk/integrations/opentelemetry/scope.py index 11714fda53..0c0087dae1 100644 --- a/sentry_sdk/integrations/opentelemetry/scope.py +++ b/sentry_sdk/integrations/opentelemetry/scope.py @@ -1,5 +1,3 @@ -import warnings - from typing import cast from contextlib import contextmanager @@ -125,13 +123,6 @@ def start_transaction(self, custom_sampling_context=None, **kwargs): def start_span(self, custom_sampling_context=None, **kwargs): # type: (Optional[SamplingContext], Any) -> POTelSpan - if kwargs.get("description") is not None: - warnings.warn( - "The `description` parameter is deprecated. Please use `name` instead.", - DeprecationWarning, - stacklevel=2, - ) - return POTelSpan(**kwargs, scope=self)