Skip to content

Commit 841bd02

Browse files
committed
move to opentelemetry
1 parent 4b3284c commit 841bd02

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

sentry_sdk/integrations/opentelemetry/integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from 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
1313
from sentry_sdk.utils import logger
1414

1515
try:

sentry_sdk/integrations/opentelemetry/span_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313

1414
import sentry_sdk
1515
from sentry_sdk.consts import SPANDATA
16-
from sentry_sdk.sampler import create_sampling_context
1716
from sentry_sdk.tracing import DEFAULT_SPAN_ORIGIN
1817
from sentry_sdk.utils import get_current_thread_meta
18+
from sentry_sdk.opentelemetry.sampler import create_sampling_context
1919
from sentry_sdk.profiler.continuous_profiler import (
2020
try_autostart_continuous_profiler,
2121
get_profiler_id,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from sentry_sdk.opentelemetry.sampler import SentrySampler
2+
3+
__all__ = [
4+
"SentrySampler",
5+
]
File renamed without changes.

0 commit comments

Comments
 (0)