File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
integrations/opentelemetry Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 99from sentry_sdk .integrations .opentelemetry .span_processor import (
1010 SentrySpanProcessor ,
1111)
12- from sentry_sdk .sampler import SentrySampler
12+ from sentry_sdk .opentelemetry . sampler import SentrySampler
1313from sentry_sdk .utils import logger
1414
1515try :
Original file line number Diff line number Diff line change 1313
1414import sentry_sdk
1515from sentry_sdk .consts import SPANDATA
16- from sentry_sdk .sampler import create_sampling_context
1716from sentry_sdk .tracing import DEFAULT_SPAN_ORIGIN
1817from sentry_sdk .utils import get_current_thread_meta
18+ from sentry_sdk .opentelemetry .sampler import create_sampling_context
1919from sentry_sdk .profiler .continuous_profiler import (
2020 try_autostart_continuous_profiler ,
2121 get_profiler_id ,
Original file line number Diff line number Diff line change 1+ from sentry_sdk .opentelemetry .sampler import SentrySampler
2+
3+ __all__ = [
4+ "SentrySampler" ,
5+ ]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments