Skip to content

RUM Android: document partial view updates (beta) - #40126

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

carlosdelest wants to merge 3 commits into
masterfrom
carlos.delgado/rum-android-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 Android RUM advanced configuration page, describing how to opt in via _RumInternalProxy.setRumViewEventWriteConfig() with RumViewEventWriteConfig.FullViewOnlyAtStart.

Motivation

We want customers who are willing to try an early-beta option to be able to find and use it, with an accurate description of its current state.

Important — please review carefully

This documents an internal-only API. _RumInternalProxy and RumViewEventWriteConfig both carry explicit "DO NOT USE unless working on Datadog SDK internals" doc comments in the dd-sdk-android source, and RumConfiguration.Builder.setRumViewEventWriteConfig (the method the proxy delegates to) is Kotlin internal, not part of the stable public API surface.

This PR is opened at the explicit request of a team building a customer-facing nudge for this feature, who confirmed they want it documented despite the SDK's current internal-only status. I'd like the Android RUM SDK team to weigh in before this merges — if internal-only status should remain enforced (not just documented as "beta"), please close this PR rather than merge it, or let me know what documentation approach would be appropriate instead. I gated the section behind a warning alert directing readers to contact Datadog support first, but that may not be sufficient mitigation.

Adds a section describing how to reduce network usage by opting into
incremental view update events via `_RumInternalProxy.setRumViewEventWriteConfig()`
with `RumViewEventWriteConfig.FullViewOnlyAtStart`.

This is an early-beta, internal API, not yet part of the stable public
Configuration.Builder surface. Flagged clearly as such and gated behind
contacting Datadog support, matching how other pre-GA/beta options are
documented elsewhere on the site.
@carlosdelest
carlosdelest requested review from a team as code owners September 22, 2026 07:41
@github-actions github-actions Bot added Architecture Everything related to the Doc backend cdocs labels Sep 22, 2026
carlosdelest and others added 2 commits September 22, 2026 09:47
Updated warning message about the beta feature for network usage reduction.
_RumInternalProxy.setRumViewEventWriteConfig and RumViewEventWriteConfig
are internal, unsupported APIs with no stability guarantee. Link to their
definitions on develop (this hasn't shipped in a tagged release yet)
instead of only describing them in prose, so the doc can't drift out of
sync with the actual signature.
@OliviaShoup

Copy link
Copy Markdown
Contributor

hey @carlosdelest thanks for the PR! did you want the Android RUM SDK team to take a look before we review it on the docs team?

@OliviaShoup OliviaShoup self-assigned this Sep 22, 2026
@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

Architecture Everything related to the Doc backend cdocs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants