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 fb850b3 commit c513a29Copy full SHA for c513a29
packages/tracing/src/browser/metrics.ts
@@ -185,7 +185,8 @@ export class MetricsInstrumentation {
185
}
186
187
if (this._lcpEntry.url) {
188
- transaction.setTag('lcp.url', this._lcpEntry.url);
+ // Trim URL to the first 200 characters.
189
+ transaction.setTag('lcp.url', this._lcpEntry.url.trim().slice(0, 200));
190
191
192
transaction.setTag('lcp.size', this._lcpEntry.size);
0 commit comments