UNPKG

825 BTypeScriptView Raw
1import type { Event } from '@sentry/core';
2export type SpotlightConnectionOptions = {
3 /**
4 * Set this if the Spotlight Sidecar is not running on localhost:8969
5 * By default, the Url is set to http://localhost:8969/stream
6 */
7 sidecarUrl?: string;
8};
9export declare const INTEGRATION_NAME = "SpotlightBrowser";
10/**
11 * Use this integration to send errors and transactions to Spotlight.
12 *
13 * Learn more about spotlight at https://spotlightjs.com
14 */
15export declare const spotlightBrowserIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/core").Integration;
16/**
17 * Flags if the event is a transaction created from an interaction with the spotlight UI.
18 */
19export declare function isSpotlightInteraction(event: Event): boolean;
20//# sourceMappingURL=spotlight.d.ts.map
\No newline at end of file