UNPKG

925 BTypeScriptView Raw
1import { Options } from '@sentry/types';
2/**
3 * Configuration options for the Sentry Node SDK.
4 * @see NodeClient for more information.
5 */
6export interface NodeOptions extends Options {
7 /** Sets an optional server name (device name) */
8 serverName?: string;
9 /** Maximum time in milliseconds to wait to drain the request queue, before the process is allowed to exit. */
10 shutdownTimeout?: number;
11 /** Set a HTTP proxy that should be used for outbound requests. */
12 httpProxy?: string;
13 /** Set a HTTPS proxy that should be used for outbound requests. */
14 httpsProxy?: string;
15 /** HTTPS proxy certificates path */
16 caCerts?: string;
17 /** Sets the number of context lines for each frame when loading a file. */
18 frameContextLines?: number;
19 /** Callback that is executed when a fatal global error occurs. */
20 onFatalError?(error: Error): void;
21}
22//# sourceMappingURL=types.d.ts.map
\No newline at end of file