Skip to content

Commit 56cfdd6

Browse files
authored
feat: add page for new web vitals performance issues (#15693)
1 parent 2297413 commit 56cfdd6

File tree

3 files changed

+49
-0
lines changed

3 files changed

+49
-0
lines changed

docs/product/issues/issue-details/performance-issues/index.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ The following is a list of available performance issues:
7070
<li>
7171
<a href="./function-regressions">Function Regressions</a>
7272
</li>
73+
<li>
74+
<a href="./web-vitals">Web Vitals</a>
75+
</li>
7376
</ul>
7477
</td>
7578
</tr>
194 KB
Loading
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Web Vitals
3+
sidebar_order: 30
4+
description: Learn more about Web Vitals issues and how to diagnose and fix them.
5+
og_image: >-
6+
/og-images/product-issues-issue-details-performance-issues-web-vitals.png
7+
---
8+
9+
Web Vitals issues are created for the highest opportunity pages in a project when
10+
their vitals scores fall into the [`Meh`](/product/insights/frontend/web-vitals/#performance-score) or [`Poor`](/product/insights/frontend/web-vitals/#performance-score) threshold for an extended period of time.
11+
12+
## Detection Criteria
13+
14+
<Alert>
15+
16+
This issue is currently only available for browser SDKs.
17+
18+
</Alert>
19+
20+
The detector for this performance issue runs on a schedule and checks the 7 day average Web Vitals scores for the top 5 [highest opportunity](/product/insights/frontend/web-vitals/#opportunity) pages on your website (_the pages that are both high traffic, and have issues worth fixing_).
21+
22+
The following additional criteria must hold true:
23+
24+
- You must have [Seer](/product/ai-in-sentry/seer/) enabled on your Sentry account.
25+
- You must have a [Github code mapping](/organization/integrations/source-code-mgmt/github/) configured for your project.
26+
- There must be at least `10` sample spans for the given vital (_this value is [configurable](/product/issues/issue-details/performance-issues/#configuration)_).
27+
- There must be no issues currently open for the same Web Vitals metrics on the page being evaluated.
28+
29+
## Span Evidence
30+
31+
You can view the [Web Vitals Insights](/product/insights/frontend/web-vitals/) dashboard
32+
to get an understanding of what pages will trigger the Web Vitals performance issue:
33+
34+
* A _loading / render performance issue_ will be opened, if [Time to First Byte](https://web.dev/articles/ttfb#what_is_ttfb) (TTFB), [Largest Contentful Paint](https://web.dev/articles/lcp#what-is-lcp) (LCP), or [First Contentful Paint](https://web.dev/articles/fcp#what-is-fcp) (FCP) falls into or below the `Meh` threshold.
35+
* A _page stability issue_ will be opened, if [Cumulative Layout Shift](https://web.dev/articles/cls#what-is-cls) (CLS) falls below the `Meh` threshold.
36+
* An _interaction performance issue_ will be opened, if [Interaction to Next Paint](https://web.dev/articles/inp#what-is-inp) (INP) falls below the `Meh` threshold.
37+
38+
![Web Vitals evidence](./img/web-vitals-evidence.png)
39+
40+
## How to Fix Web Vitals Issues
41+
42+
We highly recommend using [Seer's Issue Fix](/product/ai-in-sentry/seer/#issue-fix) functionality to diagnose and fix the Web Vitals Issues we've opened. Alternatively, there is lots of great documentation online about how to improve specific web vitals metrics, see:
43+
44+
* [Optimize Largest Contentful Paint](https://web.dev/articles/optimize-lcp).
45+
* [Optimize Cumulative Layout Shift](https://web.dev/articles/optimize-cls).
46+
* [Optimize Interaction to Next Paint](https://web.dev/articles/optimize-inp).

0 commit comments

Comments
 (0)