Skip to content

Commit e67b8bd

Browse files
committed
1 parent 741a3f1 commit e67b8bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/tracing/src/browser/metrics.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,7 @@ export class MetricsInstrumentation {
211211

212212
if (this._clsEntry) {
213213
logger.log('[Measurements] Adding CLS Data');
214-
transaction.setData('measurements.cls', {
215-
sources: this._clsEntry.sources.map(source => htmlTreeAsString(source.node)),
216-
});
214+
this._clsEntry.sources.map((source, index) => transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)));
217215
}
218216
}
219217
}

0 commit comments

Comments
 (0)