File tree Expand file tree Collapse file tree 16 files changed +74
-118
lines changed
tracing-internal/src/exports Expand file tree Collapse file tree 16 files changed +74
-118
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,6 @@ export {
6969 addTracingExtensions ,
7070 setMeasurement ,
7171 // eslint-disable-next-line deprecation/deprecation
72- extractTraceparentData ,
73- // eslint-disable-next-line deprecation/deprecation
7472 getActiveTransaction ,
7573 getSpanStatusFromHttpCode ,
7674 setHttpStatus ,
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ export {
3232 captureMessage ,
3333 close ,
3434 createTransport ,
35- // eslint-disable-next-line deprecation/deprecation
36- extractTraceparentData ,
3735 flush ,
3836 // eslint-disable-next-line deprecation/deprecation
3937 getActiveTransaction ,
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export type { BeforeFinishCallback } from './idletransaction';
44export { Span } from './span' ;
55export { Transaction } from './transaction' ;
66// eslint-disable-next-line deprecation/deprecation
7- export { extractTraceparentData , getActiveTransaction } from './utils' ;
7+ export { getActiveTransaction } from './utils' ;
88// eslint-disable-next-line deprecation/deprecation
99export { SpanStatus } from './spanstatus' ;
1010export {
Original file line number Diff line number Diff line change 11import type { Transaction } from '@sentry/types' ;
2- import { extractTraceparentData as _extractTraceparentData } from '@sentry/utils' ;
32
43import type { Hub } from '../hub' ;
54import { getCurrentHub } from '../hub' ;
@@ -20,17 +19,3 @@ export function getActiveTransaction<T extends Transaction>(maybeHub?: Hub): T |
2019
2120// so it can be used in manual instrumentation without necessitating a hard dependency on @sentry /utils
2221export { stripUrlQueryAndFragment } from '@sentry/utils' ;
23-
24- /**
25- * The `extractTraceparentData` function and `TRACEPARENT_REGEXP` constant used
26- * to be declared in this file. It was later moved into `@sentry/utils` as part of a
27- * move to remove `@sentry/tracing` dependencies from `@sentry/node` (`extractTraceparentData`
28- * is the only tracing function used by `@sentry/node`).
29- *
30- * These exports are kept here for backwards compatability's sake.
31- *
32- * See https://github.com/getsentry/sentry-javascript/issues/4642 for more details.
33- *
34- * @deprecated Import this function from `@sentry/utils` instead
35- */
36- export const extractTraceparentData = _extractTraceparentData ;
Original file line number Diff line number Diff line change @@ -30,8 +30,6 @@ export {
3030 captureMessage ,
3131 close ,
3232 createTransport ,
33- // eslint-disable-next-line deprecation/deprecation
34- extractTraceparentData ,
3533 continueTrace ,
3634 flush ,
3735 // eslint-disable-next-line deprecation/deprecation
Original file line number Diff line number Diff line change @@ -64,8 +64,6 @@ export {
6464 createGetModuleFromFilename ,
6565 close ,
6666 createTransport ,
67- // eslint-disable-next-line deprecation/deprecation
68- extractTraceparentData ,
6967 flush ,
7068 Hub ,
7169 runWithAsyncContext ,
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export {
3131 captureMessage ,
3232 close ,
3333 createTransport ,
34- // eslint-disable-next-line deprecation/deprecation
35- extractTraceparentData ,
3634 flush ,
3735 // eslint-disable-next-line deprecation/deprecation
3836 getActiveTransaction ,
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ export {
2323 captureMessage ,
2424 createTransport ,
2525 // eslint-disable-next-line deprecation/deprecation
26- extractTraceparentData ,
27- // eslint-disable-next-line deprecation/deprecation
2826 getActiveTransaction ,
2927 getHubFromCarrier ,
3028 // eslint-disable-next-line deprecation/deprecation
Original file line number Diff line number Diff line change @@ -82,8 +82,6 @@ export {
8282 getModuleFromFilename ,
8383 createGetModuleFromFilename ,
8484 metrics ,
85- // eslint-disable-next-line deprecation/deprecation
86- extractTraceparentData ,
8785 runWithAsyncContext ,
8886 consoleIntegration ,
8987 onUncaughtExceptionIntegration ,
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ export {
1616 withMonitor ,
1717 createTransport ,
1818 // eslint-disable-next-line deprecation/deprecation
19- extractTraceparentData ,
20- // eslint-disable-next-line deprecation/deprecation
2119 getActiveTransaction ,
2220 getHubFromCarrier ,
2321 // eslint-disable-next-line deprecation/deprecation
You can’t perform that action at this time.
0 commit comments