forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
38 lines (38 loc) · 853 Bytes
/
Copy pathtypes.ts
File metadata and controls
38 lines (38 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
export type TelemetryCollectorOptions = {
/**
* If true, telemetry will not be collected.
*/
disabled?: boolean;
/**
* If true, telemetry will not be sent, but collected events will be logged to the console.
*/
debug?: boolean;
/**
* Sampling rate, 0-1
*/
samplingRate?: number;
/**
* Set a custom buffer size to control how often events are sent
*/
maxBufferSize?: number;
/**
* The publishableKey to associate with the collected events.
*/
publishableKey?: string;
/**
* The secretKey to associate with the collected events.
*/
secretKey?: string;
/**
* The current clerk-js version.
*/
clerkVersion?: string;
/**
* The SDK being used, e.g. `@clerk/nextjs` or `@clerk/remix`.
*/
sdk?: string;
/**
* The version of the SDK being used.
*/
sdkVersion?: string;
};