UNPKG

752 BTypeScriptView Raw
1export declare const COUNTER_METRIC_TYPE: "c";
2export declare const GAUGE_METRIC_TYPE: "g";
3export declare const SET_METRIC_TYPE: "s";
4export declare const DISTRIBUTION_METRIC_TYPE: "d";
5/**
6 * This does not match spec in https://develop.sentry.dev/sdk/metrics
7 * but was chosen to optimize for the most common case in browser environments.
8 */
9export declare const DEFAULT_BROWSER_FLUSH_INTERVAL = 5000;
10/**
11 * SDKs are required to bucket into 10 second intervals (rollup in seconds)
12 * which is the current lower bound of metric accuracy.
13 */
14export declare const DEFAULT_FLUSH_INTERVAL = 10000;
15/**
16 * The maximum number of metrics that should be stored in memory.
17 */
18export declare const MAX_WEIGHT = 10000;
19//# sourceMappingURL=constants.d.ts.map
\No newline at end of file