Skip to content

Commit 2cf4af0

Browse files
committed
set enableMeasurements to be true by default
1 parent d696e62 commit 2cf4af0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/tracing/src/browser/browsertracing.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface BrowserTracingOptions extends RequestInstrumentationOptions {
2323
/**
2424
* Flag to attach measurements to transactions.
2525
*
26-
* Default: false
26+
* Default: true
2727
* @hidden
2828
*/
2929
enableMeasurements: boolean;
@@ -103,7 +103,7 @@ export class BrowserTracing implements Integration {
103103

104104
/** Browser Tracing integration options */
105105
public options: BrowserTracingOptions = {
106-
enableMeasurements: false,
106+
enableMeasurements: true,
107107
beforeNavigate: defaultBeforeNavigate,
108108
idleTimeout: DEFAULT_IDLE_TIMEOUT,
109109
markBackgroundTransactions: true,

packages/tracing/test/browser/browsertracing.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('BrowserTracing', () => {
7676
const browserTracing = createBrowserTracing();
7777

7878
expect(browserTracing.options).toEqual({
79-
enableMeasurements: false,
79+
enableMeasurements: true,
8080
beforeNavigate: expect.any(Function),
8181
idleTimeout: DEFAULT_IDLE_TIMEOUT,
8282
markBackgroundTransactions: true,

0 commit comments

Comments
 (0)