Skip to content

Commit

Permalink
WIEP
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Aug 16, 2024
1 parent 684eb3a commit 2e0a623
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion opentelemetry-sdk/src/opentelemetry/sdk/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,8 +1210,12 @@ def __init__(
self._resource = Resource.create({})
else:
self._resource = resource

1 / 0

if not sampler:
sampler = sampling._get_from_env_or_default()
# sampler = sampling._get_from_env_or_default()
self.sampler = 1
self._shutdown_on_exit = self._shutdown_on_exit
self.sampler = sampler
self._span_limits = span_limits or SpanLimits()
Expand Down

0 comments on commit 2e0a623

Please sign in to comment.