UNPKG

@sentry/ember

Version:
12 lines (11 loc) 977 B
import type ApplicationInstance from '@ember/application/instance'; import type { startBrowserTracingNavigationSpan as startBrowserTracingNavigationSpanType, startBrowserTracingPageLoadSpan as startBrowserTracingPageLoadSpanType } from '@sentry/browser'; import type { Client } from '@sentry/core'; import type { EmberRouterMain } from '../types'; export declare function instrumentEmberAppInstanceForPerformance(client: Client, appInstance: ApplicationInstance, config: { disableRunloopPerformance?: boolean; instrumentPageLoad?: boolean; instrumentNavigation?: boolean; }, startBrowserTracingPageLoadSpan: typeof startBrowserTracingPageLoadSpanType, startBrowserTracingNavigationSpan: typeof startBrowserTracingNavigationSpanType): void; export declare function _getRouteUrlAttributes(url: string, params?: Record<string, unknown>, fullUrl?: string): Record<string, string>; export declare function _getLocationURL(location: EmberRouterMain['location']): string;