File tree Expand file tree Collapse file tree 8 files changed +9
-7
lines changed Expand file tree Collapse file tree 8 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22
33import sentry_sdk
44from sentry_sdk .consts import ClientConstructor
5- from sentry_sdk .integrations . opentelemetry .scope import setup_scope_context_management
5+ from sentry_sdk .opentelemetry .scope import setup_scope_context_management
66
77if TYPE_CHECKING :
88 from typing import Any , Optional
Original file line number Diff line number Diff line change 88
99# TODO-neel-potel make 2 scope strategies/impls and switch
1010from sentry_sdk .scope import Scope as BaseScope
11- from sentry_sdk .integrations . opentelemetry .scope import (
11+ from sentry_sdk .opentelemetry .scope import (
1212 PotelScope as Scope ,
1313 new_scope ,
1414 isolation_scope ,
Original file line number Diff line number Diff line change 1515if TYPE_CHECKING :
1616 from typing import Optional
1717 from contextvars import Token
18- import sentry_sdk .integrations . opentelemetry .scope as scope
18+ import sentry_sdk .opentelemetry .scope as scope
1919
2020
2121class SentryContextVarsRuntimeContext (ContextVarsRuntimeContext ):
Original file line number Diff line number Diff line change 3636
3737if TYPE_CHECKING :
3838 from typing import Optional , Set
39- import sentry_sdk .integrations . opentelemetry .scope as scope
39+ import sentry_sdk .opentelemetry .scope as scope
4040
4141
4242class SentryPropagator (TextMapPropagator ):
File renamed without changes.
Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ def get_file_text(file_name):
8585 "unleash" : ["UnleashClient>=6.0.1" ],
8686 },
8787 entry_points = {
88- "opentelemetry_propagator" : ["sentry=sentry_sdk.opentelemetry:SentryPropagator" ]
88+ "opentelemetry_propagator" : [
89+ "sentry=sentry_sdk.opentelemetry:SentryPropagator"
90+ ],
8991 },
9092 classifiers = [
9193 "Development Status :: 5 - Production/Stable" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def benchmark():
6363
6464
6565from sentry_sdk import scope
66- from sentry_sdk .integrations . opentelemetry .scope import (
66+ from sentry_sdk .opentelemetry .scope import (
6767 setup_scope_context_management ,
6868 setup_initial_scopes ,
6969)
Original file line number Diff line number Diff line change 1515 ScopeType ,
1616 should_send_default_pii ,
1717)
18- from sentry_sdk .integrations . opentelemetry .scope import (
18+ from sentry_sdk .opentelemetry .scope import (
1919 PotelScope as Scope ,
2020 use_scope ,
2121 use_isolation_scope ,
You can’t perform that action at this time.
0 commit comments