1 | import { Breadcrumb } from './breadcrumb';
|
2 | import { Contexts } from './context';
|
3 | import { DebugMeta } from './debugMeta';
|
4 | import { Exception } from './exception';
|
5 | import { Extras } from './extra';
|
6 | import { Primitive } from './misc';
|
7 | import { Request } from './request';
|
8 | import { CaptureContext } from './scope';
|
9 | import { SdkInfo } from './sdkinfo';
|
10 | import { Severity } from './severity';
|
11 | import { Span } from './span';
|
12 | import { Stacktrace } from './stacktrace';
|
13 | import { Measurements } from './transaction';
|
14 | import { User } from './user';
|
15 |
|
16 | export interface Event {
|
17 | event_id?: string;
|
18 | message?: string;
|
19 | timestamp?: number;
|
20 | start_timestamp?: number;
|
21 | level?: Severity;
|
22 | platform?: string;
|
23 | logger?: string;
|
24 | server_name?: string;
|
25 | release?: string;
|
26 | dist?: string;
|
27 | environment?: string;
|
28 | sdk?: SdkInfo;
|
29 | request?: Request;
|
30 | transaction?: string;
|
31 | modules?: {
|
32 | [key: string]: string;
|
33 | };
|
34 | fingerprint?: string[];
|
35 | exception?: {
|
36 | values?: Exception[];
|
37 | };
|
38 | stacktrace?: Stacktrace;
|
39 | breadcrumbs?: Breadcrumb[];
|
40 | contexts?: Contexts;
|
41 | tags?: {
|
42 | [key: string]: Primitive;
|
43 | };
|
44 | extra?: Extras;
|
45 | user?: User;
|
46 | type?: EventType;
|
47 | spans?: Span[];
|
48 | measurements?: Measurements;
|
49 | debug_meta?: DebugMeta;
|
50 | }
|
51 |
|
52 | export declare type EventType = 'transaction';
|
53 |
|
54 | export interface EventHint {
|
55 | event_id?: string;
|
56 | captureContext?: CaptureContext;
|
57 | syntheticException?: Error | null;
|
58 | originalException?: Error | string | null;
|
59 | data?: any;
|
60 | }
|
61 |
|
\ | No newline at end of file |