Skip to content

feat(rum,logs): Add the storeAttributesAcrossPages and key options - #5380

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

mormubis wants to merge 1 commit into
adlrb/RUM-20325-common-names-loading-timefrom
adlrb/RUM-20325-common-names-options

Conversation

@mormubis

@mormubis mormubis commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Motivation

Fourth PR of the common names stack (#5377). This one covers options instead of calls.

Refs: RUM-20325, RUM-19580

Changes

storeAttributesAcrossPages replaces storeContextsAcrossPages for RUM and Logs. If both are set, the new one wins. Telemetry still reports store_contexts_across_pages.

key replaces resourceKey in the startResource and stopResource options. It's mapped in the public API, so the internals keep resourceKey.

Test instructions

Run yarn test:unit packages/browser-rum-core/src/domain/configuration packages/browser-logs/src/domain/configuration.spec.ts packages/browser-rum-core/src/boot/rumPublicApi.spec.ts. They cover the new key, the old key and both set. The manual resources e2e scenario uses key.

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

@datadog-official

datadog-official Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Pipelines  Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🔁 Datadog re-ran unit-bs: [chrome-desktop] and unit-bs: [safari-desktop] after they failed. Both re-runs passed. View in Datadog

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 15e326f | Docs | View more details | Give us feedback!

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