Skip to content

Commit 674eddf

Browse files
authored
feat: Expose required things for React Native auto tracing (#3144)
* feat: Expose required things for react native tracing * ref: Only export what's needed from request
1 parent d14d109 commit 674eddf

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

packages/tracing/src/browser/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
export { BrowserTracing } from './browsertracing';
2+
export {
3+
registerRequestInstrumentation,
4+
RequestInstrumentationOptions,
5+
defaultRequestInstrumentationOptions,
6+
} from './request';

packages/tracing/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ const Integrations = { ...TracingIntegrations, BrowserTracing };
77
export { Integrations };
88
export { Span } from './span';
99
export { Transaction } from './transaction';
10-
10+
export {
11+
registerRequestInstrumentation,
12+
RequestInstrumentationOptions,
13+
defaultRequestInstrumentationOptions,
14+
} from './browser';
1115
export { SpanStatus } from './spanstatus';
16+
export { IdleTransaction } from './idletransaction';
17+
export { startIdleTransaction } from './hubextensions';
1218

1319
// We are patching the global object with our hub extension methods
1420
addExtensionMethods();

0 commit comments

Comments
 (0)