Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions packages/browser-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,49 @@ export {
addTtfbInstrumentationHandler,
addLcpInstrumentationHandler,
addInpInstrumentationHandler,
} from './metrics/instrument';
} from './instrumentation/performanceObserver';

export {
addPerformanceEntries,
addWebVitalsToSpan,
startTrackingInteractions,
startTrackingLongTasks,
startTrackingLongAnimationFrames,
} from './performance/entries';

export {
addWebVitalsToSpan,
// eslint-disable-next-line typescript/no-deprecated
startTrackingWebVitals,
registerInpInteractionListener,
} from './metrics/browserMetrics';
} from './web-vitals/tracking';

// eslint-disable-next-line typescript/no-deprecated
export { elementTimingIntegration, startTrackingElementTiming } from './metrics/elementTiming';
export { elementTimingIntegration, startTrackingElementTiming } from './performance/elementTiming';

export { userTimingIntegration } from './metrics/userTiming';
export { userTimingIntegration } from './performance/userTiming';

export { extractNetworkProtocol } from './metrics/utils';
export { extractNetworkProtocol } from './performance/utils';

export { trackClsAsSpan, trackInpAsSpan, trackLcpAsSpan } from './metrics/webVitalSpans';
export { trackClsAsSpan, trackInpAsSpan, trackLcpAsSpan } from './web-vitals/spans';

export { whenIdleOrHidden } from './metrics/web-vitals-helpers/whenIdleOrHidden';
export { whenIdleOrHidden } from './web-vitals/utils';

export { addClickKeypressInstrumentationHandler } from './instrument/dom';
export { addClickKeypressInstrumentationHandler } from './instrumentation/dom';

export { addHistoryInstrumentationHandler } from './instrument/history';
export { addHistoryInstrumentationHandler } from './instrumentation/history';

export { fetch, setTimeout, clearCachedImplementation, getNativeImplementation } from './getNativeImplementation';

export { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from './instrument/xhr';
export { addXhrInstrumentationHandler, SENTRY_XHR_DATA_KEY } from './instrumentation/xhr';

export { getBodyString, getFetchRequestArgBody, serializeFormData, parseXhrResponseHeaders } from './networkUtils';

export { resourceTimingToSpanAttributes } from './metrics/resourceTiming';
export { resourceTimingToSpanAttributes } from './performance/resourceTiming';

export { htmlTreeAsString } from './htmlTreeAsString';

export { isElement } from './is';

export { getAbsoluteUrl } from './instrument/location';
export { getAbsoluteUrl } from './instrumentation/location';

export type { FetchHint, NetworkMetaWarning, XhrHint } from './types';

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { IntegrationFn } from '@sentry/core';
import { browserPerformanceTimeOrigin, defineIntegration, metrics } from '@sentry/core';
import { addPerformanceInstrumentationHandler } from './instrument';
import { addPerformanceInstrumentationHandler } from '../instrumentation/performanceObserver';
import { getBrowserPerformanceAPI } from './utils';

// ElementTiming interface based on the W3C spec
Expand Down
Loading
Loading