Skip to content

Commit ce106a9

Browse files
committed
make unit optional
1 parent fe8f2d6 commit ce106a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/metrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { MeasurementUnit } from './measurement';
44
export interface BaseMetric {
55
name: string;
66
timestamp: number;
7-
unit: MeasurementUnit;
7+
unit?: MeasurementUnit;
88
tags?: { [key: string]: Primitive };
99
}
1010

0 commit comments

Comments
 (0)