Skip to content

Commit 49badb0

Browse files
authored
feat(core): Add gibibyte and pebibyte to InformationUnit type (#18241)
Both of these units are supported by Relay, see https://getsentry.github.io/relay/relay_metrics/enum.InformationUnit.html.
1 parent 013f0be commit 49badb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/types-hoist/measurement.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ export type InformationUnit =
1717
| 'megabyte'
1818
| 'mebibyte'
1919
| 'gigabyte'
20+
| 'gibibyte'
2021
| 'terabyte'
2122
| 'tebibyte'
2223
| 'petabyte'
24+
| 'pebibyte'
2325
| 'exabyte'
2426
| 'exbibyte';
2527

0 commit comments

Comments
 (0)