Skip to content

Commit 4f12b37

Browse files
committed
lower ttfb threshold
1 parent 4f01446 commit 4f12b37

File tree

1 file changed

+2
-1
lines changed
  • packages/tracing-internal/src/browser/web-vitals

1 file changed

+2
-1
lines changed

packages/tracing-internal/src/browser/web-vitals/onTTFB.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ import { whenActivated } from './lib/whenActivated';
2323
import type { MetricRatingThresholds, ReportOpts, TTFBReportCallback } from './types';
2424

2525
/** Thresholds for TTFB. See https://web.dev/articles/ttfb#what_is_a_good_ttfb_score */
26-
export const TTFBThresholds: MetricRatingThresholds = [800, 1800];
26+
// NOTE (Sentry): We use a lower threshold here than web-vitals
27+
export const TTFBThresholds: MetricRatingThresholds = [0, 1800];
2728

2829
/**
2930
* Runs in the next task after the page is done loading and/or prerendering.

0 commit comments

Comments
 (0)