Skip to content

feat(rum): Add addViewLoadingTime and name the addAction and addError attributes - #5379

Draft
mormubis wants to merge 1 commit into
adlrb/RUM-20325-common-names-contextfrom
adlrb/RUM-20325-common-names-loading-time
Draft

mormubis wants to merge 1 commit into
adlrb/RUM-20325-common-names-contextfrom
adlrb/RUM-20325-common-names-loading-time

Conversation

@mormubis

@mormubis mormubis commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Motivation

Third PR of the common names stack (#5377).

Refs: RUM-20325, RUM-19580

Changes

addViewLoadingTime replaces setViewLoadingTime, which becomes a deprecated alias. The telemetry usage key was already addViewLoadingTime.

The second parameter of addAction and addError is now called attributes instead of context. Only the name changes, so there is nothing to alias.

Test instructions

Run yarn test:unit packages/browser-rum-core/src/boot/rumPublicApi.spec.ts. One views e2e scenario uses addViewLoadingTime.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant