|
@@ -1,6 +1,6 @@
|
|
// eslint-disable-next-line simple-import-sort/imports
|
|
// eslint-disable-next-line simple-import-sort/imports
|
|
import * as Sentry from '@sentry/react';
|
|
import * as Sentry from '@sentry/react';
|
|
-import {type Event, _browserPerformanceTimeOriginMode} from '@sentry/core';
|
|
|
|
|
|
+import type {Event} from '@sentry/core';
|
|
|
|
|
|
import {SENTRY_RELEASE_VERSION, SPA_DSN} from 'sentry/constants';
|
|
import {SENTRY_RELEASE_VERSION, SPA_DSN} from 'sentry/constants';
|
|
import type {Config} from 'sentry/types/system';
|
|
import type {Config} from 'sentry/types/system';
|
|
@@ -234,7 +234,6 @@ export function initializeSdk(config: Config) {
|
|
// Track timeOrigin Selection by the SDK to see if it improves transaction durations
|
|
// Track timeOrigin Selection by the SDK to see if it improves transaction durations
|
|
Sentry.addEventProcessor((event: Sentry.Event, _hint?: Sentry.EventHint) => {
|
|
Sentry.addEventProcessor((event: Sentry.Event, _hint?: Sentry.EventHint) => {
|
|
event.tags = event.tags || {};
|
|
event.tags = event.tags || {};
|
|
- event.tags['timeOrigin.mode'] = _browserPerformanceTimeOriginMode;
|
|
|
|
return event;
|
|
return event;
|
|
});
|
|
});
|
|
|
|
|