Skip to content

Commit f90ba85

Browse files
committed
feat: Add GB unit to device memory tag value
1 parent 4e722eb commit f90ba85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tracing/src/browser/metrics.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export class MetricsInstrumentation {
198198
}
199199

200200
if (isMeasurementValue(navigator.deviceMemory)) {
201-
transaction.setTag('deviceMemory', String(navigator.deviceMemory));
201+
transaction.setTag('deviceMemory', `${navigator.deviceMemory} GB`);
202202
}
203203

204204
if (isMeasurementValue(navigator.hardwareConcurrency)) {

0 commit comments

Comments
 (0)