@sentry/ember
Version:
Official Sentry SDK for Ember.js
13 lines (12 loc) • 1.04 kB
TypeScript
import type ApplicationInstance from '@ember/application/instance';
import type RouterService from '@ember/routing/router-service';
import type { startBrowserTracingNavigationSpan as startBrowserTracingNavigationSpanType, startBrowserTracingPageLoadSpan as startBrowserTracingPageLoadSpanType } from '@sentry/browser';
import type { EmberRouterMain, EmberSentryConfig } from '../types';
export declare function initialize(appInstance: ApplicationInstance): void;
export declare function _getLocationURL(location: EmberRouterMain['location']): string;
export declare function _instrumentEmberRouter(routerService: RouterService, routerMain: EmberRouterMain, config: EmberSentryConfig, startBrowserTracingPageLoadSpan: typeof startBrowserTracingPageLoadSpanType, startBrowserTracingNavigationSpan: typeof startBrowserTracingNavigationSpanType): void;
export declare function instrumentForPerformance(appInstance: ApplicationInstance): Promise<void>;
declare const _default: {
initialize: typeof initialize;
};
export default _default;