Repository navigation
Conversation
A pageload of a reused page links the render with a cache_origin link, but the link has no timestamp. Sentry finds a trace only within about 1.5 days of the time it gets, so it cannot open renders that are older. The age gives the time of the render: pageload start minus age. It is an integer in seconds and clamped to 0, as cache.item_age.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Bug Fixes 🐛
Internal Changes 🔧
🤖 This preview updates automatically when you update the PR. |
s1gr1d
marked this pull request as ready for review
November 13, 2026 14:37
s1gr1d
requested review from
a team,
Lms24,
alexander-alderman-webb,
andreiborza,
cleptric,
giortzisg,
mjq and
nsdeschenes
as code owners
November 13, 2026 14:37
nsdeschenes
approved these changes
Nov 13, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds
page.server_rendering.agefor pageload spans. It's the time in seconds from the start of the server render of the reused part of the page to the start of the pageload span. Integer, clamped to 0, likecache.item_age.Mentioned here: getsentry/sentry#130769 (comment)
Why "age":
cache.item_ageand the HTTPAgeheader (RFC 9111) use the word for the same kind of value, in seconds.Why an age and not a timestamp: Sentry can aggregate and filter an age, for example p75 per route or "older than one day". The age mixes the server clock and the browser clock, but an error of a few minutes doesn't matter in a 1.5 day window.
PR Checklist
yarn testand verified that the tests pass.yarn generateto generate and format code and docs.If an attribute was added:
nextjs.function_id, notfunction_id)apply_scrubbing(i.e.manualorauto. Useneveronly for values that should never be scrubbed such as IDs)If an attribute was deprecated: