Skip to content

Commit

Permalink
make unit optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Nov 29, 2023
1 parent fe8f2d6 commit ce106a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/types/src/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { MeasurementUnit } from './measurement';
export interface BaseMetric {
name: string;
timestamp: number;
unit: MeasurementUnit;
unit?: MeasurementUnit;
tags?: { [key: string]: Primitive };
}

Expand Down

0 comments on commit ce106a9

Please sign in to comment.