1 | import { BaseClient, Scope } from '@sentry/core';
|
2 | import { SessionFlusher } from '@sentry/hub';
|
3 | import { Event, EventHint } from '@sentry/types';
|
4 | import { NodeBackend } from './backend';
|
5 | import { NodeOptions } from './types';
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare class NodeClient extends BaseClient<NodeBackend, NodeOptions> {
|
13 | protected _sessionFlusher: SessionFlusher | undefined;
|
14 | |
15 |
|
16 |
|
17 |
|
18 | constructor(options: NodeOptions);
|
19 | /**
|
20 | * @inheritDoc
|
21 | */
|
22 | captureException(exception: any, hint?: EventHint, scope?: Scope): string | undefined;
|
23 | /**
|
24 | * @inheritDoc
|
25 | */
|
26 | captureEvent(event: Event, hint?: EventHint, scope?: Scope): string | undefined;
|
27 | /**
|
28 | *
|
29 | * @inheritdoc
|
30 | */
|
31 | close(timeout?: number): PromiseLike<boolean>;
|
32 | /** Method that initialises an instance of SessionFlusher on Client */
|
33 | initSessionFlusher(): void;
|
34 | /**
|
35 | * @inheritDoc
|
36 | */
|
37 | protected _prepareEvent(event: Event, scope?: Scope, hint?: EventHint): PromiseLike<Event | null>;
|
38 | /**
|
39 | * Method responsible for capturing/ending a request session by calling `incrementSessionStatusCount` to increment
|
40 | * appropriate session aggregates bucket
|
41 | */
|
42 | protected _captureRequestSession(): void;
|
43 | }
|
44 | //# sourceMappingURL=client.d.ts.map |
\ | No newline at end of file |