Skip to content

Commit

Permalink
feat(browser-starfish): add parameterization docs (#8645)
Browse files Browse the repository at this point in the history
* add parameterization docs

* [getsentry/action-github-commit] Auto commit

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
  • Loading branch information
DominikB2014 and getsantry[bot] authored Dec 6, 2023
1 parent 3e3a0e8 commit df4c3b8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/docs/product/performance/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,18 @@ Sentry captures a resources render blocking status using the `resource.render_bl

### Resource Parameterization

To enable Sentry to group similar resources together, Sentry parameterizes resource URLs, removing potenially dynamic elements. This helps track the performance of a particular resource across different releases, even when they have dynamic segments (used for busting caches or CDNS).
To enable Sentry to group similar resources together, Sentry parameterizes resource URLs, removing potentially dynamic elements. This helps track the performance of a particular resource across different releases, even when they have dynamic segments (used for busting caches or CDNS).

If you would like to further improve your groupings, consider the following rules we use when parameterizing urls. These rules can help you understand how you can name urls to improve grouping.

The following tokens will be replaced with \* within a resource url

1. A version string (`myfile.v3.0.js` is replace with `myfile.*.js`)
2. Hexadecimal strings with more than 5 digits (`myfile.7A9B3E.js` is replaced with `myfile.*.js`)
3. UUID's
4. Integer IDs with more than one digit (`1234.7A9B3E.js` is replace with `*.*.js`)
5. Strings longer then 25 characters
6. The entire path except for common path segments such as static, chunks, media, etc

<Note>

Expand Down

1 comment on commit df4c3b8

@vercel
Copy link

@vercel vercel bot commented on df4c3b8 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sentry-docs – ./

sentry-docs.sentry.dev
sentry-docs-git-master.sentry.dev
docs.sentry.io

Please sign in to comment.