本文へスキップ
Kitbay
スキル公式

upgrade-browser-sdk-v5

MIT2026年11月9日 更新185GitHubスター

A Datadog skill with step-by-step instructions for moving a web app from version 4 to version 5 of the Datadog Browser SDK.

スキルの内容

A Datadog skill with step-by-step instructions for moving a web app from version 4 to version 5 of the Datadog Browser SDK. The agent bumps the package or CDN version, renames removed initialisation options such as sampleRate and proxyUrl, replaces retired RUM and Logs functions, and adjusts Session Replay, whose defaults changed to masking with recording on start and a zero sample rate. It also handles changes to beforeSend callbacks, trusted events, Content Security Policy domains and tracing headers. It applies to both npm and CDN setups.

できること

  • Bump Browser SDK packages or CDN paths from v4 to v5
  • Replace removed init options and deprecated APIs
  • Update Session Replay settings for v5 defaults
  • Adjust CSP and CORS settings for v5