1 | import * as http from 'node:http';
|
2 | 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 | };
|
9 | export 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 | */
|
17 | export declare const spotlightIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/types").Integration;
|
18 | type HttpRequestImpl = typeof http.request;
|
19 | /**
|
20 | * We want to get an unpatched http request implementation to avoid capturing our own calls.
|
21 | */
|
22 | export declare function getNativeHttpRequest(): HttpRequestImpl;
|
23 | export {};
|
24 | //# sourceMappingURL=spotlight.d.ts.map |
\ | No newline at end of file |