UNPKG

916 BTypeScriptView Raw
1import * as http from 'node:http';
2type 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 = "Spotlight";
10/**
11 * Use this integration to send errors and transactions to Spotlight.
12 *
13 * Learn more about spotlight at https://spotlightjs.com
14 *
15 * Important: This integration only works with Node 18 or newer.
16 */
17export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/core").Integration;
18type HttpRequestImpl = typeof http.request;
19/**
20 * We want to get an unpatched http request implementation to avoid capturing our own calls.
21 */
22export declare function getNativeHttpRequest(): HttpRequestImpl;
23export {};
24//# sourceMappingURL=spotlight.d.ts.map
\No newline at end of file