File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
src/opentelemetry/file_configuration/_internal
opentelemetry-sdk/src/opentelemetry/sdk/trace Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 44@session (python = ["3.11" ], reuse_venv = True )
55def test (session ):
66 session .install ("." )
7- session .install ("-r" , "requirements.txt" )
8- session .install ("../opentelemetry-api" )
9- session .install ("../opentelemetry-semantic-conventions" )
7+ # session.install("-r", "requirements.txt")
8+ # session.install("../opentelemetry-api")
9+ # session.install("../opentelemetry-semantic-conventions")
1010 session .install ("../opentelemetry-sdk" )
1111
1212 if session .posargs :
Original file line number Diff line number Diff line change @@ -161,6 +161,9 @@ def function(probability: float) -> SometimesMondaysOnSampler:
161161
162162def resolve_schema (json_file_path ) -> dict :
163163
164+ from ipdb import set_trace
165+ set_trace ()
166+
164167 root_path = json_file_path .absolute ()
165168
166169 with open (json_file_path , "r" ) as json_file :
Original file line number Diff line number Diff line change @@ -1211,12 +1211,10 @@ def __init__(
12111211 else :
12121212 self ._resource = resource
12131213
1214- 1 / 0
1215-
1214+ self ._shutdown_on_exit = shutdown_on_exit
12161215 if not sampler :
12171216 # sampler = sampling._get_from_env_or_default()
12181217 self .sampler = 1
1219- self ._shutdown_on_exit = self ._shutdown_on_exit
12201218 self .sampler = sampler
12211219 self ._span_limits = span_limits or SpanLimits ()
12221220 disabled = environ .get (OTEL_SDK_DISABLED , "" )
@@ -1227,8 +1225,6 @@ def __init__(
12271225 self ._atexit_handler = atexit .register (self .shutdown )
12281226
12291227 def __repr__ (self ) -> str :
1230- from ipdb import set_trace
1231- set_trace ()
12321228 return (
12331229 f"{ self .__class__ .__name__ } ("
12341230 f"sampler={ repr (self .sampler )} ,"
You can’t perform that action at this time.
0 commit comments