We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 741a3f1 commit e67b8bdCopy full SHA for e67b8bd
packages/tracing/src/browser/metrics.ts
@@ -211,9 +211,7 @@ export class MetricsInstrumentation {
211
212
if (this._clsEntry) {
213
logger.log('[Measurements] Adding CLS Data');
214
- transaction.setData('measurements.cls', {
215
- sources: this._clsEntry.sources.map(source => htmlTreeAsString(source.node)),
216
- });
+ this._clsEntry.sources.map((source, index) => transaction.setTag(`cls.source.${index + 1}`, htmlTreeAsString(source.node)));
217
}
218
219
0 commit comments