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 2
2
3
3
import sentry_sdk
4
4
from 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
6
6
7
7
if TYPE_CHECKING :
8
8
from typing import Any , Optional
Original file line number Diff line number Diff line change 8
8
9
9
# TODO-neel-potel make 2 scope strategies/impls and switch
10
10
from sentry_sdk .scope import Scope as BaseScope
11
- from sentry_sdk .integrations . opentelemetry .scope import (
11
+ from sentry_sdk .opentelemetry .scope import (
12
12
PotelScope as Scope ,
13
13
new_scope ,
14
14
isolation_scope ,
Original file line number Diff line number Diff line change 15
15
if TYPE_CHECKING :
16
16
from typing import Optional
17
17
from contextvars import Token
18
- import sentry_sdk .integrations . opentelemetry .scope as scope
18
+ import sentry_sdk .opentelemetry .scope as scope
19
19
20
20
21
21
class SentryContextVarsRuntimeContext (ContextVarsRuntimeContext ):
Original file line number Diff line number Diff line change 36
36
37
37
if TYPE_CHECKING :
38
38
from typing import Optional , Set
39
- import sentry_sdk .integrations . opentelemetry .scope as scope
39
+ import sentry_sdk .opentelemetry .scope as scope
40
40
41
41
42
42
class 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):
85
85
"unleash" : ["UnleashClient>=6.0.1" ],
86
86
},
87
87
entry_points = {
88
- "opentelemetry_propagator" : ["sentry=sentry_sdk.opentelemetry:SentryPropagator" ]
88
+ "opentelemetry_propagator" : [
89
+ "sentry=sentry_sdk.opentelemetry:SentryPropagator"
90
+ ],
89
91
},
90
92
classifiers = [
91
93
"Development Status :: 5 - Production/Stable" ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def benchmark():
63
63
64
64
65
65
from sentry_sdk import scope
66
- from sentry_sdk .integrations . opentelemetry .scope import (
66
+ from sentry_sdk .opentelemetry .scope import (
67
67
setup_scope_context_management ,
68
68
setup_initial_scopes ,
69
69
)
Original file line number Diff line number Diff line change 15
15
ScopeType ,
16
16
should_send_default_pii ,
17
17
)
18
- from sentry_sdk .integrations . opentelemetry .scope import (
18
+ from sentry_sdk .opentelemetry .scope import (
19
19
PotelScope as Scope ,
20
20
use_scope ,
21
21
use_isolation_scope ,
You can’t perform that action at this time.
0 commit comments