Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 0 additions & 9 deletions sentry_sdk/integrations/opentelemetry/scope.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import warnings

from typing import cast
from contextlib import contextmanager

Expand Down Expand Up @@ -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)


Expand Down
Loading