1 | import type { MeasurementUnit, MetricBucketItem, Primitive } from '@sentry/types';
|
2 | import type { MetricType } from './types';
|
3 |
|
4 |
|
5 |
|
6 | export declare function getBucketKey(metricType: MetricType, name: string, unit: MeasurementUnit, tags: Record<string, string>): string;
|
7 |
|
8 |
|
9 |
|
10 | export declare function simpleHash(s: string): number;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function serializeMetricBuckets(metricBucketItems: MetricBucketItem[]): string;
|
25 |
|
26 | export declare function sanitizeUnit(unit: string): string;
|
27 |
|
28 | export declare function sanitizeMetricKey(key: string): string;
|
29 |
|
30 |
|
31 |
|
32 | export declare function sanitizeTags(unsanitizedTags: Record<string, Primitive>): Record<string, string>;
|
33 |
|
\ | No newline at end of file |