Skip to content

RUM Browser: document betaEnableViewUpdates (beta) - #40127

Closed
carlosdelest wants to merge 5 commits into
masterfrom
carlos.delgado/rum-browser-partial-view-updates-doc
Closed

carlosdelest wants to merge 5 commits into
masterfrom
carlos.delgado/rum-browser-partial-view-updates-doc

Conversation

@carlosdelest

Copy link
Copy Markdown

What does this PR do?

Adds a "Reduce network usage with partial view updates" section to the Browser RUM advanced configuration page, describing the betaEnableViewUpdates init parameter.

Motivation

betaEnableViewUpdates shipped in browser-sdk v7.5.0 and is documented on the auto-generated RumInitConfiguration reference, which this page links out to for "the full list of initialization parameters." However the advanced configuration page itself never mentions the option, so customers scanning the page for ways to reduce RUM network usage (alongside the existing Sampling section) have no way to discover it without already knowing to check the external reference.

Notes for review

  • Still named beta... in the SDK's own public API, so I kept "beta" framing here and added a note pointing to Datadog support, consistent with how other beta options are gated elsewhere on the site.
  • Placed the new section directly after "Sampling," since both are about reducing collected/transmitted data volume.

Adds a section describing the betaEnableViewUpdates init parameter, which
reduces network usage by sending incremental view update events instead
of a full view event on every intermediate update. This option already
ships (browser-sdk v7.5.0+) and is documented on the auto-generated
RumInitConfiguration reference, but wasn't mentioned anywhere on the
docs.datadoghq.com advanced configuration page itself.
@carlosdelest
carlosdelest requested review from a team as code owners September 22, 2026 07:42
@github-actions github-actions Bot added the cdocs label Sep 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

carlosdelest and others added 2 commits September 22, 2026 09:48
Clarified alert message regarding beta feature usage.
As a beta option its default/behavior can change; link to the
auto-generated TypeDoc reference (sourced from the JSDoc comment on
RumInitConfiguration.betaEnableViewUpdates) instead of only describing
it in hand-written prose, so this can't drift out of sync.

@rtrieu rtrieu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

some minor comments otherwise looks great!

carlosdelest and others added 2 commits September 23, 2026 07:42
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
Co-authored-by: Rosa Trieu <107086888+rtrieu@users.noreply.github.com>
@carlosdelest
carlosdelest requested a review from rtrieu September 23, 2026 05:43
@carlosdelest

Copy link
Copy Markdown
Author

Closing as we will make this option the default for the next release version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants