-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Package + Version
-
@sentry/browser -
@sentry/node -
raven-js -
raven-node(raven for node) - other:
Version:
6.8.0
Description
sometimes get this error when the page loads
./node_modules/@sentry/tracing/esm/browser/metrics.js in _tagMetricInfo at line 174:36
}
transaction.setTag('lcp.size', this._lcpEntry.size);
}
if (this._clsEntry) {
logger.log('[Measurements] Adding CLS Data');
this._clsEntry.sources.map(function (source, index) {
return transaction.setTag("cls.source." + (index + 1), htmlTreeAsString(source.node));
});
}
};
/** Starts tracking the Cumulative Layout Shift on the current page. */
./node_modules/@sentry/tracing/esm/browser/metrics.js in addPerformanceEntries at line 152:18
op: 'web.vitals',
startTimestamp: this._measurements['mark.fid'].value,
});
}
transaction.setMeasurements(this._measurements);
this._tagMetricInfo(transaction);
}
};
/** Add LCP / CLS data to transaction to allow debugging */
MetricsInstrumentation.prototype._tagMetricInfo = function (transaction) {
if (this._lcpEntry) {
Metadata
Metadata
Assignees
Labels
No labels