1 | import type { ClientOptions, MeasurementUnit, Primitive } from '@sentry/types';
|
2 | interface MetricData {
|
3 | unit?: MeasurementUnit;
|
4 | tags?: Record<string, Primitive>;
|
5 | timestamp?: number;
|
6 | }
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | export declare function increment(name: string, value?: number, data?: MetricData): void;
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare function distribution(name: string, value: number, data?: MetricData): void;
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function set(name: string, value: number | string, data?: MetricData): void;
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare function gauge(name: string, value: number, data?: MetricData): void;
|
31 | export declare const metrics: {
|
32 | increment: typeof increment;
|
33 | distribution: typeof distribution;
|
34 | set: typeof set;
|
35 | gauge: typeof gauge;
|
36 |
|
37 | MetricsAggregator: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {
|
38 | setup: (client: import("@sentry/types").Client<ClientOptions<import("@sentry/types").BaseTransportOptions>>) => void;
|
39 | }>;
|
40 | metricsAggregatorIntegration: () => import("@sentry/types").IntegrationFnResult;
|
41 | };
|
42 | export {};
|
43 |
|
\ | No newline at end of file |