[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-datadog-labs-upgrade-browser-sdk-v5":3,"mdc--y1so25-key":36,"related-org-datadog-labs-upgrade-browser-sdk-v5":3289,"related-repo-datadog-labs-upgrade-browser-sdk-v5":3463},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"upgrade-browser-sdk-v5","upgrade Datadog Browser SDK to v5","Upgrade Datadog Browser SDK from v4 to v5. Use when encountering removed options like proxyUrl, sampleRate, replaySampleRate, premiumSampleRate, allowedTracingOrigins, or deprecated APIs like addRumGlobalContext, removeUser, or when a project references datadoghq-browser-agent.com CDN with \u002Fv4\u002F paths.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"datadog-labs","Datadog Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdatadog-labs.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Observability","observability","tag",{"name":17,"slug":18,"type":15},"Datadog","datadog",{"name":20,"slug":21,"type":15},"Frontend","frontend",{"name":23,"slug":24,"type":15},"Debugging","debugging",145,"https:\u002F\u002Fgithub.com\u002Fdatadog-labs\u002Fagent-skills","2026-06-27T06:49:16.027344",null,19,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Public repository for Datadog Agent Skills","https:\u002F\u002Fgithub.com\u002Fdatadog-labs\u002Fagent-skills\u002Ftree\u002FHEAD\u002Fdd-browser-sdk\u002Fupgrade-v5","---\nname: upgrade-browser-sdk-v5\ndescription: >\n  Upgrade Datadog Browser SDK from v4 to v5. Use when encountering removed options like\n  proxyUrl, sampleRate, replaySampleRate, premiumSampleRate, allowedTracingOrigins, or\n  deprecated APIs like addRumGlobalContext, removeUser, or when a project references\n  datadoghq-browser-agent.com CDN with \u002Fv4\u002F paths.\nmetadata:\n  version: \"1.0.0\"\n  author: datadog-labs\n  repository: https:\u002F\u002Fgithub.com\u002Fdatadog-labs\u002Fagent-skills\n  tags: datadog,browser-sdk,rum,logs,migration,v5,upgrade\n---\n\n# Upgrade Datadog Browser SDK to v5\n\nSystematic migration guide from v4 to v5. Follow steps 1-7 in order. Each step includes a search pattern to find affected code.\n\n## Step 1: Update SDK version\n\n**CDN setup** — update script `src` URLs:\n\n| v4 pattern                                               | v5 replacement                                           |\n| -------------------------------------------------------- | -------------------------------------------------------- |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-rum.js`      | `datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-rum.js`      |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-logs.js`     | `datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-logs.js`     |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-rum-slim.js` | `datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-rum-slim.js` |\n\nReplace `us1` with your site: `eu1`, `us3`, `us5`, `ap1`. For US1-FED, the pattern is flat with no site prefix: `datadog-rum-v5.js`, `datadog-logs-v5.js`, `datadog-rum-slim-v5.js`. Note: AP2 is not available for v5 — upgrade to v6 first if you need AP2.\n\nSearch: `grep -r \"datadoghq-browser-agent.com.*v4\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"`\n\n**npm setup** — update `package.json` dependencies:\n\n```\n\"@datadog\u002Fbrowser-rum\": \"^5.0.0\"\n\"@datadog\u002Fbrowser-logs\": \"^5.0.0\"\n\"@datadog\u002Fbrowser-rum-slim\": \"^5.0.0\"\n```\n\nThen run your package manager (`npm install`, `yarn install`, etc.) and rebuild.\n\nAlso upgrade framework integrations to v5 if used: `@datadog\u002Fbrowser-rum-react`.\n\nSearch: `grep -r \"@datadog\u002Fbrowser-\" --include=\"package.json\" .`\n\n## Step 2: Replace deprecated init parameters\n\nThese v4 parameter names no longer exist in v5. Replace them:\n\n| Deprecated parameter (v4) | Replacement (v5)          |\n| ------------------------- | ------------------------- |\n| `proxyUrl`                | `proxy`                   |\n| `sampleRate`              | `sessionSampleRate`       |\n| `allowedTracingOrigins`   | `allowedTracingUrls`      |\n| `tracingSampleRate`       | `traceSampleRate`         |\n| `trackInteractions`       | `trackUserInteractions`   |\n| `premiumSampleRate`       | `sessionReplaySampleRate` |\n| `replaySampleRate`        | `sessionReplaySampleRate` |\n\nSearch: `grep -rn 'proxyUrl\\|sampleRate\\|allowedTracingOrigins\\|tracingSampleRate\\|trackInteractions\\|premiumSampleRate\\|replaySampleRate' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\n**Note**: `sampleRate` matches broadly. Look specifically for init config objects — `sessionSampleRate` is the v5 name for the session sampling rate.\n\n## Step 3: Replace deprecated public APIs\n\nThese v4 API method names no longer exist in v5:\n\n### RUM APIs\n\n| Deprecated API (v4)             | Replacement (v5)                     |\n| ------------------------------- | ------------------------------------ |\n| `DD_RUM.removeUser`             | `DD_RUM.clearUser`                   |\n| `DD_RUM.addRumGlobalContext`    | `DD_RUM.setGlobalContextProperty`    |\n| `DD_RUM.removeRumGlobalContext` | `DD_RUM.removeGlobalContextProperty` |\n| `DD_RUM.getRumGlobalContext`    | `DD_RUM.getGlobalContext`            |\n| `DD_RUM.setRumGlobalContext`    | `DD_RUM.setGlobalContext`            |\n\n### Logs APIs\n\n| Deprecated API (v4)                 | Replacement (v5)                      |\n| ----------------------------------- | ------------------------------------- |\n| `DD_LOGS.addLoggerGlobalContext`    | `DD_LOGS.setGlobalContextProperty`    |\n| `DD_LOGS.removeLoggerGlobalContext` | `DD_LOGS.removeGlobalContextProperty` |\n| `DD_LOGS.getLoggerGlobalContext`    | `DD_LOGS.getGlobalContext`            |\n| `DD_LOGS.setLoggerGlobalContext`    | `DD_LOGS.setGlobalContext`            |\n| `logger.addContext`                 | `logger.setContextProperty`           |\n| `logger.removeContext`              | `logger.removeContextProperty`        |\n\nSearch: `grep -rn 'removeUser\\|addRumGlobalContext\\|removeRumGlobalContext\\|getRumGlobalContext\\|setRumGlobalContext\\|addLoggerGlobalContext\\|removeLoggerGlobalContext\\|getLoggerGlobalContext\\|setLoggerGlobalContext\\|\\.addContext\\|\\.removeContext' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\n## Step 4: Update Session Replay configuration\n\nv5 changes several Session Replay defaults and behaviors:\n\n### 4a. `defaultPrivacyLevel` changed to `\"mask\"`\n\nIn v4, the default was `mask-user-input`. In v5, **all content is masked by default**.\n\nTo preserve v4 behavior (only mask user input):\n\n```js\nDD_RUM.init({\n  defaultPrivacyLevel: 'mask-user-input',\n})\n```\n\n### 4b. Recording starts automatically\n\nSessions sampled for Session Replay are now automatically recorded. You no longer need to call `startSessionReplayRecording()`.\n\nTo preserve v4 behavior (manual recording start):\n\n```js\nDD_RUM.init({\n  startSessionReplayRecordingManually: true,\n})\n```\n\n### 4c. Default `sessionReplaySampleRate` is now `0`\n\nIn v4, the default replay sample rate was 100. In v5, it's `0` — no replays unless you set it explicitly.\n\n**Action**: Ensure `sessionReplaySampleRate` is explicitly set in your init config:\n\n```js\nDD_RUM.init({\n  sessionReplaySampleRate: 100, \u002F\u002F or your desired rate\n})\n```\n\n### 4d. `trackResources` and `trackLongTasks` must be explicit\n\nWhen using `sessionReplaySampleRate` (instead of the removed `replaySampleRate` or `premiumSampleRate`), resources and long tasks are no longer collected by default. Enable them explicitly — **unless** the v4 config already set them to `false` intentionally:\n\n```js\nDD_RUM.init({\n  sessionReplaySampleRate: 100,\n  trackResources: true, \u002F\u002F omit if v4 explicitly had trackResources: false\n  trackLongTasks: true, \u002F\u002F omit if v4 explicitly had trackLongTasks: false\n})\n```\n\nSearch: `grep -rn 'sessionReplaySampleRate\\|startSessionReplayRecording\\|defaultPrivacyLevel\\|trackResources\\|trackLongTasks' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\nAlso search for all RUM init calls to catch projects that omit these options and rely on v4 defaults: `grep -rn 'DD_RUM\\.init\\|datadogRum\\.init' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`. For each init call, verify that `sessionReplaySampleRate`, `defaultPrivacyLevel`, and `trackResources`\u002F`trackLongTasks` are explicitly set.\n\n## Step 5: Update changed APIs and behaviors\n\n### 5a. `beforeSend` must return a boolean\n\n`beforeSend` callback functions should return `true` to keep the event or `false` to discard it. If no value is returned, the event is kept. This resolves TypeScript compilation errors.\n\n```js\nbeforeSend: (event, context) => {\n  \u002F\u002F return true to keep, false to discard\n  return true\n}\n```\n\n### 5b. `beforeSend` action context: `context.event` → `context.events`\n\nWith frustration signals, an action event can be associated with multiple DOM events. `context.event` is replaced by `context.events` (array).\n\n```js\n\u002F\u002F v4\nbeforeSend: (event, context) => {\n  if (event.type === 'action') {\n    const domEvent = context.event\n  }\n}\n\n\u002F\u002F v5\nbeforeSend: (event, context) => {\n  if (event.type === 'action') {\n    const domEvents = context.events \u002F\u002F array\n  }\n}\n```\n\n### 5c. `beforeSend` performance entry is now a `PerformanceEntry` object\n\nThe `performanceEntry` in `beforeSend` context is now the raw `PerformanceEntry` object, not a JSON representation. The `PerformanceEntryRepresentation` type has been removed.\n\n### 5d. `startTime` removed from XHR `beforeSend` context\n\nThe `context.startTime` property has been removed from XHR resource `beforeSend` context. Use the `performanceEntry` instead.\n\n### 5e. `view.in_foreground_periods` removed from `beforeSend`\n\nThis attribute is now computed by the backend. Remove any `beforeSend` code that accesses `view.in_foreground_periods`.\n\n### 5f. Frustration signals collected automatically\n\nSet `trackUserInteractions: true` to collect all user interactions, including frustration signals. The `trackFrustrations` parameter is no longer needed.\n\n### 5g. Resource method names are uppercase\n\nResource `method` field is now always uppercase (e.g., `GET`, `POST`). Update any dashboards or monitors filtering on `resource.method`.\n\n### 5h. `session.plan` field removed\n\nThe `session.plan` field (`lite`\u002F`premium`) is removed in v5 and not emitted on any event type. Replace any dashboard or monitor filter on `session.plan` with the new replay fields:\n\n- `@session.sampled_for_replay:true` — session was sampled for Session Replay\n- `@session.has_replay:true` — session has an actual replay recording\n\nSearch: `grep -rn 'beforeSend\\|trackFrustrations\\|PerformanceEntryRepresentation\\|in_foreground_periods\\|context\\.event\\b\\|startTime' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\n## Step 6: Handle trusted events\n\nv5 only listens to user-generated (trusted) events. Script-generated events are ignored by default.\n\nIf you rely on programmatic events (e.g., `dispatchEvent`), add the `__ddIsTrusted` attribute:\n\n```js\n\u002F\u002F JavaScript\nconst click = new Event('click')\nclick.__ddIsTrusted = true\ndocument.dispatchEvent(click)\n```\n\n```ts\n\u002F\u002F TypeScript\nconst click = new Event('click') as Event & { __ddIsTrusted?: boolean }\nclick.__ddIsTrusted = true\ndocument.dispatchEvent(click)\n```\n\nOr allow all untrusted events globally:\n\n```js\nDD_RUM.init({\n  allowUntrustedEvents: true,\n})\n```\n\nSearch: `grep -rn 'dispatchEvent\\|new Event\\|new MouseEvent\\|new KeyboardEvent\\|\\.click()' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\n## Step 7: Update infrastructure\n\n### CSP `connect-src` domains changed\n\nv5 sends data to new intake domains. Update your Content Security Policy:\n\n| Datadog site | New `connect-src` domain                   |\n| ------------ | ------------------------------------------ |\n| US1          | `https:\u002F\u002Fbrowser-intake-datadoghq.com`     |\n| US3          | `https:\u002F\u002Fbrowser-intake-us3-datadoghq.com` |\n| US5          | `https:\u002F\u002Fbrowser-intake-us5-datadoghq.com` |\n| EU1          | `https:\u002F\u002Fbrowser-intake-datadoghq.eu`      |\n| US1-FED      | `https:\u002F\u002Fbrowser-intake-ddog-gov.com`      |\n| US2-FED      | `https:\u002F\u002Fbrowser-intake-us2-ddog-gov.com`  |\n| AP1          | `https:\u002F\u002Fbrowser-intake-ap1-datadoghq.com` |\n\n### CORS headers for distributed tracing\n\nv5 adds `tracecontext` as a default propagator. If you use `allowedTracingUrls`, your server must accept the `traceparent` header. Add it to your existing `Access-Control-Allow-Headers` — do not replace the full list:\n\n```\n# Add traceparent alongside your existing headers\nAccess-Control-Allow-Headers: \u003Cexisting-headers>, traceparent\n```\n\n### Logs: `error.origin` removed\n\nUpdate dashboards\u002Fmonitors using `error.origin` to use `origin` instead.\n\n### Logs: console error prefix removed\n\nThe `\"console error:\"` prefix is removed from log messages. Update queries using this prefix to use `@origin:console` instead.\n\n### Logs: main logger decoupled\n\nRuntime errors, network logs, report logs, and console logs no longer inherit the main logger's context, level, or handler. Use global context and dedicated init parameters instead.\n\nSearch for main logger configuration that may have been relying on this inheritance: `grep -rn 'DD_LOGS\\.logger\\.setLevel\\|DD_LOGS\\.logger\\.setHandler\\|DD_LOGS\\.logger\\.setContext\\|DD_LOGS\\.logger\\.setContextProperty' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`. For each match, verify the setting is intentional for the main logger only — it will no longer affect runtime errors, network logs, or console logs.\n\n## Common Mistakes\n\n| Mistake                                                                                      | What goes wrong                                                                                                             | Fix                                                                                                      |\n| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |\n| Setting `sessionReplaySampleRate > 0` without enabling `trackResources` and `trackLongTasks` | Resources and long tasks are silently not collected — they no longer default to `true` when using `sessionReplaySampleRate` | Always add `trackResources: true, trackLongTasks: true` alongside any non-zero `sessionReplaySampleRate` |\n| Using `context.event` instead of `context.events` in `beforeSend` for action events          | Action context property renamed — `context.event` is `undefined`, DOM event details are lost                                | Update to `context.events` (array); iterate if you need all associated DOM events                        |\n| Not updating CSP `connect-src` to the new v5 intake domains                                  | SDK silently fails to send data — old intake domains are no longer valid                                                    | Update `connect-src` to the v5 intake domain for your site (see Step 7)                                  |\n\n## Verification checklist\n\nAfter upgrading, confirm:\n\n- [ ] SDK loads without console errors\n- [ ] No references to removed init parameters (`proxyUrl`, `sampleRate`, `replaySampleRate`, etc.)\n- [ ] No references to removed APIs (`addRumGlobalContext`, `removeUser`, etc.)\n- [ ] `beforeSend` callbacks return boolean values\n- [ ] `beforeSend` action handlers use `context.events` (not `context.event`)\n- [ ] `trackResources` and `trackLongTasks` explicitly set if using `sessionReplaySampleRate`\n- [ ] Session Replay recording works (if `sessionReplaySampleRate` > 0)\n- [ ] Distributed tracing working (no CORS errors from `traceparent` header)\n- [ ] CSP `connect-src` updated to new intake domains\n- [ ] Dashboards\u002Fmonitors updated for uppercase `resource.method`\n- [ ] No queries using `error.origin` (use `origin` instead)\n",{"data":37,"body":41},{"name":4,"description":6,"metadata":38},{"version":39,"author":8,"repository":26,"tags":40},"1.0.0","datadog,browser-sdk,rum,logs,migration,v5,upgrade",{"type":42,"children":43},"root",[44,53,59,66,86,177,242,253,271,283,303,316,326,332,337,505,515,539,545,550,557,683,689,835,845,851,856,876,895,900,991,997,1009,1014,1077,1096,1108,1125,1195,1217,1258,1370,1380,1420,1426,1440,1465,1550,1577,1596,1907,1928,1963,1983,2009,2028,2046,2052,2073,2079,2114,2128,2161,2188,2198,2204,2209,2230,2339,2480,2485,2546,2556,2562,2576,2581,2729,2735,2771,2780,2794,2813,2819,2838,2844,2849,2862,2868,3049,3055,3060,3283],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"upgrade-datadog-browser-sdk-to-v5",[50],{"type":51,"value":52},"text","Upgrade Datadog Browser SDK to v5",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Systematic migration guide from v4 to v5. Follow steps 1-7 in order. Each step includes a search pattern to find affected code.",{"type":45,"tag":60,"props":61,"children":63},"h2",{"id":62},"step-1-update-sdk-version",[64],{"type":51,"value":65},"Step 1: Update SDK version",{"type":45,"tag":54,"props":67,"children":68},{},[69,75,77,84],{"type":45,"tag":70,"props":71,"children":72},"strong",{},[73],{"type":51,"value":74},"CDN setup",{"type":51,"value":76}," — update script ",{"type":45,"tag":78,"props":79,"children":81},"code",{"className":80},[],[82],{"type":51,"value":83},"src",{"type":51,"value":85}," URLs:",{"type":45,"tag":87,"props":88,"children":89},"table",{},[90,109],{"type":45,"tag":91,"props":92,"children":93},"thead",{},[94],{"type":45,"tag":95,"props":96,"children":97},"tr",{},[98,104],{"type":45,"tag":99,"props":100,"children":101},"th",{},[102],{"type":51,"value":103},"v4 pattern",{"type":45,"tag":99,"props":105,"children":106},{},[107],{"type":51,"value":108},"v5 replacement",{"type":45,"tag":110,"props":111,"children":112},"tbody",{},[113,135,156],{"type":45,"tag":95,"props":114,"children":115},{},[116,126],{"type":45,"tag":117,"props":118,"children":119},"td",{},[120],{"type":45,"tag":78,"props":121,"children":123},{"className":122},[],[124],{"type":51,"value":125},"datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-rum.js",{"type":45,"tag":117,"props":127,"children":128},{},[129],{"type":45,"tag":78,"props":130,"children":132},{"className":131},[],[133],{"type":51,"value":134},"datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-rum.js",{"type":45,"tag":95,"props":136,"children":137},{},[138,147],{"type":45,"tag":117,"props":139,"children":140},{},[141],{"type":45,"tag":78,"props":142,"children":144},{"className":143},[],[145],{"type":51,"value":146},"datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-logs.js",{"type":45,"tag":117,"props":148,"children":149},{},[150],{"type":45,"tag":78,"props":151,"children":153},{"className":152},[],[154],{"type":51,"value":155},"datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-logs.js",{"type":45,"tag":95,"props":157,"children":158},{},[159,168],{"type":45,"tag":117,"props":160,"children":161},{},[162],{"type":45,"tag":78,"props":163,"children":165},{"className":164},[],[166],{"type":51,"value":167},"datadoghq-browser-agent.com\u002Fus1\u002Fv4\u002Fdatadog-rum-slim.js",{"type":45,"tag":117,"props":169,"children":170},{},[171],{"type":45,"tag":78,"props":172,"children":174},{"className":173},[],[175],{"type":51,"value":176},"datadoghq-browser-agent.com\u002Fus1\u002Fv5\u002Fdatadog-rum-slim.js",{"type":45,"tag":54,"props":178,"children":179},{},[180,182,188,190,196,198,204,205,211,212,218,220,226,227,233,234,240],{"type":51,"value":181},"Replace ",{"type":45,"tag":78,"props":183,"children":185},{"className":184},[],[186],{"type":51,"value":187},"us1",{"type":51,"value":189}," with your site: ",{"type":45,"tag":78,"props":191,"children":193},{"className":192},[],[194],{"type":51,"value":195},"eu1",{"type":51,"value":197},", ",{"type":45,"tag":78,"props":199,"children":201},{"className":200},[],[202],{"type":51,"value":203},"us3",{"type":51,"value":197},{"type":45,"tag":78,"props":206,"children":208},{"className":207},[],[209],{"type":51,"value":210},"us5",{"type":51,"value":197},{"type":45,"tag":78,"props":213,"children":215},{"className":214},[],[216],{"type":51,"value":217},"ap1",{"type":51,"value":219},". For US1-FED, the pattern is flat with no site prefix: ",{"type":45,"tag":78,"props":221,"children":223},{"className":222},[],[224],{"type":51,"value":225},"datadog-rum-v5.js",{"type":51,"value":197},{"type":45,"tag":78,"props":228,"children":230},{"className":229},[],[231],{"type":51,"value":232},"datadog-logs-v5.js",{"type":51,"value":197},{"type":45,"tag":78,"props":235,"children":237},{"className":236},[],[238],{"type":51,"value":239},"datadog-rum-slim-v5.js",{"type":51,"value":241},". Note: AP2 is not available for v5 — upgrade to v6 first if you need AP2.",{"type":45,"tag":54,"props":243,"children":244},{},[245,247],{"type":51,"value":246},"Search: ",{"type":45,"tag":78,"props":248,"children":250},{"className":249},[],[251],{"type":51,"value":252},"grep -r \"datadoghq-browser-agent.com.*v4\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"",{"type":45,"tag":54,"props":254,"children":255},{},[256,261,263,269],{"type":45,"tag":70,"props":257,"children":258},{},[259],{"type":51,"value":260},"npm setup",{"type":51,"value":262}," — update ",{"type":45,"tag":78,"props":264,"children":266},{"className":265},[],[267],{"type":51,"value":268},"package.json",{"type":51,"value":270}," dependencies:",{"type":45,"tag":272,"props":273,"children":277},"pre",{"className":274,"code":276,"language":51},[275],"language-text","\"@datadog\u002Fbrowser-rum\": \"^5.0.0\"\n\"@datadog\u002Fbrowser-logs\": \"^5.0.0\"\n\"@datadog\u002Fbrowser-rum-slim\": \"^5.0.0\"\n",[278],{"type":45,"tag":78,"props":279,"children":281},{"__ignoreMap":280},"",[282],{"type":51,"value":276},{"type":45,"tag":54,"props":284,"children":285},{},[286,288,294,295,301],{"type":51,"value":287},"Then run your package manager (",{"type":45,"tag":78,"props":289,"children":291},{"className":290},[],[292],{"type":51,"value":293},"npm install",{"type":51,"value":197},{"type":45,"tag":78,"props":296,"children":298},{"className":297},[],[299],{"type":51,"value":300},"yarn install",{"type":51,"value":302},", etc.) and rebuild.",{"type":45,"tag":54,"props":304,"children":305},{},[306,308,314],{"type":51,"value":307},"Also upgrade framework integrations to v5 if used: ",{"type":45,"tag":78,"props":309,"children":311},{"className":310},[],[312],{"type":51,"value":313},"@datadog\u002Fbrowser-rum-react",{"type":51,"value":315},".",{"type":45,"tag":54,"props":317,"children":318},{},[319,320],{"type":51,"value":246},{"type":45,"tag":78,"props":321,"children":323},{"className":322},[],[324],{"type":51,"value":325},"grep -r \"@datadog\u002Fbrowser-\" --include=\"package.json\" .",{"type":45,"tag":60,"props":327,"children":329},{"id":328},"step-2-replace-deprecated-init-parameters",[330],{"type":51,"value":331},"Step 2: Replace deprecated init parameters",{"type":45,"tag":54,"props":333,"children":334},{},[335],{"type":51,"value":336},"These v4 parameter names no longer exist in v5. Replace them:",{"type":45,"tag":87,"props":338,"children":339},{},[340,356],{"type":45,"tag":91,"props":341,"children":342},{},[343],{"type":45,"tag":95,"props":344,"children":345},{},[346,351],{"type":45,"tag":99,"props":347,"children":348},{},[349],{"type":51,"value":350},"Deprecated parameter (v4)",{"type":45,"tag":99,"props":352,"children":353},{},[354],{"type":51,"value":355},"Replacement (v5)",{"type":45,"tag":110,"props":357,"children":358},{},[359,380,401,422,443,464,485],{"type":45,"tag":95,"props":360,"children":361},{},[362,371],{"type":45,"tag":117,"props":363,"children":364},{},[365],{"type":45,"tag":78,"props":366,"children":368},{"className":367},[],[369],{"type":51,"value":370},"proxyUrl",{"type":45,"tag":117,"props":372,"children":373},{},[374],{"type":45,"tag":78,"props":375,"children":377},{"className":376},[],[378],{"type":51,"value":379},"proxy",{"type":45,"tag":95,"props":381,"children":382},{},[383,392],{"type":45,"tag":117,"props":384,"children":385},{},[386],{"type":45,"tag":78,"props":387,"children":389},{"className":388},[],[390],{"type":51,"value":391},"sampleRate",{"type":45,"tag":117,"props":393,"children":394},{},[395],{"type":45,"tag":78,"props":396,"children":398},{"className":397},[],[399],{"type":51,"value":400},"sessionSampleRate",{"type":45,"tag":95,"props":402,"children":403},{},[404,413],{"type":45,"tag":117,"props":405,"children":406},{},[407],{"type":45,"tag":78,"props":408,"children":410},{"className":409},[],[411],{"type":51,"value":412},"allowedTracingOrigins",{"type":45,"tag":117,"props":414,"children":415},{},[416],{"type":45,"tag":78,"props":417,"children":419},{"className":418},[],[420],{"type":51,"value":421},"allowedTracingUrls",{"type":45,"tag":95,"props":423,"children":424},{},[425,434],{"type":45,"tag":117,"props":426,"children":427},{},[428],{"type":45,"tag":78,"props":429,"children":431},{"className":430},[],[432],{"type":51,"value":433},"tracingSampleRate",{"type":45,"tag":117,"props":435,"children":436},{},[437],{"type":45,"tag":78,"props":438,"children":440},{"className":439},[],[441],{"type":51,"value":442},"traceSampleRate",{"type":45,"tag":95,"props":444,"children":445},{},[446,455],{"type":45,"tag":117,"props":447,"children":448},{},[449],{"type":45,"tag":78,"props":450,"children":452},{"className":451},[],[453],{"type":51,"value":454},"trackInteractions",{"type":45,"tag":117,"props":456,"children":457},{},[458],{"type":45,"tag":78,"props":459,"children":461},{"className":460},[],[462],{"type":51,"value":463},"trackUserInteractions",{"type":45,"tag":95,"props":465,"children":466},{},[467,476],{"type":45,"tag":117,"props":468,"children":469},{},[470],{"type":45,"tag":78,"props":471,"children":473},{"className":472},[],[474],{"type":51,"value":475},"premiumSampleRate",{"type":45,"tag":117,"props":477,"children":478},{},[479],{"type":45,"tag":78,"props":480,"children":482},{"className":481},[],[483],{"type":51,"value":484},"sessionReplaySampleRate",{"type":45,"tag":95,"props":486,"children":487},{},[488,497],{"type":45,"tag":117,"props":489,"children":490},{},[491],{"type":45,"tag":78,"props":492,"children":494},{"className":493},[],[495],{"type":51,"value":496},"replaySampleRate",{"type":45,"tag":117,"props":498,"children":499},{},[500],{"type":45,"tag":78,"props":501,"children":503},{"className":502},[],[504],{"type":51,"value":484},{"type":45,"tag":54,"props":506,"children":507},{},[508,509],{"type":51,"value":246},{"type":45,"tag":78,"props":510,"children":512},{"className":511},[],[513],{"type":51,"value":514},"grep -rn 'proxyUrl\\|sampleRate\\|allowedTracingOrigins\\|tracingSampleRate\\|trackInteractions\\|premiumSampleRate\\|replaySampleRate' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":54,"props":516,"children":517},{},[518,523,525,530,532,537],{"type":45,"tag":70,"props":519,"children":520},{},[521],{"type":51,"value":522},"Note",{"type":51,"value":524},": ",{"type":45,"tag":78,"props":526,"children":528},{"className":527},[],[529],{"type":51,"value":391},{"type":51,"value":531}," matches broadly. Look specifically for init config objects — ",{"type":45,"tag":78,"props":533,"children":535},{"className":534},[],[536],{"type":51,"value":400},{"type":51,"value":538}," is the v5 name for the session sampling rate.",{"type":45,"tag":60,"props":540,"children":542},{"id":541},"step-3-replace-deprecated-public-apis",[543],{"type":51,"value":544},"Step 3: Replace deprecated public APIs",{"type":45,"tag":54,"props":546,"children":547},{},[548],{"type":51,"value":549},"These v4 API method names no longer exist in v5:",{"type":45,"tag":551,"props":552,"children":554},"h3",{"id":553},"rum-apis",[555],{"type":51,"value":556},"RUM APIs",{"type":45,"tag":87,"props":558,"children":559},{},[560,575],{"type":45,"tag":91,"props":561,"children":562},{},[563],{"type":45,"tag":95,"props":564,"children":565},{},[566,571],{"type":45,"tag":99,"props":567,"children":568},{},[569],{"type":51,"value":570},"Deprecated API (v4)",{"type":45,"tag":99,"props":572,"children":573},{},[574],{"type":51,"value":355},{"type":45,"tag":110,"props":576,"children":577},{},[578,599,620,641,662],{"type":45,"tag":95,"props":579,"children":580},{},[581,590],{"type":45,"tag":117,"props":582,"children":583},{},[584],{"type":45,"tag":78,"props":585,"children":587},{"className":586},[],[588],{"type":51,"value":589},"DD_RUM.removeUser",{"type":45,"tag":117,"props":591,"children":592},{},[593],{"type":45,"tag":78,"props":594,"children":596},{"className":595},[],[597],{"type":51,"value":598},"DD_RUM.clearUser",{"type":45,"tag":95,"props":600,"children":601},{},[602,611],{"type":45,"tag":117,"props":603,"children":604},{},[605],{"type":45,"tag":78,"props":606,"children":608},{"className":607},[],[609],{"type":51,"value":610},"DD_RUM.addRumGlobalContext",{"type":45,"tag":117,"props":612,"children":613},{},[614],{"type":45,"tag":78,"props":615,"children":617},{"className":616},[],[618],{"type":51,"value":619},"DD_RUM.setGlobalContextProperty",{"type":45,"tag":95,"props":621,"children":622},{},[623,632],{"type":45,"tag":117,"props":624,"children":625},{},[626],{"type":45,"tag":78,"props":627,"children":629},{"className":628},[],[630],{"type":51,"value":631},"DD_RUM.removeRumGlobalContext",{"type":45,"tag":117,"props":633,"children":634},{},[635],{"type":45,"tag":78,"props":636,"children":638},{"className":637},[],[639],{"type":51,"value":640},"DD_RUM.removeGlobalContextProperty",{"type":45,"tag":95,"props":642,"children":643},{},[644,653],{"type":45,"tag":117,"props":645,"children":646},{},[647],{"type":45,"tag":78,"props":648,"children":650},{"className":649},[],[651],{"type":51,"value":652},"DD_RUM.getRumGlobalContext",{"type":45,"tag":117,"props":654,"children":655},{},[656],{"type":45,"tag":78,"props":657,"children":659},{"className":658},[],[660],{"type":51,"value":661},"DD_RUM.getGlobalContext",{"type":45,"tag":95,"props":663,"children":664},{},[665,674],{"type":45,"tag":117,"props":666,"children":667},{},[668],{"type":45,"tag":78,"props":669,"children":671},{"className":670},[],[672],{"type":51,"value":673},"DD_RUM.setRumGlobalContext",{"type":45,"tag":117,"props":675,"children":676},{},[677],{"type":45,"tag":78,"props":678,"children":680},{"className":679},[],[681],{"type":51,"value":682},"DD_RUM.setGlobalContext",{"type":45,"tag":551,"props":684,"children":686},{"id":685},"logs-apis",[687],{"type":51,"value":688},"Logs APIs",{"type":45,"tag":87,"props":690,"children":691},{},[692,706],{"type":45,"tag":91,"props":693,"children":694},{},[695],{"type":45,"tag":95,"props":696,"children":697},{},[698,702],{"type":45,"tag":99,"props":699,"children":700},{},[701],{"type":51,"value":570},{"type":45,"tag":99,"props":703,"children":704},{},[705],{"type":51,"value":355},{"type":45,"tag":110,"props":707,"children":708},{},[709,730,751,772,793,814],{"type":45,"tag":95,"props":710,"children":711},{},[712,721],{"type":45,"tag":117,"props":713,"children":714},{},[715],{"type":45,"tag":78,"props":716,"children":718},{"className":717},[],[719],{"type":51,"value":720},"DD_LOGS.addLoggerGlobalContext",{"type":45,"tag":117,"props":722,"children":723},{},[724],{"type":45,"tag":78,"props":725,"children":727},{"className":726},[],[728],{"type":51,"value":729},"DD_LOGS.setGlobalContextProperty",{"type":45,"tag":95,"props":731,"children":732},{},[733,742],{"type":45,"tag":117,"props":734,"children":735},{},[736],{"type":45,"tag":78,"props":737,"children":739},{"className":738},[],[740],{"type":51,"value":741},"DD_LOGS.removeLoggerGlobalContext",{"type":45,"tag":117,"props":743,"children":744},{},[745],{"type":45,"tag":78,"props":746,"children":748},{"className":747},[],[749],{"type":51,"value":750},"DD_LOGS.removeGlobalContextProperty",{"type":45,"tag":95,"props":752,"children":753},{},[754,763],{"type":45,"tag":117,"props":755,"children":756},{},[757],{"type":45,"tag":78,"props":758,"children":760},{"className":759},[],[761],{"type":51,"value":762},"DD_LOGS.getLoggerGlobalContext",{"type":45,"tag":117,"props":764,"children":765},{},[766],{"type":45,"tag":78,"props":767,"children":769},{"className":768},[],[770],{"type":51,"value":771},"DD_LOGS.getGlobalContext",{"type":45,"tag":95,"props":773,"children":774},{},[775,784],{"type":45,"tag":117,"props":776,"children":777},{},[778],{"type":45,"tag":78,"props":779,"children":781},{"className":780},[],[782],{"type":51,"value":783},"DD_LOGS.setLoggerGlobalContext",{"type":45,"tag":117,"props":785,"children":786},{},[787],{"type":45,"tag":78,"props":788,"children":790},{"className":789},[],[791],{"type":51,"value":792},"DD_LOGS.setGlobalContext",{"type":45,"tag":95,"props":794,"children":795},{},[796,805],{"type":45,"tag":117,"props":797,"children":798},{},[799],{"type":45,"tag":78,"props":800,"children":802},{"className":801},[],[803],{"type":51,"value":804},"logger.addContext",{"type":45,"tag":117,"props":806,"children":807},{},[808],{"type":45,"tag":78,"props":809,"children":811},{"className":810},[],[812],{"type":51,"value":813},"logger.setContextProperty",{"type":45,"tag":95,"props":815,"children":816},{},[817,826],{"type":45,"tag":117,"props":818,"children":819},{},[820],{"type":45,"tag":78,"props":821,"children":823},{"className":822},[],[824],{"type":51,"value":825},"logger.removeContext",{"type":45,"tag":117,"props":827,"children":828},{},[829],{"type":45,"tag":78,"props":830,"children":832},{"className":831},[],[833],{"type":51,"value":834},"logger.removeContextProperty",{"type":45,"tag":54,"props":836,"children":837},{},[838,839],{"type":51,"value":246},{"type":45,"tag":78,"props":840,"children":842},{"className":841},[],[843],{"type":51,"value":844},"grep -rn 'removeUser\\|addRumGlobalContext\\|removeRumGlobalContext\\|getRumGlobalContext\\|setRumGlobalContext\\|addLoggerGlobalContext\\|removeLoggerGlobalContext\\|getLoggerGlobalContext\\|setLoggerGlobalContext\\|\\.addContext\\|\\.removeContext' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":60,"props":846,"children":848},{"id":847},"step-4-update-session-replay-configuration",[849],{"type":51,"value":850},"Step 4: Update Session Replay configuration",{"type":45,"tag":54,"props":852,"children":853},{},[854],{"type":51,"value":855},"v5 changes several Session Replay defaults and behaviors:",{"type":45,"tag":551,"props":857,"children":859},{"id":858},"_4a-defaultprivacylevel-changed-to-mask",[860,862,868,870],{"type":51,"value":861},"4a. ",{"type":45,"tag":78,"props":863,"children":865},{"className":864},[],[866],{"type":51,"value":867},"defaultPrivacyLevel",{"type":51,"value":869}," changed to ",{"type":45,"tag":78,"props":871,"children":873},{"className":872},[],[874],{"type":51,"value":875},"\"mask\"",{"type":45,"tag":54,"props":877,"children":878},{},[879,881,887,889,894],{"type":51,"value":880},"In v4, the default was ",{"type":45,"tag":78,"props":882,"children":884},{"className":883},[],[885],{"type":51,"value":886},"mask-user-input",{"type":51,"value":888},". In v5, ",{"type":45,"tag":70,"props":890,"children":891},{},[892],{"type":51,"value":893},"all content is masked by default",{"type":51,"value":315},{"type":45,"tag":54,"props":896,"children":897},{},[898],{"type":51,"value":899},"To preserve v4 behavior (only mask user input):",{"type":45,"tag":272,"props":901,"children":905},{"className":902,"code":903,"language":904,"meta":280,"style":280},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","DD_RUM.init({\n  defaultPrivacyLevel: 'mask-user-input',\n})\n","js",[906],{"type":45,"tag":78,"props":907,"children":908},{"__ignoreMap":280},[909,942,977],{"type":45,"tag":910,"props":911,"children":914},"span",{"class":912,"line":913},"line",1,[915,921,926,932,937],{"type":45,"tag":910,"props":916,"children":918},{"style":917},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[919],{"type":51,"value":920},"DD_RUM",{"type":45,"tag":910,"props":922,"children":924},{"style":923},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[925],{"type":51,"value":315},{"type":45,"tag":910,"props":927,"children":929},{"style":928},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[930],{"type":51,"value":931},"init",{"type":45,"tag":910,"props":933,"children":934},{"style":917},[935],{"type":51,"value":936},"(",{"type":45,"tag":910,"props":938,"children":939},{"style":923},[940],{"type":51,"value":941},"{\n",{"type":45,"tag":910,"props":943,"children":945},{"class":912,"line":944},2,[946,952,957,962,967,972],{"type":45,"tag":910,"props":947,"children":949},{"style":948},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[950],{"type":51,"value":951},"  defaultPrivacyLevel",{"type":45,"tag":910,"props":953,"children":954},{"style":923},[955],{"type":51,"value":956},":",{"type":45,"tag":910,"props":958,"children":959},{"style":923},[960],{"type":51,"value":961}," '",{"type":45,"tag":910,"props":963,"children":965},{"style":964},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[966],{"type":51,"value":886},{"type":45,"tag":910,"props":968,"children":969},{"style":923},[970],{"type":51,"value":971},"'",{"type":45,"tag":910,"props":973,"children":974},{"style":923},[975],{"type":51,"value":976},",\n",{"type":45,"tag":910,"props":978,"children":980},{"class":912,"line":979},3,[981,986],{"type":45,"tag":910,"props":982,"children":983},{"style":923},[984],{"type":51,"value":985},"}",{"type":45,"tag":910,"props":987,"children":988},{"style":917},[989],{"type":51,"value":990},")\n",{"type":45,"tag":551,"props":992,"children":994},{"id":993},"_4b-recording-starts-automatically",[995],{"type":51,"value":996},"4b. Recording starts automatically",{"type":45,"tag":54,"props":998,"children":999},{},[1000,1002,1008],{"type":51,"value":1001},"Sessions sampled for Session Replay are now automatically recorded. You no longer need to call ",{"type":45,"tag":78,"props":1003,"children":1005},{"className":1004},[],[1006],{"type":51,"value":1007},"startSessionReplayRecording()",{"type":51,"value":315},{"type":45,"tag":54,"props":1010,"children":1011},{},[1012],{"type":51,"value":1013},"To preserve v4 behavior (manual recording start):",{"type":45,"tag":272,"props":1015,"children":1017},{"className":902,"code":1016,"language":904,"meta":280,"style":280},"DD_RUM.init({\n  startSessionReplayRecordingManually: true,\n})\n",[1018],{"type":45,"tag":78,"props":1019,"children":1020},{"__ignoreMap":280},[1021,1044,1066],{"type":45,"tag":910,"props":1022,"children":1023},{"class":912,"line":913},[1024,1028,1032,1036,1040],{"type":45,"tag":910,"props":1025,"children":1026},{"style":917},[1027],{"type":51,"value":920},{"type":45,"tag":910,"props":1029,"children":1030},{"style":923},[1031],{"type":51,"value":315},{"type":45,"tag":910,"props":1033,"children":1034},{"style":928},[1035],{"type":51,"value":931},{"type":45,"tag":910,"props":1037,"children":1038},{"style":917},[1039],{"type":51,"value":936},{"type":45,"tag":910,"props":1041,"children":1042},{"style":923},[1043],{"type":51,"value":941},{"type":45,"tag":910,"props":1045,"children":1046},{"class":912,"line":944},[1047,1052,1056,1062],{"type":45,"tag":910,"props":1048,"children":1049},{"style":948},[1050],{"type":51,"value":1051},"  startSessionReplayRecordingManually",{"type":45,"tag":910,"props":1053,"children":1054},{"style":923},[1055],{"type":51,"value":956},{"type":45,"tag":910,"props":1057,"children":1059},{"style":1058},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1060],{"type":51,"value":1061}," true",{"type":45,"tag":910,"props":1063,"children":1064},{"style":923},[1065],{"type":51,"value":976},{"type":45,"tag":910,"props":1067,"children":1068},{"class":912,"line":979},[1069,1073],{"type":45,"tag":910,"props":1070,"children":1071},{"style":923},[1072],{"type":51,"value":985},{"type":45,"tag":910,"props":1074,"children":1075},{"style":917},[1076],{"type":51,"value":990},{"type":45,"tag":551,"props":1078,"children":1080},{"id":1079},"_4c-default-sessionreplaysamplerate-is-now-0",[1081,1083,1088,1090],{"type":51,"value":1082},"4c. Default ",{"type":45,"tag":78,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":51,"value":484},{"type":51,"value":1089}," is now ",{"type":45,"tag":78,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":51,"value":1095},"0",{"type":45,"tag":54,"props":1097,"children":1098},{},[1099,1101,1106],{"type":51,"value":1100},"In v4, the default replay sample rate was 100. In v5, it's ",{"type":45,"tag":78,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":51,"value":1095},{"type":51,"value":1107}," — no replays unless you set it explicitly.",{"type":45,"tag":54,"props":1109,"children":1110},{},[1111,1116,1118,1123],{"type":45,"tag":70,"props":1112,"children":1113},{},[1114],{"type":51,"value":1115},"Action",{"type":51,"value":1117},": Ensure ",{"type":45,"tag":78,"props":1119,"children":1121},{"className":1120},[],[1122],{"type":51,"value":484},{"type":51,"value":1124}," is explicitly set in your init config:",{"type":45,"tag":272,"props":1126,"children":1128},{"className":902,"code":1127,"language":904,"meta":280,"style":280},"DD_RUM.init({\n  sessionReplaySampleRate: 100, \u002F\u002F or your desired rate\n})\n",[1129],{"type":45,"tag":78,"props":1130,"children":1131},{"__ignoreMap":280},[1132,1155,1184],{"type":45,"tag":910,"props":1133,"children":1134},{"class":912,"line":913},[1135,1139,1143,1147,1151],{"type":45,"tag":910,"props":1136,"children":1137},{"style":917},[1138],{"type":51,"value":920},{"type":45,"tag":910,"props":1140,"children":1141},{"style":923},[1142],{"type":51,"value":315},{"type":45,"tag":910,"props":1144,"children":1145},{"style":928},[1146],{"type":51,"value":931},{"type":45,"tag":910,"props":1148,"children":1149},{"style":917},[1150],{"type":51,"value":936},{"type":45,"tag":910,"props":1152,"children":1153},{"style":923},[1154],{"type":51,"value":941},{"type":45,"tag":910,"props":1156,"children":1157},{"class":912,"line":944},[1158,1163,1167,1173,1178],{"type":45,"tag":910,"props":1159,"children":1160},{"style":948},[1161],{"type":51,"value":1162},"  sessionReplaySampleRate",{"type":45,"tag":910,"props":1164,"children":1165},{"style":923},[1166],{"type":51,"value":956},{"type":45,"tag":910,"props":1168,"children":1170},{"style":1169},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1171],{"type":51,"value":1172}," 100",{"type":45,"tag":910,"props":1174,"children":1175},{"style":923},[1176],{"type":51,"value":1177},",",{"type":45,"tag":910,"props":1179,"children":1181},{"style":1180},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1182],{"type":51,"value":1183}," \u002F\u002F or your desired rate\n",{"type":45,"tag":910,"props":1185,"children":1186},{"class":912,"line":979},[1187,1191],{"type":45,"tag":910,"props":1188,"children":1189},{"style":923},[1190],{"type":51,"value":985},{"type":45,"tag":910,"props":1192,"children":1193},{"style":917},[1194],{"type":51,"value":990},{"type":45,"tag":551,"props":1196,"children":1198},{"id":1197},"_4d-trackresources-and-tracklongtasks-must-be-explicit",[1199,1201,1207,1209,1215],{"type":51,"value":1200},"4d. ",{"type":45,"tag":78,"props":1202,"children":1204},{"className":1203},[],[1205],{"type":51,"value":1206},"trackResources",{"type":51,"value":1208}," and ",{"type":45,"tag":78,"props":1210,"children":1212},{"className":1211},[],[1213],{"type":51,"value":1214},"trackLongTasks",{"type":51,"value":1216}," must be explicit",{"type":45,"tag":54,"props":1218,"children":1219},{},[1220,1222,1227,1229,1234,1236,1241,1243,1248,1250,1256],{"type":51,"value":1221},"When using ",{"type":45,"tag":78,"props":1223,"children":1225},{"className":1224},[],[1226],{"type":51,"value":484},{"type":51,"value":1228}," (instead of the removed ",{"type":45,"tag":78,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":51,"value":496},{"type":51,"value":1235}," or ",{"type":45,"tag":78,"props":1237,"children":1239},{"className":1238},[],[1240],{"type":51,"value":475},{"type":51,"value":1242},"), resources and long tasks are no longer collected by default. Enable them explicitly — ",{"type":45,"tag":70,"props":1244,"children":1245},{},[1246],{"type":51,"value":1247},"unless",{"type":51,"value":1249}," the v4 config already set them to ",{"type":45,"tag":78,"props":1251,"children":1253},{"className":1252},[],[1254],{"type":51,"value":1255},"false",{"type":51,"value":1257}," intentionally:",{"type":45,"tag":272,"props":1259,"children":1261},{"className":902,"code":1260,"language":904,"meta":280,"style":280},"DD_RUM.init({\n  sessionReplaySampleRate: 100,\n  trackResources: true, \u002F\u002F omit if v4 explicitly had trackResources: false\n  trackLongTasks: true, \u002F\u002F omit if v4 explicitly had trackLongTasks: false\n})\n",[1262],{"type":45,"tag":78,"props":1263,"children":1264},{"__ignoreMap":280},[1265,1288,1307,1332,1358],{"type":45,"tag":910,"props":1266,"children":1267},{"class":912,"line":913},[1268,1272,1276,1280,1284],{"type":45,"tag":910,"props":1269,"children":1270},{"style":917},[1271],{"type":51,"value":920},{"type":45,"tag":910,"props":1273,"children":1274},{"style":923},[1275],{"type":51,"value":315},{"type":45,"tag":910,"props":1277,"children":1278},{"style":928},[1279],{"type":51,"value":931},{"type":45,"tag":910,"props":1281,"children":1282},{"style":917},[1283],{"type":51,"value":936},{"type":45,"tag":910,"props":1285,"children":1286},{"style":923},[1287],{"type":51,"value":941},{"type":45,"tag":910,"props":1289,"children":1290},{"class":912,"line":944},[1291,1295,1299,1303],{"type":45,"tag":910,"props":1292,"children":1293},{"style":948},[1294],{"type":51,"value":1162},{"type":45,"tag":910,"props":1296,"children":1297},{"style":923},[1298],{"type":51,"value":956},{"type":45,"tag":910,"props":1300,"children":1301},{"style":1169},[1302],{"type":51,"value":1172},{"type":45,"tag":910,"props":1304,"children":1305},{"style":923},[1306],{"type":51,"value":976},{"type":45,"tag":910,"props":1308,"children":1309},{"class":912,"line":979},[1310,1315,1319,1323,1327],{"type":45,"tag":910,"props":1311,"children":1312},{"style":948},[1313],{"type":51,"value":1314},"  trackResources",{"type":45,"tag":910,"props":1316,"children":1317},{"style":923},[1318],{"type":51,"value":956},{"type":45,"tag":910,"props":1320,"children":1321},{"style":1058},[1322],{"type":51,"value":1061},{"type":45,"tag":910,"props":1324,"children":1325},{"style":923},[1326],{"type":51,"value":1177},{"type":45,"tag":910,"props":1328,"children":1329},{"style":1180},[1330],{"type":51,"value":1331}," \u002F\u002F omit if v4 explicitly had trackResources: false\n",{"type":45,"tag":910,"props":1333,"children":1335},{"class":912,"line":1334},4,[1336,1341,1345,1349,1353],{"type":45,"tag":910,"props":1337,"children":1338},{"style":948},[1339],{"type":51,"value":1340},"  trackLongTasks",{"type":45,"tag":910,"props":1342,"children":1343},{"style":923},[1344],{"type":51,"value":956},{"type":45,"tag":910,"props":1346,"children":1347},{"style":1058},[1348],{"type":51,"value":1061},{"type":45,"tag":910,"props":1350,"children":1351},{"style":923},[1352],{"type":51,"value":1177},{"type":45,"tag":910,"props":1354,"children":1355},{"style":1180},[1356],{"type":51,"value":1357}," \u002F\u002F omit if v4 explicitly had trackLongTasks: false\n",{"type":45,"tag":910,"props":1359,"children":1361},{"class":912,"line":1360},5,[1362,1366],{"type":45,"tag":910,"props":1363,"children":1364},{"style":923},[1365],{"type":51,"value":985},{"type":45,"tag":910,"props":1367,"children":1368},{"style":917},[1369],{"type":51,"value":990},{"type":45,"tag":54,"props":1371,"children":1372},{},[1373,1374],{"type":51,"value":246},{"type":45,"tag":78,"props":1375,"children":1377},{"className":1376},[],[1378],{"type":51,"value":1379},"grep -rn 'sessionReplaySampleRate\\|startSessionReplayRecording\\|defaultPrivacyLevel\\|trackResources\\|trackLongTasks' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":54,"props":1381,"children":1382},{},[1383,1385,1391,1393,1398,1399,1404,1406,1411,1413,1418],{"type":51,"value":1384},"Also search for all RUM init calls to catch projects that omit these options and rely on v4 defaults: ",{"type":45,"tag":78,"props":1386,"children":1388},{"className":1387},[],[1389],{"type":51,"value":1390},"grep -rn 'DD_RUM\\.init\\|datadogRum\\.init' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":51,"value":1392},". For each init call, verify that ",{"type":45,"tag":78,"props":1394,"children":1396},{"className":1395},[],[1397],{"type":51,"value":484},{"type":51,"value":197},{"type":45,"tag":78,"props":1400,"children":1402},{"className":1401},[],[1403],{"type":51,"value":867},{"type":51,"value":1405},", and ",{"type":45,"tag":78,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":51,"value":1206},{"type":51,"value":1412},"\u002F",{"type":45,"tag":78,"props":1414,"children":1416},{"className":1415},[],[1417],{"type":51,"value":1214},{"type":51,"value":1419}," are explicitly set.",{"type":45,"tag":60,"props":1421,"children":1423},{"id":1422},"step-5-update-changed-apis-and-behaviors",[1424],{"type":51,"value":1425},"Step 5: Update changed APIs and behaviors",{"type":45,"tag":551,"props":1427,"children":1429},{"id":1428},"_5a-beforesend-must-return-a-boolean",[1430,1432,1438],{"type":51,"value":1431},"5a. ",{"type":45,"tag":78,"props":1433,"children":1435},{"className":1434},[],[1436],{"type":51,"value":1437},"beforeSend",{"type":51,"value":1439}," must return a boolean",{"type":45,"tag":54,"props":1441,"children":1442},{},[1443,1448,1450,1456,1458,1463],{"type":45,"tag":78,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":51,"value":1437},{"type":51,"value":1449}," callback functions should return ",{"type":45,"tag":78,"props":1451,"children":1453},{"className":1452},[],[1454],{"type":51,"value":1455},"true",{"type":51,"value":1457}," to keep the event or ",{"type":45,"tag":78,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":51,"value":1255},{"type":51,"value":1464}," to discard it. If no value is returned, the event is kept. This resolves TypeScript compilation errors.",{"type":45,"tag":272,"props":1466,"children":1468},{"className":902,"code":1467,"language":904,"meta":280,"style":280},"beforeSend: (event, context) => {\n  \u002F\u002F return true to keep, false to discard\n  return true\n}\n",[1469],{"type":45,"tag":78,"props":1470,"children":1471},{"__ignoreMap":280},[1472,1520,1528,1542],{"type":45,"tag":910,"props":1473,"children":1474},{"class":912,"line":913},[1475,1480,1484,1489,1495,1499,1504,1509,1515],{"type":45,"tag":910,"props":1476,"children":1478},{"style":1477},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1479],{"type":51,"value":1437},{"type":45,"tag":910,"props":1481,"children":1482},{"style":923},[1483],{"type":51,"value":956},{"type":45,"tag":910,"props":1485,"children":1486},{"style":923},[1487],{"type":51,"value":1488}," (",{"type":45,"tag":910,"props":1490,"children":1492},{"style":1491},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1493],{"type":51,"value":1494},"event",{"type":45,"tag":910,"props":1496,"children":1497},{"style":923},[1498],{"type":51,"value":1177},{"type":45,"tag":910,"props":1500,"children":1501},{"style":1491},[1502],{"type":51,"value":1503}," context",{"type":45,"tag":910,"props":1505,"children":1506},{"style":923},[1507],{"type":51,"value":1508},")",{"type":45,"tag":910,"props":1510,"children":1512},{"style":1511},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1513],{"type":51,"value":1514}," =>",{"type":45,"tag":910,"props":1516,"children":1517},{"style":923},[1518],{"type":51,"value":1519}," {\n",{"type":45,"tag":910,"props":1521,"children":1522},{"class":912,"line":944},[1523],{"type":45,"tag":910,"props":1524,"children":1525},{"style":1180},[1526],{"type":51,"value":1527},"  \u002F\u002F return true to keep, false to discard\n",{"type":45,"tag":910,"props":1529,"children":1530},{"class":912,"line":979},[1531,1537],{"type":45,"tag":910,"props":1532,"children":1534},{"style":1533},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1535],{"type":51,"value":1536},"  return",{"type":45,"tag":910,"props":1538,"children":1539},{"style":1058},[1540],{"type":51,"value":1541}," true\n",{"type":45,"tag":910,"props":1543,"children":1544},{"class":912,"line":1334},[1545],{"type":45,"tag":910,"props":1546,"children":1547},{"style":923},[1548],{"type":51,"value":1549},"}\n",{"type":45,"tag":551,"props":1551,"children":1553},{"id":1552},"_5b-beforesend-action-context-contextevent-contextevents",[1554,1556,1561,1563,1569,1571],{"type":51,"value":1555},"5b. ",{"type":45,"tag":78,"props":1557,"children":1559},{"className":1558},[],[1560],{"type":51,"value":1437},{"type":51,"value":1562}," action context: ",{"type":45,"tag":78,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":51,"value":1568},"context.event",{"type":51,"value":1570}," → ",{"type":45,"tag":78,"props":1572,"children":1574},{"className":1573},[],[1575],{"type":51,"value":1576},"context.events",{"type":45,"tag":54,"props":1578,"children":1579},{},[1580,1582,1587,1589,1594],{"type":51,"value":1581},"With frustration signals, an action event can be associated with multiple DOM events. ",{"type":45,"tag":78,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":51,"value":1568},{"type":51,"value":1588}," is replaced by ",{"type":45,"tag":78,"props":1590,"children":1592},{"className":1591},[],[1593],{"type":51,"value":1576},{"type":51,"value":1595}," (array).",{"type":45,"tag":272,"props":1597,"children":1599},{"className":902,"code":1598,"language":904,"meta":280,"style":280},"\u002F\u002F v4\nbeforeSend: (event, context) => {\n  if (event.type === 'action') {\n    const domEvent = context.event\n  }\n}\n\n\u002F\u002F v5\nbeforeSend: (event, context) => {\n  if (event.type === 'action') {\n    const domEvents = context.events \u002F\u002F array\n  }\n}\n",[1600],{"type":45,"tag":78,"props":1601,"children":1602},{"__ignoreMap":280},[1603,1611,1650,1702,1733,1741,1749,1759,1768,1808,1856,1891,1899],{"type":45,"tag":910,"props":1604,"children":1605},{"class":912,"line":913},[1606],{"type":45,"tag":910,"props":1607,"children":1608},{"style":1180},[1609],{"type":51,"value":1610},"\u002F\u002F v4\n",{"type":45,"tag":910,"props":1612,"children":1613},{"class":912,"line":944},[1614,1618,1622,1626,1630,1634,1638,1642,1646],{"type":45,"tag":910,"props":1615,"children":1616},{"style":1477},[1617],{"type":51,"value":1437},{"type":45,"tag":910,"props":1619,"children":1620},{"style":923},[1621],{"type":51,"value":956},{"type":45,"tag":910,"props":1623,"children":1624},{"style":923},[1625],{"type":51,"value":1488},{"type":45,"tag":910,"props":1627,"children":1628},{"style":1491},[1629],{"type":51,"value":1494},{"type":45,"tag":910,"props":1631,"children":1632},{"style":923},[1633],{"type":51,"value":1177},{"type":45,"tag":910,"props":1635,"children":1636},{"style":1491},[1637],{"type":51,"value":1503},{"type":45,"tag":910,"props":1639,"children":1640},{"style":923},[1641],{"type":51,"value":1508},{"type":45,"tag":910,"props":1643,"children":1644},{"style":1511},[1645],{"type":51,"value":1514},{"type":45,"tag":910,"props":1647,"children":1648},{"style":923},[1649],{"type":51,"value":1519},{"type":45,"tag":910,"props":1651,"children":1652},{"class":912,"line":979},[1653,1658,1662,1666,1670,1675,1680,1684,1689,1693,1698],{"type":45,"tag":910,"props":1654,"children":1655},{"style":1533},[1656],{"type":51,"value":1657},"  if",{"type":45,"tag":910,"props":1659,"children":1660},{"style":948},[1661],{"type":51,"value":1488},{"type":45,"tag":910,"props":1663,"children":1664},{"style":917},[1665],{"type":51,"value":1494},{"type":45,"tag":910,"props":1667,"children":1668},{"style":923},[1669],{"type":51,"value":315},{"type":45,"tag":910,"props":1671,"children":1672},{"style":917},[1673],{"type":51,"value":1674},"type",{"type":45,"tag":910,"props":1676,"children":1677},{"style":923},[1678],{"type":51,"value":1679}," ===",{"type":45,"tag":910,"props":1681,"children":1682},{"style":923},[1683],{"type":51,"value":961},{"type":45,"tag":910,"props":1685,"children":1686},{"style":964},[1687],{"type":51,"value":1688},"action",{"type":45,"tag":910,"props":1690,"children":1691},{"style":923},[1692],{"type":51,"value":971},{"type":45,"tag":910,"props":1694,"children":1695},{"style":948},[1696],{"type":51,"value":1697},") ",{"type":45,"tag":910,"props":1699,"children":1700},{"style":923},[1701],{"type":51,"value":941},{"type":45,"tag":910,"props":1703,"children":1704},{"class":912,"line":1334},[1705,1710,1715,1720,1724,1728],{"type":45,"tag":910,"props":1706,"children":1707},{"style":1511},[1708],{"type":51,"value":1709},"    const",{"type":45,"tag":910,"props":1711,"children":1712},{"style":917},[1713],{"type":51,"value":1714}," domEvent",{"type":45,"tag":910,"props":1716,"children":1717},{"style":923},[1718],{"type":51,"value":1719}," =",{"type":45,"tag":910,"props":1721,"children":1722},{"style":917},[1723],{"type":51,"value":1503},{"type":45,"tag":910,"props":1725,"children":1726},{"style":923},[1727],{"type":51,"value":315},{"type":45,"tag":910,"props":1729,"children":1730},{"style":917},[1731],{"type":51,"value":1732},"event\n",{"type":45,"tag":910,"props":1734,"children":1735},{"class":912,"line":1360},[1736],{"type":45,"tag":910,"props":1737,"children":1738},{"style":923},[1739],{"type":51,"value":1740},"  }\n",{"type":45,"tag":910,"props":1742,"children":1744},{"class":912,"line":1743},6,[1745],{"type":45,"tag":910,"props":1746,"children":1747},{"style":923},[1748],{"type":51,"value":1549},{"type":45,"tag":910,"props":1750,"children":1752},{"class":912,"line":1751},7,[1753],{"type":45,"tag":910,"props":1754,"children":1756},{"emptyLinePlaceholder":1755},true,[1757],{"type":51,"value":1758},"\n",{"type":45,"tag":910,"props":1760,"children":1762},{"class":912,"line":1761},8,[1763],{"type":45,"tag":910,"props":1764,"children":1765},{"style":1180},[1766],{"type":51,"value":1767},"\u002F\u002F v5\n",{"type":45,"tag":910,"props":1769,"children":1771},{"class":912,"line":1770},9,[1772,1776,1780,1784,1788,1792,1796,1800,1804],{"type":45,"tag":910,"props":1773,"children":1774},{"style":1477},[1775],{"type":51,"value":1437},{"type":45,"tag":910,"props":1777,"children":1778},{"style":923},[1779],{"type":51,"value":956},{"type":45,"tag":910,"props":1781,"children":1782},{"style":923},[1783],{"type":51,"value":1488},{"type":45,"tag":910,"props":1785,"children":1786},{"style":1491},[1787],{"type":51,"value":1494},{"type":45,"tag":910,"props":1789,"children":1790},{"style":923},[1791],{"type":51,"value":1177},{"type":45,"tag":910,"props":1793,"children":1794},{"style":1491},[1795],{"type":51,"value":1503},{"type":45,"tag":910,"props":1797,"children":1798},{"style":923},[1799],{"type":51,"value":1508},{"type":45,"tag":910,"props":1801,"children":1802},{"style":1511},[1803],{"type":51,"value":1514},{"type":45,"tag":910,"props":1805,"children":1806},{"style":923},[1807],{"type":51,"value":1519},{"type":45,"tag":910,"props":1809,"children":1811},{"class":912,"line":1810},10,[1812,1816,1820,1824,1828,1832,1836,1840,1844,1848,1852],{"type":45,"tag":910,"props":1813,"children":1814},{"style":1533},[1815],{"type":51,"value":1657},{"type":45,"tag":910,"props":1817,"children":1818},{"style":948},[1819],{"type":51,"value":1488},{"type":45,"tag":910,"props":1821,"children":1822},{"style":917},[1823],{"type":51,"value":1494},{"type":45,"tag":910,"props":1825,"children":1826},{"style":923},[1827],{"type":51,"value":315},{"type":45,"tag":910,"props":1829,"children":1830},{"style":917},[1831],{"type":51,"value":1674},{"type":45,"tag":910,"props":1833,"children":1834},{"style":923},[1835],{"type":51,"value":1679},{"type":45,"tag":910,"props":1837,"children":1838},{"style":923},[1839],{"type":51,"value":961},{"type":45,"tag":910,"props":1841,"children":1842},{"style":964},[1843],{"type":51,"value":1688},{"type":45,"tag":910,"props":1845,"children":1846},{"style":923},[1847],{"type":51,"value":971},{"type":45,"tag":910,"props":1849,"children":1850},{"style":948},[1851],{"type":51,"value":1697},{"type":45,"tag":910,"props":1853,"children":1854},{"style":923},[1855],{"type":51,"value":941},{"type":45,"tag":910,"props":1857,"children":1859},{"class":912,"line":1858},11,[1860,1864,1869,1873,1877,1881,1886],{"type":45,"tag":910,"props":1861,"children":1862},{"style":1511},[1863],{"type":51,"value":1709},{"type":45,"tag":910,"props":1865,"children":1866},{"style":917},[1867],{"type":51,"value":1868}," domEvents",{"type":45,"tag":910,"props":1870,"children":1871},{"style":923},[1872],{"type":51,"value":1719},{"type":45,"tag":910,"props":1874,"children":1875},{"style":917},[1876],{"type":51,"value":1503},{"type":45,"tag":910,"props":1878,"children":1879},{"style":923},[1880],{"type":51,"value":315},{"type":45,"tag":910,"props":1882,"children":1883},{"style":917},[1884],{"type":51,"value":1885},"events",{"type":45,"tag":910,"props":1887,"children":1888},{"style":1180},[1889],{"type":51,"value":1890}," \u002F\u002F array\n",{"type":45,"tag":910,"props":1892,"children":1894},{"class":912,"line":1893},12,[1895],{"type":45,"tag":910,"props":1896,"children":1897},{"style":923},[1898],{"type":51,"value":1740},{"type":45,"tag":910,"props":1900,"children":1902},{"class":912,"line":1901},13,[1903],{"type":45,"tag":910,"props":1904,"children":1905},{"style":923},[1906],{"type":51,"value":1549},{"type":45,"tag":551,"props":1908,"children":1910},{"id":1909},"_5c-beforesend-performance-entry-is-now-a-performanceentry-object",[1911,1913,1918,1920,1926],{"type":51,"value":1912},"5c. ",{"type":45,"tag":78,"props":1914,"children":1916},{"className":1915},[],[1917],{"type":51,"value":1437},{"type":51,"value":1919}," performance entry is now a ",{"type":45,"tag":78,"props":1921,"children":1923},{"className":1922},[],[1924],{"type":51,"value":1925},"PerformanceEntry",{"type":51,"value":1927}," object",{"type":45,"tag":54,"props":1929,"children":1930},{},[1931,1933,1939,1941,1946,1948,1953,1955,1961],{"type":51,"value":1932},"The ",{"type":45,"tag":78,"props":1934,"children":1936},{"className":1935},[],[1937],{"type":51,"value":1938},"performanceEntry",{"type":51,"value":1940}," in ",{"type":45,"tag":78,"props":1942,"children":1944},{"className":1943},[],[1945],{"type":51,"value":1437},{"type":51,"value":1947}," context is now the raw ",{"type":45,"tag":78,"props":1949,"children":1951},{"className":1950},[],[1952],{"type":51,"value":1925},{"type":51,"value":1954}," object, not a JSON representation. The ",{"type":45,"tag":78,"props":1956,"children":1958},{"className":1957},[],[1959],{"type":51,"value":1960},"PerformanceEntryRepresentation",{"type":51,"value":1962}," type has been removed.",{"type":45,"tag":551,"props":1964,"children":1966},{"id":1965},"_5d-starttime-removed-from-xhr-beforesend-context",[1967,1969,1975,1977,1982],{"type":51,"value":1968},"5d. ",{"type":45,"tag":78,"props":1970,"children":1972},{"className":1971},[],[1973],{"type":51,"value":1974},"startTime",{"type":51,"value":1976}," removed from XHR ",{"type":45,"tag":78,"props":1978,"children":1980},{"className":1979},[],[1981],{"type":51,"value":1437},{"type":51,"value":1503},{"type":45,"tag":54,"props":1984,"children":1985},{},[1986,1987,1993,1995,2000,2002,2007],{"type":51,"value":1932},{"type":45,"tag":78,"props":1988,"children":1990},{"className":1989},[],[1991],{"type":51,"value":1992},"context.startTime",{"type":51,"value":1994}," property has been removed from XHR resource ",{"type":45,"tag":78,"props":1996,"children":1998},{"className":1997},[],[1999],{"type":51,"value":1437},{"type":51,"value":2001}," context. Use the ",{"type":45,"tag":78,"props":2003,"children":2005},{"className":2004},[],[2006],{"type":51,"value":1938},{"type":51,"value":2008}," instead.",{"type":45,"tag":551,"props":2010,"children":2012},{"id":2011},"_5e-viewin_foreground_periods-removed-from-beforesend",[2013,2015,2021,2023],{"type":51,"value":2014},"5e. ",{"type":45,"tag":78,"props":2016,"children":2018},{"className":2017},[],[2019],{"type":51,"value":2020},"view.in_foreground_periods",{"type":51,"value":2022}," removed from ",{"type":45,"tag":78,"props":2024,"children":2026},{"className":2025},[],[2027],{"type":51,"value":1437},{"type":45,"tag":54,"props":2029,"children":2030},{},[2031,2033,2038,2040,2045],{"type":51,"value":2032},"This attribute is now computed by the backend. Remove any ",{"type":45,"tag":78,"props":2034,"children":2036},{"className":2035},[],[2037],{"type":51,"value":1437},{"type":51,"value":2039}," code that accesses ",{"type":45,"tag":78,"props":2041,"children":2043},{"className":2042},[],[2044],{"type":51,"value":2020},{"type":51,"value":315},{"type":45,"tag":551,"props":2047,"children":2049},{"id":2048},"_5f-frustration-signals-collected-automatically",[2050],{"type":51,"value":2051},"5f. Frustration signals collected automatically",{"type":45,"tag":54,"props":2053,"children":2054},{},[2055,2057,2063,2065,2071],{"type":51,"value":2056},"Set ",{"type":45,"tag":78,"props":2058,"children":2060},{"className":2059},[],[2061],{"type":51,"value":2062},"trackUserInteractions: true",{"type":51,"value":2064}," to collect all user interactions, including frustration signals. The ",{"type":45,"tag":78,"props":2066,"children":2068},{"className":2067},[],[2069],{"type":51,"value":2070},"trackFrustrations",{"type":51,"value":2072}," parameter is no longer needed.",{"type":45,"tag":551,"props":2074,"children":2076},{"id":2075},"_5g-resource-method-names-are-uppercase",[2077],{"type":51,"value":2078},"5g. Resource method names are uppercase",{"type":45,"tag":54,"props":2080,"children":2081},{},[2082,2084,2090,2092,2098,2099,2105,2107,2113],{"type":51,"value":2083},"Resource ",{"type":45,"tag":78,"props":2085,"children":2087},{"className":2086},[],[2088],{"type":51,"value":2089},"method",{"type":51,"value":2091}," field is now always uppercase (e.g., ",{"type":45,"tag":78,"props":2093,"children":2095},{"className":2094},[],[2096],{"type":51,"value":2097},"GET",{"type":51,"value":197},{"type":45,"tag":78,"props":2100,"children":2102},{"className":2101},[],[2103],{"type":51,"value":2104},"POST",{"type":51,"value":2106},"). Update any dashboards or monitors filtering on ",{"type":45,"tag":78,"props":2108,"children":2110},{"className":2109},[],[2111],{"type":51,"value":2112},"resource.method",{"type":51,"value":315},{"type":45,"tag":551,"props":2115,"children":2117},{"id":2116},"_5h-sessionplan-field-removed",[2118,2120,2126],{"type":51,"value":2119},"5h. ",{"type":45,"tag":78,"props":2121,"children":2123},{"className":2122},[],[2124],{"type":51,"value":2125},"session.plan",{"type":51,"value":2127}," field removed",{"type":45,"tag":54,"props":2129,"children":2130},{},[2131,2132,2137,2139,2145,2146,2152,2154,2159],{"type":51,"value":1932},{"type":45,"tag":78,"props":2133,"children":2135},{"className":2134},[],[2136],{"type":51,"value":2125},{"type":51,"value":2138}," field (",{"type":45,"tag":78,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":51,"value":2144},"lite",{"type":51,"value":1412},{"type":45,"tag":78,"props":2147,"children":2149},{"className":2148},[],[2150],{"type":51,"value":2151},"premium",{"type":51,"value":2153},") is removed in v5 and not emitted on any event type. Replace any dashboard or monitor filter on ",{"type":45,"tag":78,"props":2155,"children":2157},{"className":2156},[],[2158],{"type":51,"value":2125},{"type":51,"value":2160}," with the new replay fields:",{"type":45,"tag":2162,"props":2163,"children":2164},"ul",{},[2165,2177],{"type":45,"tag":2166,"props":2167,"children":2168},"li",{},[2169,2175],{"type":45,"tag":78,"props":2170,"children":2172},{"className":2171},[],[2173],{"type":51,"value":2174},"@session.sampled_for_replay:true",{"type":51,"value":2176}," — session was sampled for Session Replay",{"type":45,"tag":2166,"props":2178,"children":2179},{},[2180,2186],{"type":45,"tag":78,"props":2181,"children":2183},{"className":2182},[],[2184],{"type":51,"value":2185},"@session.has_replay:true",{"type":51,"value":2187}," — session has an actual replay recording",{"type":45,"tag":54,"props":2189,"children":2190},{},[2191,2192],{"type":51,"value":246},{"type":45,"tag":78,"props":2193,"children":2195},{"className":2194},[],[2196],{"type":51,"value":2197},"grep -rn 'beforeSend\\|trackFrustrations\\|PerformanceEntryRepresentation\\|in_foreground_periods\\|context\\.event\\b\\|startTime' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":60,"props":2199,"children":2201},{"id":2200},"step-6-handle-trusted-events",[2202],{"type":51,"value":2203},"Step 6: Handle trusted events",{"type":45,"tag":54,"props":2205,"children":2206},{},[2207],{"type":51,"value":2208},"v5 only listens to user-generated (trusted) events. Script-generated events are ignored by default.",{"type":45,"tag":54,"props":2210,"children":2211},{},[2212,2214,2220,2222,2228],{"type":51,"value":2213},"If you rely on programmatic events (e.g., ",{"type":45,"tag":78,"props":2215,"children":2217},{"className":2216},[],[2218],{"type":51,"value":2219},"dispatchEvent",{"type":51,"value":2221},"), add the ",{"type":45,"tag":78,"props":2223,"children":2225},{"className":2224},[],[2226],{"type":51,"value":2227},"__ddIsTrusted",{"type":51,"value":2229}," attribute:",{"type":45,"tag":272,"props":2231,"children":2233},{"className":902,"code":2232,"language":904,"meta":280,"style":280},"\u002F\u002F JavaScript\nconst click = new Event('click')\nclick.__ddIsTrusted = true\ndocument.dispatchEvent(click)\n",[2234],{"type":45,"tag":78,"props":2235,"children":2236},{"__ignoreMap":280},[2237,2245,2294,2318],{"type":45,"tag":910,"props":2238,"children":2239},{"class":912,"line":913},[2240],{"type":45,"tag":910,"props":2241,"children":2242},{"style":1180},[2243],{"type":51,"value":2244},"\u002F\u002F JavaScript\n",{"type":45,"tag":910,"props":2246,"children":2247},{"class":912,"line":944},[2248,2253,2258,2263,2268,2273,2277,2281,2286,2290],{"type":45,"tag":910,"props":2249,"children":2250},{"style":1511},[2251],{"type":51,"value":2252},"const",{"type":45,"tag":910,"props":2254,"children":2255},{"style":917},[2256],{"type":51,"value":2257}," click ",{"type":45,"tag":910,"props":2259,"children":2260},{"style":923},[2261],{"type":51,"value":2262},"=",{"type":45,"tag":910,"props":2264,"children":2265},{"style":923},[2266],{"type":51,"value":2267}," new",{"type":45,"tag":910,"props":2269,"children":2270},{"style":928},[2271],{"type":51,"value":2272}," Event",{"type":45,"tag":910,"props":2274,"children":2275},{"style":917},[2276],{"type":51,"value":936},{"type":45,"tag":910,"props":2278,"children":2279},{"style":923},[2280],{"type":51,"value":971},{"type":45,"tag":910,"props":2282,"children":2283},{"style":964},[2284],{"type":51,"value":2285},"click",{"type":45,"tag":910,"props":2287,"children":2288},{"style":923},[2289],{"type":51,"value":971},{"type":45,"tag":910,"props":2291,"children":2292},{"style":917},[2293],{"type":51,"value":990},{"type":45,"tag":910,"props":2295,"children":2296},{"class":912,"line":979},[2297,2301,2305,2310,2314],{"type":45,"tag":910,"props":2298,"children":2299},{"style":917},[2300],{"type":51,"value":2285},{"type":45,"tag":910,"props":2302,"children":2303},{"style":923},[2304],{"type":51,"value":315},{"type":45,"tag":910,"props":2306,"children":2307},{"style":917},[2308],{"type":51,"value":2309},"__ddIsTrusted ",{"type":45,"tag":910,"props":2311,"children":2312},{"style":923},[2313],{"type":51,"value":2262},{"type":45,"tag":910,"props":2315,"children":2316},{"style":1058},[2317],{"type":51,"value":1541},{"type":45,"tag":910,"props":2319,"children":2320},{"class":912,"line":1334},[2321,2326,2330,2334],{"type":45,"tag":910,"props":2322,"children":2323},{"style":917},[2324],{"type":51,"value":2325},"document",{"type":45,"tag":910,"props":2327,"children":2328},{"style":923},[2329],{"type":51,"value":315},{"type":45,"tag":910,"props":2331,"children":2332},{"style":928},[2333],{"type":51,"value":2219},{"type":45,"tag":910,"props":2335,"children":2336},{"style":917},[2337],{"type":51,"value":2338},"(click)\n",{"type":45,"tag":272,"props":2340,"children":2344},{"className":2341,"code":2342,"language":2343,"meta":280,"style":280},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F TypeScript\nconst click = new Event('click') as Event & { __ddIsTrusted?: boolean }\nclick.__ddIsTrusted = true\ndocument.dispatchEvent(click)\n","ts",[2345],{"type":45,"tag":78,"props":2346,"children":2347},{"__ignoreMap":280},[2348,2356,2438,2461],{"type":45,"tag":910,"props":2349,"children":2350},{"class":912,"line":913},[2351],{"type":45,"tag":910,"props":2352,"children":2353},{"style":1180},[2354],{"type":51,"value":2355},"\u002F\u002F TypeScript\n",{"type":45,"tag":910,"props":2357,"children":2358},{"class":912,"line":944},[2359,2363,2367,2371,2375,2379,2383,2387,2391,2395,2399,2404,2408,2413,2418,2423,2428,2433],{"type":45,"tag":910,"props":2360,"children":2361},{"style":1511},[2362],{"type":51,"value":2252},{"type":45,"tag":910,"props":2364,"children":2365},{"style":917},[2366],{"type":51,"value":2257},{"type":45,"tag":910,"props":2368,"children":2369},{"style":923},[2370],{"type":51,"value":2262},{"type":45,"tag":910,"props":2372,"children":2373},{"style":923},[2374],{"type":51,"value":2267},{"type":45,"tag":910,"props":2376,"children":2377},{"style":928},[2378],{"type":51,"value":2272},{"type":45,"tag":910,"props":2380,"children":2381},{"style":917},[2382],{"type":51,"value":936},{"type":45,"tag":910,"props":2384,"children":2385},{"style":923},[2386],{"type":51,"value":971},{"type":45,"tag":910,"props":2388,"children":2389},{"style":964},[2390],{"type":51,"value":2285},{"type":45,"tag":910,"props":2392,"children":2393},{"style":923},[2394],{"type":51,"value":971},{"type":45,"tag":910,"props":2396,"children":2397},{"style":917},[2398],{"type":51,"value":1697},{"type":45,"tag":910,"props":2400,"children":2401},{"style":1533},[2402],{"type":51,"value":2403},"as",{"type":45,"tag":910,"props":2405,"children":2406},{"style":1477},[2407],{"type":51,"value":2272},{"type":45,"tag":910,"props":2409,"children":2410},{"style":923},[2411],{"type":51,"value":2412}," &",{"type":45,"tag":910,"props":2414,"children":2415},{"style":923},[2416],{"type":51,"value":2417}," {",{"type":45,"tag":910,"props":2419,"children":2420},{"style":948},[2421],{"type":51,"value":2422}," __ddIsTrusted",{"type":45,"tag":910,"props":2424,"children":2425},{"style":923},[2426],{"type":51,"value":2427},"?:",{"type":45,"tag":910,"props":2429,"children":2430},{"style":1477},[2431],{"type":51,"value":2432}," boolean",{"type":45,"tag":910,"props":2434,"children":2435},{"style":923},[2436],{"type":51,"value":2437}," }\n",{"type":45,"tag":910,"props":2439,"children":2440},{"class":912,"line":979},[2441,2445,2449,2453,2457],{"type":45,"tag":910,"props":2442,"children":2443},{"style":917},[2444],{"type":51,"value":2285},{"type":45,"tag":910,"props":2446,"children":2447},{"style":923},[2448],{"type":51,"value":315},{"type":45,"tag":910,"props":2450,"children":2451},{"style":917},[2452],{"type":51,"value":2309},{"type":45,"tag":910,"props":2454,"children":2455},{"style":923},[2456],{"type":51,"value":2262},{"type":45,"tag":910,"props":2458,"children":2459},{"style":1058},[2460],{"type":51,"value":1541},{"type":45,"tag":910,"props":2462,"children":2463},{"class":912,"line":1334},[2464,2468,2472,2476],{"type":45,"tag":910,"props":2465,"children":2466},{"style":917},[2467],{"type":51,"value":2325},{"type":45,"tag":910,"props":2469,"children":2470},{"style":923},[2471],{"type":51,"value":315},{"type":45,"tag":910,"props":2473,"children":2474},{"style":928},[2475],{"type":51,"value":2219},{"type":45,"tag":910,"props":2477,"children":2478},{"style":917},[2479],{"type":51,"value":2338},{"type":45,"tag":54,"props":2481,"children":2482},{},[2483],{"type":51,"value":2484},"Or allow all untrusted events globally:",{"type":45,"tag":272,"props":2486,"children":2488},{"className":902,"code":2487,"language":904,"meta":280,"style":280},"DD_RUM.init({\n  allowUntrustedEvents: true,\n})\n",[2489],{"type":45,"tag":78,"props":2490,"children":2491},{"__ignoreMap":280},[2492,2515,2535],{"type":45,"tag":910,"props":2493,"children":2494},{"class":912,"line":913},[2495,2499,2503,2507,2511],{"type":45,"tag":910,"props":2496,"children":2497},{"style":917},[2498],{"type":51,"value":920},{"type":45,"tag":910,"props":2500,"children":2501},{"style":923},[2502],{"type":51,"value":315},{"type":45,"tag":910,"props":2504,"children":2505},{"style":928},[2506],{"type":51,"value":931},{"type":45,"tag":910,"props":2508,"children":2509},{"style":917},[2510],{"type":51,"value":936},{"type":45,"tag":910,"props":2512,"children":2513},{"style":923},[2514],{"type":51,"value":941},{"type":45,"tag":910,"props":2516,"children":2517},{"class":912,"line":944},[2518,2523,2527,2531],{"type":45,"tag":910,"props":2519,"children":2520},{"style":948},[2521],{"type":51,"value":2522},"  allowUntrustedEvents",{"type":45,"tag":910,"props":2524,"children":2525},{"style":923},[2526],{"type":51,"value":956},{"type":45,"tag":910,"props":2528,"children":2529},{"style":1058},[2530],{"type":51,"value":1061},{"type":45,"tag":910,"props":2532,"children":2533},{"style":923},[2534],{"type":51,"value":976},{"type":45,"tag":910,"props":2536,"children":2537},{"class":912,"line":979},[2538,2542],{"type":45,"tag":910,"props":2539,"children":2540},{"style":923},[2541],{"type":51,"value":985},{"type":45,"tag":910,"props":2543,"children":2544},{"style":917},[2545],{"type":51,"value":990},{"type":45,"tag":54,"props":2547,"children":2548},{},[2549,2550],{"type":51,"value":246},{"type":45,"tag":78,"props":2551,"children":2553},{"className":2552},[],[2554],{"type":51,"value":2555},"grep -rn 'dispatchEvent\\|new Event\\|new MouseEvent\\|new KeyboardEvent\\|\\.click()' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":60,"props":2557,"children":2559},{"id":2558},"step-7-update-infrastructure",[2560],{"type":51,"value":2561},"Step 7: Update infrastructure",{"type":45,"tag":551,"props":2563,"children":2565},{"id":2564},"csp-connect-src-domains-changed",[2566,2568,2574],{"type":51,"value":2567},"CSP ",{"type":45,"tag":78,"props":2569,"children":2571},{"className":2570},[],[2572],{"type":51,"value":2573},"connect-src",{"type":51,"value":2575}," domains changed",{"type":45,"tag":54,"props":2577,"children":2578},{},[2579],{"type":51,"value":2580},"v5 sends data to new intake domains. Update your Content Security Policy:",{"type":45,"tag":87,"props":2582,"children":2583},{},[2584,2607],{"type":45,"tag":91,"props":2585,"children":2586},{},[2587],{"type":45,"tag":95,"props":2588,"children":2589},{},[2590,2595],{"type":45,"tag":99,"props":2591,"children":2592},{},[2593],{"type":51,"value":2594},"Datadog site",{"type":45,"tag":99,"props":2596,"children":2597},{},[2598,2600,2605],{"type":51,"value":2599},"New ",{"type":45,"tag":78,"props":2601,"children":2603},{"className":2602},[],[2604],{"type":51,"value":2573},{"type":51,"value":2606}," domain",{"type":45,"tag":110,"props":2608,"children":2609},{},[2610,2627,2644,2661,2678,2695,2712],{"type":45,"tag":95,"props":2611,"children":2612},{},[2613,2618],{"type":45,"tag":117,"props":2614,"children":2615},{},[2616],{"type":51,"value":2617},"US1",{"type":45,"tag":117,"props":2619,"children":2620},{},[2621],{"type":45,"tag":78,"props":2622,"children":2624},{"className":2623},[],[2625],{"type":51,"value":2626},"https:\u002F\u002Fbrowser-intake-datadoghq.com",{"type":45,"tag":95,"props":2628,"children":2629},{},[2630,2635],{"type":45,"tag":117,"props":2631,"children":2632},{},[2633],{"type":51,"value":2634},"US3",{"type":45,"tag":117,"props":2636,"children":2637},{},[2638],{"type":45,"tag":78,"props":2639,"children":2641},{"className":2640},[],[2642],{"type":51,"value":2643},"https:\u002F\u002Fbrowser-intake-us3-datadoghq.com",{"type":45,"tag":95,"props":2645,"children":2646},{},[2647,2652],{"type":45,"tag":117,"props":2648,"children":2649},{},[2650],{"type":51,"value":2651},"US5",{"type":45,"tag":117,"props":2653,"children":2654},{},[2655],{"type":45,"tag":78,"props":2656,"children":2658},{"className":2657},[],[2659],{"type":51,"value":2660},"https:\u002F\u002Fbrowser-intake-us5-datadoghq.com",{"type":45,"tag":95,"props":2662,"children":2663},{},[2664,2669],{"type":45,"tag":117,"props":2665,"children":2666},{},[2667],{"type":51,"value":2668},"EU1",{"type":45,"tag":117,"props":2670,"children":2671},{},[2672],{"type":45,"tag":78,"props":2673,"children":2675},{"className":2674},[],[2676],{"type":51,"value":2677},"https:\u002F\u002Fbrowser-intake-datadoghq.eu",{"type":45,"tag":95,"props":2679,"children":2680},{},[2681,2686],{"type":45,"tag":117,"props":2682,"children":2683},{},[2684],{"type":51,"value":2685},"US1-FED",{"type":45,"tag":117,"props":2687,"children":2688},{},[2689],{"type":45,"tag":78,"props":2690,"children":2692},{"className":2691},[],[2693],{"type":51,"value":2694},"https:\u002F\u002Fbrowser-intake-ddog-gov.com",{"type":45,"tag":95,"props":2696,"children":2697},{},[2698,2703],{"type":45,"tag":117,"props":2699,"children":2700},{},[2701],{"type":51,"value":2702},"US2-FED",{"type":45,"tag":117,"props":2704,"children":2705},{},[2706],{"type":45,"tag":78,"props":2707,"children":2709},{"className":2708},[],[2710],{"type":51,"value":2711},"https:\u002F\u002Fbrowser-intake-us2-ddog-gov.com",{"type":45,"tag":95,"props":2713,"children":2714},{},[2715,2720],{"type":45,"tag":117,"props":2716,"children":2717},{},[2718],{"type":51,"value":2719},"AP1",{"type":45,"tag":117,"props":2721,"children":2722},{},[2723],{"type":45,"tag":78,"props":2724,"children":2726},{"className":2725},[],[2727],{"type":51,"value":2728},"https:\u002F\u002Fbrowser-intake-ap1-datadoghq.com",{"type":45,"tag":551,"props":2730,"children":2732},{"id":2731},"cors-headers-for-distributed-tracing",[2733],{"type":51,"value":2734},"CORS headers for distributed tracing",{"type":45,"tag":54,"props":2736,"children":2737},{},[2738,2740,2746,2748,2753,2755,2761,2763,2769],{"type":51,"value":2739},"v5 adds ",{"type":45,"tag":78,"props":2741,"children":2743},{"className":2742},[],[2744],{"type":51,"value":2745},"tracecontext",{"type":51,"value":2747}," as a default propagator. If you use ",{"type":45,"tag":78,"props":2749,"children":2751},{"className":2750},[],[2752],{"type":51,"value":421},{"type":51,"value":2754},", your server must accept the ",{"type":45,"tag":78,"props":2756,"children":2758},{"className":2757},[],[2759],{"type":51,"value":2760},"traceparent",{"type":51,"value":2762}," header. Add it to your existing ",{"type":45,"tag":78,"props":2764,"children":2766},{"className":2765},[],[2767],{"type":51,"value":2768},"Access-Control-Allow-Headers",{"type":51,"value":2770}," — do not replace the full list:",{"type":45,"tag":272,"props":2772,"children":2775},{"className":2773,"code":2774,"language":51},[275],"# Add traceparent alongside your existing headers\nAccess-Control-Allow-Headers: \u003Cexisting-headers>, traceparent\n",[2776],{"type":45,"tag":78,"props":2777,"children":2778},{"__ignoreMap":280},[2779],{"type":51,"value":2774},{"type":45,"tag":551,"props":2781,"children":2783},{"id":2782},"logs-errororigin-removed",[2784,2786,2792],{"type":51,"value":2785},"Logs: ",{"type":45,"tag":78,"props":2787,"children":2789},{"className":2788},[],[2790],{"type":51,"value":2791},"error.origin",{"type":51,"value":2793}," removed",{"type":45,"tag":54,"props":2795,"children":2796},{},[2797,2799,2804,2806,2812],{"type":51,"value":2798},"Update dashboards\u002Fmonitors using ",{"type":45,"tag":78,"props":2800,"children":2802},{"className":2801},[],[2803],{"type":51,"value":2791},{"type":51,"value":2805}," to use ",{"type":45,"tag":78,"props":2807,"children":2809},{"className":2808},[],[2810],{"type":51,"value":2811},"origin",{"type":51,"value":2008},{"type":45,"tag":551,"props":2814,"children":2816},{"id":2815},"logs-console-error-prefix-removed",[2817],{"type":51,"value":2818},"Logs: console error prefix removed",{"type":45,"tag":54,"props":2820,"children":2821},{},[2822,2823,2829,2831,2837],{"type":51,"value":1932},{"type":45,"tag":78,"props":2824,"children":2826},{"className":2825},[],[2827],{"type":51,"value":2828},"\"console error:\"",{"type":51,"value":2830}," prefix is removed from log messages. Update queries using this prefix to use ",{"type":45,"tag":78,"props":2832,"children":2834},{"className":2833},[],[2835],{"type":51,"value":2836},"@origin:console",{"type":51,"value":2008},{"type":45,"tag":551,"props":2839,"children":2841},{"id":2840},"logs-main-logger-decoupled",[2842],{"type":51,"value":2843},"Logs: main logger decoupled",{"type":45,"tag":54,"props":2845,"children":2846},{},[2847],{"type":51,"value":2848},"Runtime errors, network logs, report logs, and console logs no longer inherit the main logger's context, level, or handler. Use global context and dedicated init parameters instead.",{"type":45,"tag":54,"props":2850,"children":2851},{},[2852,2854,2860],{"type":51,"value":2853},"Search for main logger configuration that may have been relying on this inheritance: ",{"type":45,"tag":78,"props":2855,"children":2857},{"className":2856},[],[2858],{"type":51,"value":2859},"grep -rn 'DD_LOGS\\.logger\\.setLevel\\|DD_LOGS\\.logger\\.setHandler\\|DD_LOGS\\.logger\\.setContext\\|DD_LOGS\\.logger\\.setContextProperty' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":51,"value":2861},". For each match, verify the setting is intentional for the main logger only — it will no longer affect runtime errors, network logs, or console logs.",{"type":45,"tag":60,"props":2863,"children":2865},{"id":2864},"common-mistakes",[2866],{"type":51,"value":2867},"Common Mistakes",{"type":45,"tag":87,"props":2869,"children":2870},{},[2871,2892],{"type":45,"tag":91,"props":2872,"children":2873},{},[2874],{"type":45,"tag":95,"props":2875,"children":2876},{},[2877,2882,2887],{"type":45,"tag":99,"props":2878,"children":2879},{},[2880],{"type":51,"value":2881},"Mistake",{"type":45,"tag":99,"props":2883,"children":2884},{},[2885],{"type":51,"value":2886},"What goes wrong",{"type":45,"tag":99,"props":2888,"children":2889},{},[2890],{"type":51,"value":2891},"Fix",{"type":45,"tag":110,"props":2893,"children":2894},{},[2895,2957,3017],{"type":45,"tag":95,"props":2896,"children":2897},{},[2898,2922,2939],{"type":45,"tag":117,"props":2899,"children":2900},{},[2901,2903,2909,2911,2916,2917],{"type":51,"value":2902},"Setting ",{"type":45,"tag":78,"props":2904,"children":2906},{"className":2905},[],[2907],{"type":51,"value":2908},"sessionReplaySampleRate > 0",{"type":51,"value":2910}," without enabling ",{"type":45,"tag":78,"props":2912,"children":2914},{"className":2913},[],[2915],{"type":51,"value":1206},{"type":51,"value":1208},{"type":45,"tag":78,"props":2918,"children":2920},{"className":2919},[],[2921],{"type":51,"value":1214},{"type":45,"tag":117,"props":2923,"children":2924},{},[2925,2927,2932,2934],{"type":51,"value":2926},"Resources and long tasks are silently not collected — they no longer default to ",{"type":45,"tag":78,"props":2928,"children":2930},{"className":2929},[],[2931],{"type":51,"value":1455},{"type":51,"value":2933}," when using ",{"type":45,"tag":78,"props":2935,"children":2937},{"className":2936},[],[2938],{"type":51,"value":484},{"type":45,"tag":117,"props":2940,"children":2941},{},[2942,2944,2950,2952],{"type":51,"value":2943},"Always add ",{"type":45,"tag":78,"props":2945,"children":2947},{"className":2946},[],[2948],{"type":51,"value":2949},"trackResources: true, trackLongTasks: true",{"type":51,"value":2951}," alongside any non-zero ",{"type":45,"tag":78,"props":2953,"children":2955},{"className":2954},[],[2956],{"type":51,"value":484},{"type":45,"tag":95,"props":2958,"children":2959},{},[2960,2985,3005],{"type":45,"tag":117,"props":2961,"children":2962},{},[2963,2965,2970,2972,2977,2978,2983],{"type":51,"value":2964},"Using ",{"type":45,"tag":78,"props":2966,"children":2968},{"className":2967},[],[2969],{"type":51,"value":1568},{"type":51,"value":2971}," instead of ",{"type":45,"tag":78,"props":2973,"children":2975},{"className":2974},[],[2976],{"type":51,"value":1576},{"type":51,"value":1940},{"type":45,"tag":78,"props":2979,"children":2981},{"className":2980},[],[2982],{"type":51,"value":1437},{"type":51,"value":2984}," for action events",{"type":45,"tag":117,"props":2986,"children":2987},{},[2988,2990,2995,2997,3003],{"type":51,"value":2989},"Action context property renamed — ",{"type":45,"tag":78,"props":2991,"children":2993},{"className":2992},[],[2994],{"type":51,"value":1568},{"type":51,"value":2996}," is ",{"type":45,"tag":78,"props":2998,"children":3000},{"className":2999},[],[3001],{"type":51,"value":3002},"undefined",{"type":51,"value":3004},", DOM event details are lost",{"type":45,"tag":117,"props":3006,"children":3007},{},[3008,3010,3015],{"type":51,"value":3009},"Update to ",{"type":45,"tag":78,"props":3011,"children":3013},{"className":3012},[],[3014],{"type":51,"value":1576},{"type":51,"value":3016}," (array); iterate if you need all associated DOM events",{"type":45,"tag":95,"props":3018,"children":3019},{},[3020,3032,3037],{"type":45,"tag":117,"props":3021,"children":3022},{},[3023,3025,3030],{"type":51,"value":3024},"Not updating CSP ",{"type":45,"tag":78,"props":3026,"children":3028},{"className":3027},[],[3029],{"type":51,"value":2573},{"type":51,"value":3031}," to the new v5 intake domains",{"type":45,"tag":117,"props":3033,"children":3034},{},[3035],{"type":51,"value":3036},"SDK silently fails to send data — old intake domains are no longer valid",{"type":45,"tag":117,"props":3038,"children":3039},{},[3040,3042,3047],{"type":51,"value":3041},"Update ",{"type":45,"tag":78,"props":3043,"children":3045},{"className":3044},[],[3046],{"type":51,"value":2573},{"type":51,"value":3048}," to the v5 intake domain for your site (see Step 7)",{"type":45,"tag":60,"props":3050,"children":3052},{"id":3051},"verification-checklist",[3053],{"type":51,"value":3054},"Verification checklist",{"type":45,"tag":54,"props":3056,"children":3057},{},[3058],{"type":51,"value":3059},"After upgrading, confirm:",{"type":45,"tag":2162,"props":3061,"children":3064},{"className":3062},[3063],"contains-task-list",[3065,3077,3105,3128,3144,3172,3198,3214,3230,3246,3260],{"type":45,"tag":2166,"props":3066,"children":3069},{"className":3067},[3068],"task-list-item",[3070,3075],{"type":45,"tag":3071,"props":3072,"children":3074},"input",{"disabled":1755,"type":3073},"checkbox",[],{"type":51,"value":3076}," SDK loads without console errors",{"type":45,"tag":2166,"props":3078,"children":3080},{"className":3079},[3068],[3081,3084,3086,3091,3092,3097,3098,3103],{"type":45,"tag":3071,"props":3082,"children":3083},{"disabled":1755,"type":3073},[],{"type":51,"value":3085}," No references to removed init parameters (",{"type":45,"tag":78,"props":3087,"children":3089},{"className":3088},[],[3090],{"type":51,"value":370},{"type":51,"value":197},{"type":45,"tag":78,"props":3093,"children":3095},{"className":3094},[],[3096],{"type":51,"value":391},{"type":51,"value":197},{"type":45,"tag":78,"props":3099,"children":3101},{"className":3100},[],[3102],{"type":51,"value":496},{"type":51,"value":3104},", etc.)",{"type":45,"tag":2166,"props":3106,"children":3108},{"className":3107},[3068],[3109,3112,3114,3120,3121,3127],{"type":45,"tag":3071,"props":3110,"children":3111},{"disabled":1755,"type":3073},[],{"type":51,"value":3113}," No references to removed APIs (",{"type":45,"tag":78,"props":3115,"children":3117},{"className":3116},[],[3118],{"type":51,"value":3119},"addRumGlobalContext",{"type":51,"value":197},{"type":45,"tag":78,"props":3122,"children":3124},{"className":3123},[],[3125],{"type":51,"value":3126},"removeUser",{"type":51,"value":3104},{"type":45,"tag":2166,"props":3129,"children":3131},{"className":3130},[3068],[3132,3135,3137,3142],{"type":45,"tag":3071,"props":3133,"children":3134},{"disabled":1755,"type":3073},[],{"type":51,"value":3136}," ",{"type":45,"tag":78,"props":3138,"children":3140},{"className":3139},[],[3141],{"type":51,"value":1437},{"type":51,"value":3143}," callbacks return boolean values",{"type":45,"tag":2166,"props":3145,"children":3147},{"className":3146},[3068],[3148,3151,3152,3157,3159,3164,3166,3171],{"type":45,"tag":3071,"props":3149,"children":3150},{"disabled":1755,"type":3073},[],{"type":51,"value":3136},{"type":45,"tag":78,"props":3153,"children":3155},{"className":3154},[],[3156],{"type":51,"value":1437},{"type":51,"value":3158}," action handlers use ",{"type":45,"tag":78,"props":3160,"children":3162},{"className":3161},[],[3163],{"type":51,"value":1576},{"type":51,"value":3165}," (not ",{"type":45,"tag":78,"props":3167,"children":3169},{"className":3168},[],[3170],{"type":51,"value":1568},{"type":51,"value":1508},{"type":45,"tag":2166,"props":3173,"children":3175},{"className":3174},[3068],[3176,3179,3180,3185,3186,3191,3193],{"type":45,"tag":3071,"props":3177,"children":3178},{"disabled":1755,"type":3073},[],{"type":51,"value":3136},{"type":45,"tag":78,"props":3181,"children":3183},{"className":3182},[],[3184],{"type":51,"value":1206},{"type":51,"value":1208},{"type":45,"tag":78,"props":3187,"children":3189},{"className":3188},[],[3190],{"type":51,"value":1214},{"type":51,"value":3192}," explicitly set if using ",{"type":45,"tag":78,"props":3194,"children":3196},{"className":3195},[],[3197],{"type":51,"value":484},{"type":45,"tag":2166,"props":3199,"children":3201},{"className":3200},[3068],[3202,3205,3207,3212],{"type":45,"tag":3071,"props":3203,"children":3204},{"disabled":1755,"type":3073},[],{"type":51,"value":3206}," Session Replay recording works (if ",{"type":45,"tag":78,"props":3208,"children":3210},{"className":3209},[],[3211],{"type":51,"value":484},{"type":51,"value":3213}," > 0)",{"type":45,"tag":2166,"props":3215,"children":3217},{"className":3216},[3068],[3218,3221,3223,3228],{"type":45,"tag":3071,"props":3219,"children":3220},{"disabled":1755,"type":3073},[],{"type":51,"value":3222}," Distributed tracing working (no CORS errors from ",{"type":45,"tag":78,"props":3224,"children":3226},{"className":3225},[],[3227],{"type":51,"value":2760},{"type":51,"value":3229}," header)",{"type":45,"tag":2166,"props":3231,"children":3233},{"className":3232},[3068],[3234,3237,3239,3244],{"type":45,"tag":3071,"props":3235,"children":3236},{"disabled":1755,"type":3073},[],{"type":51,"value":3238}," CSP ",{"type":45,"tag":78,"props":3240,"children":3242},{"className":3241},[],[3243],{"type":51,"value":2573},{"type":51,"value":3245}," updated to new intake domains",{"type":45,"tag":2166,"props":3247,"children":3249},{"className":3248},[3068],[3250,3253,3255],{"type":45,"tag":3071,"props":3251,"children":3252},{"disabled":1755,"type":3073},[],{"type":51,"value":3254}," Dashboards\u002Fmonitors updated for uppercase ",{"type":45,"tag":78,"props":3256,"children":3258},{"className":3257},[],[3259],{"type":51,"value":2112},{"type":45,"tag":2166,"props":3261,"children":3263},{"className":3262},[3068],[3264,3267,3269,3274,3276,3281],{"type":45,"tag":3071,"props":3265,"children":3266},{"disabled":1755,"type":3073},[],{"type":51,"value":3268}," No queries using ",{"type":45,"tag":78,"props":3270,"children":3272},{"className":3271},[],[3273],{"type":51,"value":2791},{"type":51,"value":3275}," (use ",{"type":45,"tag":78,"props":3277,"children":3279},{"className":3278},[],[3280],{"type":51,"value":2811},{"type":51,"value":3282}," instead)",{"type":45,"tag":3284,"props":3285,"children":3286},"style",{},[3287],{"type":51,"value":3288},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3290,"total":3462},[3291,3306,3322,3333,3349,3363,3379,3393,3405,3417,3429,3447],{"slug":3292,"name":3292,"fn":3293,"description":3294,"org":3295,"tags":3296,"stars":25,"repoUrl":26,"updatedAt":3305},"agent-install","install Datadog Agent on Kubernetes","Install the Datadog Agent on Kubernetes using the Datadog Operator — required before enabling Single Step Instrumentation (SSI), which automatically instruments applications for APM without code changes. Only use if no Datadog Agent is deployed on the cluster yet.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3297,3298,3301,3304],{"name":17,"slug":18,"type":15},{"name":3299,"slug":3300,"type":15},"Deployment","deployment",{"name":3302,"slug":3303,"type":15},"Kubernetes","kubernetes",{"name":13,"slug":14,"type":15},"2026-04-15T04:57:27.489805",{"slug":3307,"name":3307,"fn":3308,"description":3309,"org":3310,"tags":3311,"stars":25,"repoUrl":26,"updatedAt":3321},"agent-observability-auto-experiment","run iterative code improvements using Datadog data","Run an iterative code-improvement hill-climb against real Datadog LLM-Obs data, locally, with Claude Code as the agent. Establishes a baseline eval, makes one focused change, re-scores with the same harness, keeps the change if it improves the score in the goal's direction (labeling within-noise gains tentative), and repeats. Use when the user says \"run an auto experiment\", \"hill-climb this code\", \"iteratively improve X and measure the delta\", \"optimize this prompt\u002Ffile against my traces\", \"auto-optimize against LLM-Obs\", or wants the local equivalent of the auto_experiments worker. Works from a local dataset file, an ml_app, a dataset_id, or a list of trace_ids.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3312,3313,3314,3317,3320],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3315,"slug":3316,"type":15},"Evals","evals",{"name":3318,"slug":3319,"type":15},"LLM","llm",{"name":13,"slug":14,"type":15},"2026-07-31T05:52:13.711906",{"slug":3323,"name":3323,"fn":3324,"description":3325,"org":3326,"tags":3327,"stars":25,"repoUrl":26,"updatedAt":3332},"agent-observability-eval-bootstrap","bootstrap evaluators from production traces","Bootstrap evaluators from production traces — by default propose online LLM-judge evaluators and, after you confirm, create them in Datadog as disabled drafts (never auto-enabled); on request emit Python SDK code or a framework-agnostic JSON spec instead. Use when user says \"bootstrap evaluators\", \"generate evaluators\", \"create evals from traces\", \"eval bootstrap\", \"write evaluators\", \"build eval suite\", \"publish evaluators\", or wants to generate BaseEvaluator\u002FLLMJudge code or online judge configs from production LLM trace data. Works with ml_app and optional RCA report or failure hypothesis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3328,3329,3330,3331],{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:19.259734",{"slug":3334,"name":3334,"fn":3335,"description":3336,"org":3337,"tags":3338,"stars":25,"repoUrl":26,"updatedAt":3348},"agent-observability-eval-pipeline","run agent observability and evaluation pipelines","End-to-end Agent Observability pipeline for an instrumented ml_app — classify production traces, root-cause failures, bootstrap evaluators, then (optionally) sample + publish a dataset, generate + run an experiment, and analyze results. Six narrated phases with a standardized banner and a \"continue\" checkpoint between each. Pure orchestration over the agent-observability sub-skills (`agent-observability-session-classify`, `agent-observability-trace-rca`, `agent-observability-eval-bootstrap`, `agent-observability-experiment-py-bootstrap`, `agent-observability-experiment-analyzer`). Use when user says \"run the eval pipeline\", \"go from traces to evals\", \"bootstrap evals end to end\", \"classify then RCA then bootstrap\", \"build an eval set from scratch\", \"onboard me to datasets and experiments\", \"walk me through experiments\", \"I have an ml_app, now what\", \"Agent Observability onboarding\", \"guided experiment setup\", \"from traces to experiments\", or wants a deterministic, narrated tour from production data through evaluators, datasets, and experiments. Stop early with `--stop-after \u003Cphase>` to short-circuit at evaluators or dataset, or resume mid-flow with `--start-at \u003Cphase>`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3339,3342,3345,3346,3347],{"name":3340,"slug":3341,"type":15},"Agents","agents",{"name":3343,"slug":3344,"type":15},"Data Pipeline","data-pipeline",{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:17.231423",{"slug":3350,"name":3350,"fn":3351,"description":3352,"org":3353,"tags":3354,"stars":25,"repoUrl":26,"updatedAt":3362},"agent-observability-experiment-analyzer","analyze LLM experiment results","Analyze LLM experiment results. Handles single or comparative experiments, exploratory or Q&A modes. Use when user says \"analyze experiment\", \"compare experiments\", \"analyze against baseline\", or provides one or two experiment IDs for analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3355,3358,3359,3360,3361],{"name":3356,"slug":3357,"type":15},"Analytics","analytics",{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:21.212498",{"slug":3364,"name":3364,"fn":3365,"description":3366,"org":3367,"tags":3368,"stars":25,"repoUrl":26,"updatedAt":3378},"agent-observability-experiment-py-bootstrap","generate Python experiment clients for LLM observability","Generates a self-contained Python experiment client that uses the ddtrace.llmobs SDK. Emits either a runnable .py script or a Jupyter .ipynb notebook matching the canonical DataDog reference notebook style. Use when the user says \"generate Python experiment\", \"write an SDK experiment\", \"create a ddtrace experiment\", \"Python notebook experiment\", \"use the Agent Observability SDK\", or has `ddtrace` installed and wants idiomatic SDK code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3369,3370,3373,3374,3375],{"name":17,"slug":18,"type":15},{"name":3371,"slug":3372,"type":15},"Jupyter","jupyter",{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"name":3376,"slug":3377,"type":15},"Python","python","2026-06-19T09:04:22.640384",{"slug":3380,"name":3380,"fn":3381,"description":3382,"org":3383,"tags":3384,"stars":25,"repoUrl":26,"updatedAt":3392},"agent-observability-replay-trace","iterate on LLM traces with local code","Use when a developer wants to iterate on ONE specific Agent Observability \u002F LLM Obs trace whose output they didn't like — re-running that trace against their LOCAL code, seeing a concise diff of the old vs new output, and looping (change code → replay → diff) until satisfied. Invoked as \u002Fagent-observability-replay-trace \u003Ctrace-id> [changes to test]. Signals: \"replay this trace\"; \"iterate on a trace\"; \"this trace's output is wrong, fix it and re-run\"; \"re-run trace \u003Cid> with \u003Cchange>\"; pasting a trace id from the Agent Observability UI with a description of what to fix. It fetches the trace via the datadog-llmo MCP or the pup CLI, edits code, re-runs the app to emit a NEW trace, and diffs the two — no local server, no browser. For agents traced with ddtrace \u002F LLM Obs (Python first-class), with JSON-serializable entry input. Do NOT use for: scored Experiments or the browser \"Replay\" button (that's agent-observability-replay-experiment), building an experiment from a dataset\u002FCSV, writing evaluators, root-causing failed traces, or RUM\u002FHTTP session replay.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3385,3386,3387,3388,3389],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"name":3390,"slug":3391,"type":15},"Tracing","tracing","2026-07-31T05:52:08.594182",{"slug":3394,"name":3394,"fn":3395,"description":3396,"org":3397,"tags":3398,"stars":25,"repoUrl":26,"updatedAt":3404},"agent-observability-session-classify","evaluate user intent satisfaction in sessions","Classify whether user intent was satisfied in a Datadog Agent Observability trace or session. Three modes: (1) session_id — classify a single CMD+I assistant session with RUM; (2) trace_id — classify a single Agent Observability trace without RUM; (3) ml_app — sample and classify multiple sessions or traces from a given LLM app. Output is compact by default (verdict + one-sentence reason). Use when evaluating satisfaction, classifying sessions\u002Ftraces, labeling data, or generating signal for agent-observability-eval-pipeline or agent-observability-trace-rca.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3399,3400,3401,3402,3403],{"name":3356,"slug":3357,"type":15},{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:26.341497",{"slug":3406,"name":3406,"fn":3407,"description":3408,"org":3409,"tags":3410,"stars":25,"repoUrl":26,"updatedAt":3416},"agent-observability-trace-rca","diagnose LLM application failures from traces","Root cause analysis on production LLM traces. Diagnoses why an LLM application is failing — works from eval judge verdicts, runtime errors, or structural anomalies depending on what signals are present. Walks the span tree from symptom to root cause. Use when user says \"what's wrong with my app\", \"why is my eval failing\", \"analyze errors\", \"root cause analysis\", \"diagnose failures\", or wants to understand production failure patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3411,3412,3413,3414,3415],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:24.316244",{"slug":3418,"name":3418,"fn":3419,"description":3420,"org":3421,"tags":3422,"stars":25,"repoUrl":26,"updatedAt":3428},"agent-skills","use Datadog observability skills","Datadog skills for AI agents. Essential monitoring, logging, tracing and observability.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3423,3424,3427],{"name":17,"slug":18,"type":15},{"name":3425,"slug":3426,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},"2026-04-06T18:08:33.337476",{"slug":3430,"name":3430,"fn":3431,"description":3432,"org":3433,"tags":3434,"stars":25,"repoUrl":26,"updatedAt":3446},"datadog-app","build and manage Datadog applications","Guides developers building Datadog Apps with TypeScript, React, the @datadog\u002Fapps scaffolder, and @datadog\u002Fvite-plugin. Use when a user wants to scaffold, run, debug, upgrade, build, upload, publish, upload without publishing (draft upload), add an upload-no-publish script, set up CI\u002FCD, use OAuth or API\u002Fapplication key auth, trigger\u002Fpoll Workflow Automation, choose DDSQL or Action Catalog for backend data access, or query app datastores with DDSQL, including backend function troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3435,3436,3437,3440,3443],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":3438,"slug":3439,"type":15},"React","react",{"name":3441,"slug":3442,"type":15},"TypeScript","typescript",{"name":3444,"slug":3445,"type":15},"Vite","vite","2026-06-18T08:01:32.562331",{"slug":3448,"name":3448,"fn":3449,"description":3450,"org":3451,"tags":3452,"stars":25,"repoUrl":26,"updatedAt":3461},"dd-apm","query Datadog APM traces","APM - install, onboard, instrument, enable, set up, configure, traces, services, dependencies, performance analysis. Use for any request involving Datadog APM setup, instrumentation (SSI, ddtrace, agent install), or analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3453,3454,3457,3458],{"name":17,"slug":18,"type":15},{"name":3455,"slug":3456,"type":15},"Distributed Tracing","distributed-tracing",{"name":13,"slug":14,"type":15},{"name":3459,"slug":3460,"type":15},"Performance","performance","2026-04-06T18:08:34.575282",35,{"items":3464,"total":3519},[3465,3472,3480,3487,3495,3503,3511],{"slug":3292,"name":3292,"fn":3293,"description":3294,"org":3466,"tags":3467,"stars":25,"repoUrl":26,"updatedAt":3305},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3468,3469,3470,3471],{"name":17,"slug":18,"type":15},{"name":3299,"slug":3300,"type":15},{"name":3302,"slug":3303,"type":15},{"name":13,"slug":14,"type":15},{"slug":3307,"name":3307,"fn":3308,"description":3309,"org":3473,"tags":3474,"stars":25,"repoUrl":26,"updatedAt":3321},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3475,3476,3477,3478,3479],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"slug":3323,"name":3323,"fn":3324,"description":3325,"org":3481,"tags":3482,"stars":25,"repoUrl":26,"updatedAt":3332},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3483,3484,3485,3486],{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"slug":3334,"name":3334,"fn":3335,"description":3336,"org":3488,"tags":3489,"stars":25,"repoUrl":26,"updatedAt":3348},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3490,3491,3492,3493,3494],{"name":3340,"slug":3341,"type":15},{"name":3343,"slug":3344,"type":15},{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":13,"slug":14,"type":15},{"slug":3350,"name":3350,"fn":3351,"description":3352,"org":3496,"tags":3497,"stars":25,"repoUrl":26,"updatedAt":3362},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3498,3499,3500,3501,3502],{"name":3356,"slug":3357,"type":15},{"name":17,"slug":18,"type":15},{"name":3315,"slug":3316,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"slug":3364,"name":3364,"fn":3365,"description":3366,"org":3504,"tags":3505,"stars":25,"repoUrl":26,"updatedAt":3378},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3506,3507,3508,3509,3510],{"name":17,"slug":18,"type":15},{"name":3371,"slug":3372,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"name":3376,"slug":3377,"type":15},{"slug":3380,"name":3380,"fn":3381,"description":3382,"org":3512,"tags":3513,"stars":25,"repoUrl":26,"updatedAt":3392},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3514,3515,3516,3517,3518],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3318,"slug":3319,"type":15},{"name":13,"slug":14,"type":15},{"name":3390,"slug":3391,"type":15},34]