Skip to content

✨ Add trackWebSockets configuration option (default: false)#4717

Draft
bdibon wants to merge 1 commit into
boris.dibon/ws-3-events-format-typesfrom
boris.dibon/ws-4-track-config
Draft

✨ Add trackWebSockets configuration option (default: false)#4717
bdibon wants to merge 1 commit into
boris.dibon/ws-3-events-format-typesfrom
boris.dibon/ws-4-track-config

Conversation

@bdibon
Copy link
Copy Markdown
Contributor

@bdibon bdibon commented Jun 3, 2026

Motivation

Make WebSocket collection opt-in and gated behind an experimental feature flag.

Changes

  • Add the trackWebSockets init option (default false) to the RUM configuration.
  • Add the TRACK_WEB_SOCKETS experimental feature flag.

Test instructions

yarn test:unit --spec packages/rum-core/src/domain/configuration/configuration.spec.ts

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

Copy link
Copy Markdown
Contributor Author

bdibon commented Jun 3, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@datadog-prod-us1-6
Copy link
Copy Markdown

datadog-prod-us1-6 Bot commented Jun 3, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/browser-sdk | check-schemas   View in Datadog   GitLab

See error Untracked changes detected related to telemetry schema. Run 'yarn json-schemas:sync' to synchronize.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

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

Useful? React with 👍 / 👎

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

@cit-pr-commenter-54b7da
Copy link
Copy Markdown

cit-pr-commenter-54b7da Bot commented Jun 3, 2026

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum N/A 172.35 KiB N/A N/A N/A
Rum Profiler N/A 7.88 KiB N/A N/A N/A
Rum Recorder N/A 21.21 KiB N/A N/A N/A
Logs N/A 54.84 KiB N/A N/A N/A
Rum Slim N/A 130.26 KiB N/A N/A N/A
Worker N/A 22.96 KiB N/A N/A N/A

@bdibon bdibon force-pushed the boris.dibon/ws-3-events-format-types branch from 0b25435 to 5d05de3 Compare June 4, 2026 09:16
@bdibon bdibon force-pushed the boris.dibon/ws-4-track-config branch from ec073a8 to 98e75c8 Compare June 4, 2026 09:16
Co-authored-by: Cursor <cursoragent@cursor.com>
@bdibon bdibon force-pushed the boris.dibon/ws-3-events-format-types branch from 5d05de3 to b589226 Compare June 4, 2026 12:30
@bdibon bdibon force-pushed the boris.dibon/ws-4-track-config branch from 98e75c8 to 1afcc3a Compare June 4, 2026 12:30
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