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 f8e8dc8 commit cda040fCopy full SHA for cda040f
packages/apm/src/integrations/tracing.ts
@@ -517,6 +517,10 @@ export class Tracing implements Integration {
517
addSpan(evaluation);
518
}
519
520
+ // The Performance object has a limited buffer size, often 150 entries. At some point the buffer may overflow, in
521
+ // which case we would not be able to use it to create/update spans. Therefore, after we have processed entries to
522
+ // report to Sentry, we clear the buffer in an attempt to allow for more entries to be added in the future.
523
+ // https://developer.mozilla.org/en-US/docs/Web/API/Performance
524
logger.log('[Tracing] Clearing most performance marks');
525
performance.clearMarks();
526
performance.clearMeasures();
0 commit comments