Skip to content

Commit 6d06868

Browse files
committed
import getDynamicSamplingContextFromSpan from opentelemetry
1 parent 7a64f5d commit 6d06868

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

packages/node-experimental/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ export {
4747
extractRequestData,
4848
} from '@sentry/utils';
4949

50-
export { getDynamicSamplingContextFromSpan } from '@sentry/opentelemetry';
51-
5250
export {
5351
addBreadcrumb,
5452
isInitialized,

packages/remix/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"@sentry/cli": "^2.30.0",
5050
"@sentry/core": "8.0.0-alpha.2",
5151
"@sentry/node": "8.0.0-alpha.2",
52+
"@sentry/opentelemetry": "8.0.0-alpha.2",
5253
"@sentry/react": "8.0.0-alpha.2",
5354
"@sentry/types": "8.0.0-alpha.2",
5455
"@sentry/utils": "8.0.0-alpha.2",

packages/remix/src/utils/instrumentServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
startSpan,
1717
withIsolationScope,
1818
} from '@sentry/core';
19-
import { getDynamicSamplingContextFromSpan } from '@sentry/node';
19+
import { getDynamicSamplingContextFromSpan } from '@sentry/opentelemetry';
2020
import type { Span, TransactionSource, WrappedFunction } from '@sentry/types';
2121
import {
2222
addExceptionMechanism,

0 commit comments

Comments
 (0)