#1285: Incubation: Declarative Performance Observer

Visit on Github

Opened Sep 28, 2026

Explainer

https://github.com/explainers-by-googlers/declarative-performance-observer

The explainer

Where and by whom is the work is being done?

Feedback so far

You should also know that...

No response

<!-- Content below this is maintained by @w3c-tag-bot -->

Track conversations at https://tag-github-bot.w3.org/gh/w3ctag/design-reviews/1285

Discussions

Log in to see TAG-private discussions.

Discussed Oct 12, 2026 (See Github)

Brian: I haven't had a chance to look at this yet.

Heather: I'd love to know if others see similarities to the concerns we had about Attribution spec.

Discussed Nov 23, 2026 (See Github)

Heather: This reminded me of the Attribution spec, which didn't give warm-and-fuzzy feelings. Brian's concern was about the phrase "including during states where the application itself no longer exists" because that opens lots of "interesting" things.

Brian: There were also some comemnts that initially seemed bikesheddy, but we have loggers, and the Reporting API, and Network Error Logging. Naming implies sometthing Javascript, to be aligned with the rest. But it's not Javascript. Some should maybe be put into those other APIs. Part about existing between app lifetimes, is risky similar to Attribution.

Heather: Overall, we're both seeing interesting architectural issues. Anyone want to chime in before we draft?

Jeffrey: I think those are all important questions to ask.

Heather: I'll draft this week. After WebMCP. This will be "we have questions", not a resolution.

Comment by @hlflanagan Nov 25, 2026 (See Github)

Thanks for bringing this to the TAG. We think the use cases are understandable, particularly the gaps around failures before JavaScript executes and reliable reporting after renderer termination. We do have a few architectural questions that would help us understand whether this is the right shape for the solution.

  1. What is the right boundary for user-agent responsibility here? This proposal asks the browser to collect, retain, synthesize, and deliver telemetry on behalf of a site, including in circumstances where the page or renderer no longer exists. That may provide a more constrained and privacy-preserving mechanism than sites attempting to recreate this themselves. This seems like it would certainly be an expansion of the responsibilities of a user agent and seems like it would require careful new principles. We wonder if you could help us evaluate this by attempting to articulate a guiding principle for when this sort of thing would be appropriate?

  2. Is a new combined mechanism necessary, or are there one or more smaller gaps in the platform that could be reasonably filled without blazing new ground? The explainer discusses NEL, Performance Observer, fetchLater(), and crash reporting, and explains why combining them does not fully satisfy the use cases. Could you say more about whether the missing functionality could instead be addressed by extending one or more of those mechanisms? In particular, are early navigation failures, lifecycle termination, and application performance telemetry necessarily one abstraction?

  3. What lessons from NEL apply to the persistent parts of this design? capture-early-failures causes the browser to retain origin state and reports across navigations. We see the proposed limits around partitioning, expiry, and clearing, but would like to understand how the design has accounted for the privacy and user-control concerns that have arisen around NEL and other browser-managed reporting mechanisms.

  4. Is “Observer” the right architectural model and naming? The existing Observer APIs generally expose events to JavaScript, while this proposal is a declarative, browser-resident reporting mechanism. Is the intent that this belongs conceptually with the Performance Observer family, the Reporting APIs, or something else? Clarifying that relationship may also help answer which existing pieces should be extended rather than creating another parallel mechanism.

We are not assuming that these concerns rule out the approach. The main thing we would like to understand is whether browser-managed telemetry is the appropriate architectural trade-off here, and, if so, whether this proposal introduces the smallest coherent addition needed to support the stated use cases.