Skip to content

✨ add support for remote_configuration_id in view events - #4835

Merged
gogusarov merged 2 commits into
mainfrom
grigory.gusarov/send-remote-config-id-in-view-events
Jun 30, 2026
Merged

✨ add support for remote_configuration_id in view events#4835
gogusarov merged 2 commits into
mainfrom
grigory.gusarov/send-remote-config-id-in-view-events

Conversation

@gogusarov

@gogusarov gogusarov commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Motivation

Currently we have no per-session signal in the collected data showing whether a customer actually has Remote Configuration enabled. Surfacing the remote configuration id on view events lets us determine RC adoption directly from events.

Changes

Resolve remoteConfigurationId onto RumConfiguration (via the existing helper) and emit it as remote_configuration_id inside _dd.configuration on view events.

Test instructions

  1. add remote-config.json file to sandbox directory
  2. update parameters, passed to DD_RUM.init adding remoteConfiguration: { id: 'remote-config-test' }, remoteConfigurationProxy: '/remote-config.json'
  3. check that _dd.configuration.remote_configuration_id is sent in a view event and has a value of remote-config-test

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-prod-us1-4

datadog-prod-us1-4 Bot commented Jun 30, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 77.20% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 5b0a597 | Docs | Datadog PR Page | Give us feedback!

@gogusarov
gogusarov force-pushed the grigory.gusarov/send-remote-config-id-in-view-events branch from 5609f85 to 5b0a597 Compare June 30, 2026 13:57
@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 172.61 KiB 172.69 KiB +76 B +0.04%
Rum Profiler 8.22 KiB 8.22 KiB 0 B 0.00%
Rum Recorder 21.14 KiB 21.14 KiB 0 B 0.00%
Logs 54.58 KiB 54.58 KiB 0 B 0.00%
Rum Slim 130.44 KiB 130.52 KiB +76 B +0.06%
Worker 22.96 KiB 22.96 KiB 0 B 0.00%

@gogusarov
gogusarov marked this pull request as ready for review June 30, 2026 14:42
@gogusarov
gogusarov requested a review from a team as a code owner June 30, 2026 14:42
@gogusarov
gogusarov merged commit 3fc688b into main Jun 30, 2026
34 checks passed
@gogusarov
gogusarov deleted the grigory.gusarov/send-remote-config-id-in-view-events branch June 30, 2026 16:20
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants