[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-datadog-labs-upgrade-browser-sdk-v7":3,"mdc--jde4uy-key":36,"related-repo-datadog-labs-upgrade-browser-sdk-v7":3178,"related-org-datadog-labs-upgrade-browser-sdk-v7":3285},{"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-v7","migrate Datadog Browser SDK to v7","Upgrade Datadog Browser SDK from v6 to v7. Use when encountering removed options like betaEncodeCookieOptions, allowFallbackToLocalStorage, trackBfcacheViews, usePciIntake, changed APIs like forwardErrorsToLogs, startDurationVital, stopDurationVital, or when a project references datadoghq-browser-agent.com CDN with \u002Fv6\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},"Migration","migration",{"name":23,"slug":24,"type":15},"Frontend","frontend",145,"https:\u002F\u002Fgithub.com\u002Fdatadog-labs\u002Fagent-skills","2026-05-01T05:53:07.838981",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-v7","---\nname: upgrade-browser-sdk-v7\ndescription: >\n  Upgrade Datadog Browser SDK from v6 to v7. Use when encountering removed options like\n  betaEncodeCookieOptions, allowFallbackToLocalStorage, trackBfcacheViews, usePciIntake,\n  changed APIs like forwardErrorsToLogs, startDurationVital, stopDurationVital,\n  or when a project references datadoghq-browser-agent.com CDN with \u002Fv6\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,v7,upgrade\n---\n\n# Upgrade Datadog Browser SDK to v7\n\nSystematic migration guide from v6 to v7. Follow steps 1-6 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| v6 pattern                                               | v7 replacement                                           |\n| -------------------------------------------------------- | -------------------------------------------------------- |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv6\u002Fdatadog-rum.js`      | `datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js`      |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv6\u002Fdatadog-logs.js`     | `datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-logs.js`     |\n| `datadoghq-browser-agent.com\u002Fus1\u002Fv6\u002Fdatadog-rum-slim.js` | `datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum-slim.js` |\n\nReplace `us1` with your site: `eu1`, `us3`, `us5`, `ap1`, `ap2`. For US1-FED, the pattern is flat with no site prefix: `datadog-rum-v7.js`, `datadog-logs-v7.js`, `datadog-rum-slim-v7.js`.\n\nSearch: `grep -r \"datadoghq-browser-agent.com.*v6\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"`\n\n**npm setup** — update `package.json` dependencies:\n\n```\n\"@datadog\u002Fbrowser-rum\": \"^7.0.0\"\n\"@datadog\u002Fbrowser-logs\": \"^7.0.0\"\n\"@datadog\u002Fbrowser-rum-slim\": \"^7.0.0\"\n```\n\nThen run your package manager (`npm install`, `yarn install`, etc.) and rebuild.\n\nAlso upgrade framework integrations to v7: `@datadog\u002Fbrowser-rum-react`, `@datadog\u002Fbrowser-rum-angular`, `@datadog\u002Fbrowser-rum-vue`, `@datadog\u002Fbrowser-rum-nextjs`.\n\nSearch: `grep -r \"@datadog\u002Fbrowser-\" --include=\"package.json\" .`\n\n## Step 2: Add `crossorigin=\"anonymous\"` (CDN only)\n\nv7 CDN bundles use ESM dynamic imports. **Every** `\u003Cscript>` tag loading the SDK must have `crossorigin=\"anonymous\"`:\n\n```html\n\u003Cscript src=\"https:\u002F\u002Fwww.datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js\" crossorigin=\"anonymous\">\u003C\u002Fscript>\n```\n\nFor **dynamically created** script elements:\n\n```js\nconst script = document.createElement('script')\nscript.crossOrigin = 'anonymous' \u002F\u002F Must set BEFORE setting src\nscript.src = 'https:\u002F\u002Fwww.datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js'\n```\n\nSearch: `grep -rn \"datadoghq-browser-agent\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"`\n\nCheck every match for the `crossorigin` attribute (HTML) or `.crossOrigin` property (JS).\n\n## Step 3: Remove deprecated options\n\nSearch init calls for these options and apply replacements:\n\n### Removed from Core (affects both RUM and Logs)\n\n| Option                        | Action                                                         |\n| ----------------------------- | -------------------------------------------------------------- |\n| `betaEncodeCookieOptions`     | Delete. Cookie encoding is always enabled.                     |\n| `allowFallbackToLocalStorage` | Replace with `sessionPersistence: ['cookie', 'local-storage']` |\n\n### Removed from RUM\n\n| Option                        | Action                                           |\n| ----------------------------- | ------------------------------------------------ |\n| `trackBfcacheViews`           | Delete. BFCache views are always tracked.        |\n| `trackEarlyRequests`          | Delete. Early requests are always collected.     |\n| `betaTrackActionsInShadowDom` | Delete. Shadow DOM action tracking is always on. |\n\n### Removed from Logs\n\n| Option         | Action                                                                                                |\n| -------------- | ----------------------------------------------------------------------------------------------------- |\n| `usePciIntake` | Delete. Standard intake is now PCI compliant. Update CSP if you had PCI-specific domains allowlisted. |\n\nSearch: `grep -rn 'betaEncodeCookieOptions\\|allowFallbackToLocalStorage\\|trackBfcacheViews\\|trackEarlyRequests\\|betaTrackActionsInShadowDom\\|usePciIntake' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\n## Step 4: Update changed APIs\n\n### 4a. `forwardErrorsToLogs` + `forwardConsoleLogs` (Logs)\n\nThese are now **independent**. In v6, `forwardErrorsToLogs: true` had a side effect: it also forwarded `console.error()` calls to Logs. In v7, that side effect is removed.\n\n- `forwardErrorsToLogs` — controls forwarding of **unhandled errors** (uncaught exceptions, unhandled rejections) and **network errors** to Logs. **Keep this unchanged.**\n- `forwardConsoleLogs` — controls forwarding of **`console.error()` calls** to Logs. Add `'error'` here to restore the v6 side effect.\n\n**Only add `forwardConsoleLogs: ['error']` when `forwardErrorsToLogs` is `true` or omitted** — in v6 the side effect only applied when the option was enabled (explicitly or via the default). If `forwardErrorsToLogs: false`, there was no side effect to restore; leave it unchanged.\n\n```js\n\u002F\u002F v6 — forwardErrorsToLogs: true (explicit or omitted, which defaults to true)\nDD_LOGS.init({\n  forwardErrorsToLogs: true,\n  forwardConsoleLogs: ['warn'], \u002F\u002F example: existing levels\n})\n\n\u002F\u002F v7 — add 'error' to restore the side effect; preserve any existing levels\nDD_LOGS.init({\n  forwardErrorsToLogs: true, \u002F\u002F unchanged\n  forwardConsoleLogs: ['warn', 'error'], \u002F\u002F add 'error'\n})\n\n\u002F\u002F v6 — forwardErrorsToLogs: false → no side effect existed; nothing to add\nDD_LOGS.init({\n  forwardErrorsToLogs: false, \u002F\u002F leave unchanged, do NOT add forwardConsoleLogs: ['error']\n})\n```\n\nDo **not** replace `forwardErrorsToLogs` with `forwardConsoleLogs` — they control different things.\n\nSearch for explicit config: `grep -rn \"forwardErrorsToLogs\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\nAlso search for Logs init calls that may be relying on the default (`forwardErrorsToLogs` defaults to `true` in v6, so omitting it still had the side effect): `grep -rn \"DD_LOGS\\.init\\|datadogLogs\\.init\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`\n\nFor any Logs init call where `forwardErrorsToLogs` is `true` or omitted, and `forwardConsoleLogs` does not already include `'error'` or `'all'`, add `'error'` to preserve v6 behavior.\n\n### 4b. `startDurationVital` \u002F `stopDurationVital` (RUM)\n\nThe `DurationVitalReference` object is replaced by a `vitalKey` string. **`startDurationVital` now returns `void`** — the v7 API is fire-and-forget; the vital name string is all you need.\n\n```js\n\u002F\u002F v5\u002Fv6 — ref-based (CDN: DD_RUM, npm: datadogRum)\nvar ref = DD_RUM.startDurationVital('checkout_flow')\n\u002F\u002F ... async work ...\nDD_RUM.stopDurationVital(ref)\n\n\u002F\u002F v7\nDD_RUM.startDurationVital('checkout_flow', { vitalKey: 'checkout_flow' })\nDD_RUM.stopDurationVital('checkout_flow', { vitalKey: 'checkout_flow' })\n```\n\n**This silently breaks in CDN\u002Fplain JS projects.** TypeScript catches it with a type error; plain JS does not. `ref` becomes `undefined` and `stopDurationVital(undefined)` is a no-op — the vital starts but never stops, so the event is never emitted.\n\n**Step 1 — find all `startDurationVital`\u002F`stopDurationVital` usages** (both CDN and npm patterns, all file types):\n\n```\ngrep -rn 'startDurationVital\\|stopDurationVital\\|DurationVitalReference' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" \\\n  --include=\"*.html\" --include=\"*.svelte\" --include=\"*.vue\"\n```\n\n**Step 2 — find every variable that captures the return value** (this is the failure point):\n\n```\ngrep -rEn '(var|const|let)\\s+\\w+\\s*=\\s*.+startDurationVital|[\\w.]+\\s*=\\s*(window\\.)?DD_RUM\\.startDurationVital|[\\w.]+\\s*=\\s*datadogRum\\.startDurationVital' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" \\\n  --include=\"*.svelte\" --include=\"*.vue\"\n```\n\nFor every match: remove the variable assignment and update all uses of that variable in the corresponding `stopDurationVital` call to pass the vital name string directly.\n\n**Step 3 — if the SDK is wrapped in a utility** (e.g. `startTiming` \u002F `stopTiming`):\n\n1. Update the wrapper — pass `vitalKey` to `startDurationVital`, return nothing.\n2. Find callers that capture the wrapper return value:\n\n```\ngrep -rEn '(var|const|let)\\s+\\w+\\s*=\\s*.+[Ss]tart[Tt]iming|(var|const|let)\\s+\\w+\\s*=\\s*.+[Ss]tart.+[Vv]ital' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" \\\n  --include=\"*.html\" --include=\"*.svelte\" --include=\"*.vue\"\n```\n\n3. Remove the capture and update the stop call to pass the vital name string directly:\n\n```js\n\u002F\u002F Caller — before\nvar ref = startTiming('checkout_flow')\nstopTiming(ref) \u002F\u002F undefined in v7 → vital never stops\n\n\u002F\u002F Caller — after\nstartTiming('checkout_flow')\nstopTiming('checkout_flow')\n```\n\n### 4c. Plugin API: `strategy` removed (RUM)\n\nThe `strategy` field has been removed from the plugin API. If you use `@datadog\u002Fbrowser-rum-react` or other plugin integrations, upgrade them to v7.\n\nSearch: `grep -rn \"strategy\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"` (look for plugin definitions)\n\n## Step 5: Review behavioral changes (no code required, but may need attention)\n\nThese are **default changes** — no code breaks, but behavior differs from v6:\n\n| Change                                                               | Impact                                                                                                                                                                                                                                                                                                                                                                                    | Action if needed                                                                                                                                                                                                                                   |\n| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `defaultPrivacyLevel` defaults to `\"mask-user-input\"` (was `\"mask\"`) | Less restrictive masking out of the box. Only user input is masked.                                                                                                                                                                                                                                                                                                                       | Set `defaultPrivacyLevel: \"mask\"` to preserve full masking.                                                                                                                                                                                        |\n| `enablePrivacyForActionName` defaults to `true`                      | Action names are derived from `textContent` (not `innerText`) — CSS `text-transform` is no longer applied. A button with `style=\"text-transform: capitalize\"` and raw text `\"audio\"` yields `\"Audio\"` in v6 but `\"audio\"` in v7. Names may also be masked based on privacy level. **Note:** setting this to `false` does not restore CSS-aware extraction — v7 always uses `textContent`. | Add `data-dd-action-name` attributes to elements whose display names relied on CSS transforms, or update monitors to match raw text values. Use the [Datadog build plugin](https:\u002F\u002Fgithub.com\u002FDataDog\u002Fbuild-plugins) for annotation-based control. |\n| `propagateTraceBaggage` defaults to `true`                           | CORS: cross-origin APIs must allow `baggage` header.                                                                                                                                                                                                                                                                                                                                      | Add `\"baggage\"` to `Access-Control-Allow-Headers`, or set `propagateTraceBaggage: false`.                                                                                                                                                          |\n| Deterministic sampling                                               | Sampling computed from session ID + rate, not stored. Consistent across pages.                                                                                                                                                                                                                                                                                                            | Review if you use different sample rates on different pages.                                                                                                                                                                                       |\n| FID removed                                                          | First Input Delay no longer collected.                                                                                                                                                                                                                                                                                                                                                    | Use INP (Interaction to Next Paint) instead.                                                                                                                                                                                                       |\n| `session_renewal` view loading type                                  | Session-renewed views have `@view.loading_type:session_renewal` instead of `route_change`.                                                                                                                                                                                                                                                                                                | Update dashboards\u002Fmonitors filtering on `@view.loading_type`.                                                                                                                                                                                      |\n| Document resource `initiatorType` changed                            | `\"initial_document\"` becomes `\"navigation\"`. Duration may differ slightly.                                                                                                                                                                                                                                                                                                                | Update any code inspecting document resource `performanceEntry`.                                                                                                                                                                                   |\n| Action names may change                                              | Tree walker + `textContent` always used in v7 (including Shadow DOM) — CSS `text-transform` is never reflected regardless of `enablePrivacyForActionName`. Monitors with case-sensitive filters on visually-transformed names may break.                                                                                                                                                  | Add `data-dd-action-name` attributes to affected elements, or update monitors to match raw text values.                                                                                                                                            |\n| Cancelled request errors removed (Logs)                              | Aborted fetch\u002FXHR no longer generate network error logs.                                                                                                                                                                                                                                                                                                                                  | No action needed — reduces noise.                                                                                                                                                                                                                  |\n| Logs always requires session storage                                 | Without cookies or localStorage, Logs SDK won't start.                                                                                                                                                                                                                                                                                                                                    | Use `sessionPersistence: 'memory'` for worker environments.                                                                                                                                                                                        |\n| Session Replay: Change Records                                       | New serialization format. More accurate, less bandwidth.                                                                                                                                                                                                                                                                                                                                  | Update if you depend on raw segment format.                                                                                                                                                                                                        |\n| Async chunk names prefixed with `datadog`                            | e.g., `datadogRecorder-\u003Chash>-datadog-rum.js`, `datadogProfiler-\u003Chash>-datadog-rum.js`.                                                                                                                                                                                                                                                                                                   | Update CSP `script-src` rules or caching configs (allow `datadog*-datadog-rum.js`).                                                                                                                                                                |\n\n## Step 6: Update infrastructure\n\n- **CSP**:\n  - Add `crossorigin` to script-src.\n  - Update chunk names like `datadog*-datadog-rum.js` (e.g. `datadogRecorder`, `datadogProfiler`).\n  - If you removed `usePciIntake`, update CSP for standard intake domain.\n- **Cookies**: Add `_dd_s_v2` to cookie allowlists. The SDK auto-migrates from `_dd_s` on first load. Rollback to v6 starts new sessions.\n- **CORS**: Search for tracing config: `grep -rn \"allowedTracingUrls\\|propagateTraceBaggage\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"`. For any project with `allowedTracingUrls` and no explicit `propagateTraceBaggage: false`, add `\"baggage\"` to your existing `Access-Control-Allow-Headers` on traced origins — or set `propagateTraceBaggage: false` to opt out.\n- **Browser support**: Minimum Chrome 80+, Firefox 78+, Safari 14+ (ES2020). ~0.048% less coverage.\n\n## Common Mistakes\n\n| Mistake                                                                    | What goes wrong                                                                                                     | Fix                                                                                                                                                |\n| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Replacing `forwardErrorsToLogs: true` with `forwardConsoleLogs: ['error']` | Unhandled errors (uncaught exceptions, unhandled rejections) stop being forwarded to Logs                           | Keep `forwardErrorsToLogs: true` unchanged and add `forwardConsoleLogs: ['error']` alongside it — they control different things                    |\n| Updating `startDurationVital` wrapper but not its callers                  | Callers pass the old ref variable (now `undefined`) to `stopDurationVital` — vital never stops, event never emitted | After updating the wrapper, search for every caller that captures the return value and update the stop call to pass the vital name string directly |\n| Missing `vitalKey` option on `stopDurationVital`                           | v7 `stopDurationVital` requires `{ vitalKey: string }` to identify which vital to stop                              | Pass the same string used in `startDurationVital`: `stopDurationVital('name', { vitalKey: 'name' })`                                               |\n| Not checking CDN\u002Fplain JS files for ref-based vitals                       | TypeScript projects surface this as a type error; plain JS silently breaks                                          | Run the Step 2 grep explicitly — don't rely on type errors to find all sites                                                                       |\n\n## Verification checklist\n\nAfter upgrading, confirm:\n\n- [ ] SDK loads without console errors\n- [ ] `crossorigin=\"anonymous\"` on all CDN script tags\n- [ ] No references to removed options in init config\n- [ ] Session Replay recordings working (if used)\n- [ ] Distributed tracing working (no CORS errors from baggage header)\n- [ ] No `_dd_s` cookie remaining after first page load (should be `_dd_s_v2`)\n- [ ] Action names acceptable under new privacy defaults\n- [ ] No variables capturing the return value of `startDurationVital` (or wrappers around it) — all stop calls use the vital name string directly\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,v7,upgrade",{"type":42,"children":43},"root",[44,53,59,66,86,177,249,260,278,290,310,343,353,367,394,483,495,634,644,665,671,676,683,745,751,822,828,865,875,881,903,931,994,1035,1375,1401,1412,1437,1484,1506,1545,1792,1826,1850,1859,1869,1878,1890,1915,1943,1952,1960,2101,2115,2133,2145,2151,2163,2705,2711,2864,2870,3055,3061,3066,3172],{"type":45,"tag":46,"props":47,"children":49},"element","h1",{"id":48},"upgrade-datadog-browser-sdk-to-v7",[50],{"type":51,"value":52},"text","Upgrade Datadog Browser SDK to v7",{"type":45,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Systematic migration guide from v6 to v7. Follow steps 1-6 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},"v6 pattern",{"type":45,"tag":99,"props":105,"children":106},{},[107],{"type":51,"value":108},"v7 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\u002Fv6\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\u002Fv7\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\u002Fv6\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\u002Fv7\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\u002Fv6\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\u002Fv7\u002Fdatadog-rum-slim.js",{"type":45,"tag":54,"props":178,"children":179},{},[180,182,188,190,196,198,204,205,211,212,218,219,225,227,233,234,240,241,247],{"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":197},{"type":45,"tag":78,"props":220,"children":222},{"className":221},[],[223],{"type":51,"value":224},"ap2",{"type":51,"value":226},". For US1-FED, the pattern is flat with no site prefix: ",{"type":45,"tag":78,"props":228,"children":230},{"className":229},[],[231],{"type":51,"value":232},"datadog-rum-v7.js",{"type":51,"value":197},{"type":45,"tag":78,"props":235,"children":237},{"className":236},[],[238],{"type":51,"value":239},"datadog-logs-v7.js",{"type":51,"value":197},{"type":45,"tag":78,"props":242,"children":244},{"className":243},[],[245],{"type":51,"value":246},"datadog-rum-slim-v7.js",{"type":51,"value":248},".",{"type":45,"tag":54,"props":250,"children":251},{},[252,254],{"type":51,"value":253},"Search: ",{"type":45,"tag":78,"props":255,"children":257},{"className":256},[],[258],{"type":51,"value":259},"grep -r \"datadoghq-browser-agent.com.*v6\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"",{"type":45,"tag":54,"props":261,"children":262},{},[263,268,270,276],{"type":45,"tag":70,"props":264,"children":265},{},[266],{"type":51,"value":267},"npm setup",{"type":51,"value":269}," — update ",{"type":45,"tag":78,"props":271,"children":273},{"className":272},[],[274],{"type":51,"value":275},"package.json",{"type":51,"value":277}," dependencies:",{"type":45,"tag":279,"props":280,"children":284},"pre",{"className":281,"code":283,"language":51},[282],"language-text","\"@datadog\u002Fbrowser-rum\": \"^7.0.0\"\n\"@datadog\u002Fbrowser-logs\": \"^7.0.0\"\n\"@datadog\u002Fbrowser-rum-slim\": \"^7.0.0\"\n",[285],{"type":45,"tag":78,"props":286,"children":288},{"__ignoreMap":287},"",[289],{"type":51,"value":283},{"type":45,"tag":54,"props":291,"children":292},{},[293,295,301,302,308],{"type":51,"value":294},"Then run your package manager (",{"type":45,"tag":78,"props":296,"children":298},{"className":297},[],[299],{"type":51,"value":300},"npm install",{"type":51,"value":197},{"type":45,"tag":78,"props":303,"children":305},{"className":304},[],[306],{"type":51,"value":307},"yarn install",{"type":51,"value":309},", etc.) and rebuild.",{"type":45,"tag":54,"props":311,"children":312},{},[313,315,321,322,328,329,335,336,342],{"type":51,"value":314},"Also upgrade framework integrations to v7: ",{"type":45,"tag":78,"props":316,"children":318},{"className":317},[],[319],{"type":51,"value":320},"@datadog\u002Fbrowser-rum-react",{"type":51,"value":197},{"type":45,"tag":78,"props":323,"children":325},{"className":324},[],[326],{"type":51,"value":327},"@datadog\u002Fbrowser-rum-angular",{"type":51,"value":197},{"type":45,"tag":78,"props":330,"children":332},{"className":331},[],[333],{"type":51,"value":334},"@datadog\u002Fbrowser-rum-vue",{"type":51,"value":197},{"type":45,"tag":78,"props":337,"children":339},{"className":338},[],[340],{"type":51,"value":341},"@datadog\u002Fbrowser-rum-nextjs",{"type":51,"value":248},{"type":45,"tag":54,"props":344,"children":345},{},[346,347],{"type":51,"value":253},{"type":45,"tag":78,"props":348,"children":350},{"className":349},[],[351],{"type":51,"value":352},"grep -r \"@datadog\u002Fbrowser-\" --include=\"package.json\" .",{"type":45,"tag":60,"props":354,"children":356},{"id":355},"step-2-add-crossoriginanonymous-cdn-only",[357,359,365],{"type":51,"value":358},"Step 2: Add ",{"type":45,"tag":78,"props":360,"children":362},{"className":361},[],[363],{"type":51,"value":364},"crossorigin=\"anonymous\"",{"type":51,"value":366}," (CDN only)",{"type":45,"tag":54,"props":368,"children":369},{},[370,372,377,379,385,387,392],{"type":51,"value":371},"v7 CDN bundles use ESM dynamic imports. ",{"type":45,"tag":70,"props":373,"children":374},{},[375],{"type":51,"value":376},"Every",{"type":51,"value":378}," ",{"type":45,"tag":78,"props":380,"children":382},{"className":381},[],[383],{"type":51,"value":384},"\u003Cscript>",{"type":51,"value":386}," tag loading the SDK must have ",{"type":45,"tag":78,"props":388,"children":390},{"className":389},[],[391],{"type":51,"value":364},{"type":51,"value":393},":",{"type":45,"tag":279,"props":395,"children":399},{"className":396,"code":397,"language":398,"meta":287,"style":287},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript src=\"https:\u002F\u002Fwww.datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js\" crossorigin=\"anonymous\">\u003C\u002Fscript>\n","html",[400],{"type":45,"tag":78,"props":401,"children":402},{"__ignoreMap":287},[403],{"type":45,"tag":404,"props":405,"children":408},"span",{"class":406,"line":407},"line",1,[409,415,421,427,432,437,443,447,452,456,460,465,469,474,478],{"type":45,"tag":404,"props":410,"children":412},{"style":411},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[413],{"type":51,"value":414},"\u003C",{"type":45,"tag":404,"props":416,"children":418},{"style":417},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[419],{"type":51,"value":420},"script",{"type":45,"tag":404,"props":422,"children":424},{"style":423},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[425],{"type":51,"value":426}," src",{"type":45,"tag":404,"props":428,"children":429},{"style":411},[430],{"type":51,"value":431},"=",{"type":45,"tag":404,"props":433,"children":434},{"style":411},[435],{"type":51,"value":436},"\"",{"type":45,"tag":404,"props":438,"children":440},{"style":439},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[441],{"type":51,"value":442},"https:\u002F\u002Fwww.datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js",{"type":45,"tag":404,"props":444,"children":445},{"style":411},[446],{"type":51,"value":436},{"type":45,"tag":404,"props":448,"children":449},{"style":423},[450],{"type":51,"value":451}," crossorigin",{"type":45,"tag":404,"props":453,"children":454},{"style":411},[455],{"type":51,"value":431},{"type":45,"tag":404,"props":457,"children":458},{"style":411},[459],{"type":51,"value":436},{"type":45,"tag":404,"props":461,"children":462},{"style":439},[463],{"type":51,"value":464},"anonymous",{"type":45,"tag":404,"props":466,"children":467},{"style":411},[468],{"type":51,"value":436},{"type":45,"tag":404,"props":470,"children":471},{"style":411},[472],{"type":51,"value":473},">\u003C\u002F",{"type":45,"tag":404,"props":475,"children":476},{"style":417},[477],{"type":51,"value":420},{"type":45,"tag":404,"props":479,"children":480},{"style":411},[481],{"type":51,"value":482},">\n",{"type":45,"tag":54,"props":484,"children":485},{},[486,488,493],{"type":51,"value":487},"For ",{"type":45,"tag":70,"props":489,"children":490},{},[491],{"type":51,"value":492},"dynamically created",{"type":51,"value":494}," script elements:",{"type":45,"tag":279,"props":496,"children":500},{"className":497,"code":498,"language":499,"meta":287,"style":287},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const script = document.createElement('script')\nscript.crossOrigin = 'anonymous' \u002F\u002F Must set BEFORE setting src\nscript.src = 'https:\u002F\u002Fwww.datadoghq-browser-agent.com\u002Fus1\u002Fv7\u002Fdatadog-rum.js'\n","js",[501],{"type":45,"tag":78,"props":502,"children":503},{"__ignoreMap":287},[504,560,600],{"type":45,"tag":404,"props":505,"children":506},{"class":406,"line":407},[507,512,518,522,527,531,537,542,547,551,555],{"type":45,"tag":404,"props":508,"children":509},{"style":423},[510],{"type":51,"value":511},"const",{"type":45,"tag":404,"props":513,"children":515},{"style":514},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[516],{"type":51,"value":517}," script ",{"type":45,"tag":404,"props":519,"children":520},{"style":411},[521],{"type":51,"value":431},{"type":45,"tag":404,"props":523,"children":524},{"style":514},[525],{"type":51,"value":526}," document",{"type":45,"tag":404,"props":528,"children":529},{"style":411},[530],{"type":51,"value":248},{"type":45,"tag":404,"props":532,"children":534},{"style":533},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[535],{"type":51,"value":536},"createElement",{"type":45,"tag":404,"props":538,"children":539},{"style":514},[540],{"type":51,"value":541},"(",{"type":45,"tag":404,"props":543,"children":544},{"style":411},[545],{"type":51,"value":546},"'",{"type":45,"tag":404,"props":548,"children":549},{"style":439},[550],{"type":51,"value":420},{"type":45,"tag":404,"props":552,"children":553},{"style":411},[554],{"type":51,"value":546},{"type":45,"tag":404,"props":556,"children":557},{"style":514},[558],{"type":51,"value":559},")\n",{"type":45,"tag":404,"props":561,"children":563},{"class":406,"line":562},2,[564,568,572,577,581,586,590,594],{"type":45,"tag":404,"props":565,"children":566},{"style":514},[567],{"type":51,"value":420},{"type":45,"tag":404,"props":569,"children":570},{"style":411},[571],{"type":51,"value":248},{"type":45,"tag":404,"props":573,"children":574},{"style":514},[575],{"type":51,"value":576},"crossOrigin ",{"type":45,"tag":404,"props":578,"children":579},{"style":411},[580],{"type":51,"value":431},{"type":45,"tag":404,"props":582,"children":583},{"style":411},[584],{"type":51,"value":585}," '",{"type":45,"tag":404,"props":587,"children":588},{"style":439},[589],{"type":51,"value":464},{"type":45,"tag":404,"props":591,"children":592},{"style":411},[593],{"type":51,"value":546},{"type":45,"tag":404,"props":595,"children":597},{"style":596},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[598],{"type":51,"value":599}," \u002F\u002F Must set BEFORE setting src\n",{"type":45,"tag":404,"props":601,"children":603},{"class":406,"line":602},3,[604,608,612,617,621,625,629],{"type":45,"tag":404,"props":605,"children":606},{"style":514},[607],{"type":51,"value":420},{"type":45,"tag":404,"props":609,"children":610},{"style":411},[611],{"type":51,"value":248},{"type":45,"tag":404,"props":613,"children":614},{"style":514},[615],{"type":51,"value":616},"src ",{"type":45,"tag":404,"props":618,"children":619},{"style":411},[620],{"type":51,"value":431},{"type":45,"tag":404,"props":622,"children":623},{"style":411},[624],{"type":51,"value":585},{"type":45,"tag":404,"props":626,"children":627},{"style":439},[628],{"type":51,"value":442},{"type":45,"tag":404,"props":630,"children":631},{"style":411},[632],{"type":51,"value":633},"'\n",{"type":45,"tag":54,"props":635,"children":636},{},[637,638],{"type":51,"value":253},{"type":45,"tag":78,"props":639,"children":641},{"className":640},[],[642],{"type":51,"value":643},"grep -rn \"datadoghq-browser-agent\" --include=\"*.html\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"",{"type":45,"tag":54,"props":645,"children":646},{},[647,649,655,657,663],{"type":51,"value":648},"Check every match for the ",{"type":45,"tag":78,"props":650,"children":652},{"className":651},[],[653],{"type":51,"value":654},"crossorigin",{"type":51,"value":656}," attribute (HTML) or ",{"type":45,"tag":78,"props":658,"children":660},{"className":659},[],[661],{"type":51,"value":662},".crossOrigin",{"type":51,"value":664}," property (JS).",{"type":45,"tag":60,"props":666,"children":668},{"id":667},"step-3-remove-deprecated-options",[669],{"type":51,"value":670},"Step 3: Remove deprecated options",{"type":45,"tag":54,"props":672,"children":673},{},[674],{"type":51,"value":675},"Search init calls for these options and apply replacements:",{"type":45,"tag":677,"props":678,"children":680},"h3",{"id":679},"removed-from-core-affects-both-rum-and-logs",[681],{"type":51,"value":682},"Removed from Core (affects both RUM and Logs)",{"type":45,"tag":87,"props":684,"children":685},{},[686,702],{"type":45,"tag":91,"props":687,"children":688},{},[689],{"type":45,"tag":95,"props":690,"children":691},{},[692,697],{"type":45,"tag":99,"props":693,"children":694},{},[695],{"type":51,"value":696},"Option",{"type":45,"tag":99,"props":698,"children":699},{},[700],{"type":51,"value":701},"Action",{"type":45,"tag":110,"props":703,"children":704},{},[705,722],{"type":45,"tag":95,"props":706,"children":707},{},[708,717],{"type":45,"tag":117,"props":709,"children":710},{},[711],{"type":45,"tag":78,"props":712,"children":714},{"className":713},[],[715],{"type":51,"value":716},"betaEncodeCookieOptions",{"type":45,"tag":117,"props":718,"children":719},{},[720],{"type":51,"value":721},"Delete. Cookie encoding is always enabled.",{"type":45,"tag":95,"props":723,"children":724},{},[725,734],{"type":45,"tag":117,"props":726,"children":727},{},[728],{"type":45,"tag":78,"props":729,"children":731},{"className":730},[],[732],{"type":51,"value":733},"allowFallbackToLocalStorage",{"type":45,"tag":117,"props":735,"children":736},{},[737,739],{"type":51,"value":738},"Replace with ",{"type":45,"tag":78,"props":740,"children":742},{"className":741},[],[743],{"type":51,"value":744},"sessionPersistence: ['cookie', 'local-storage']",{"type":45,"tag":677,"props":746,"children":748},{"id":747},"removed-from-rum",[749],{"type":51,"value":750},"Removed from RUM",{"type":45,"tag":87,"props":752,"children":753},{},[754,768],{"type":45,"tag":91,"props":755,"children":756},{},[757],{"type":45,"tag":95,"props":758,"children":759},{},[760,764],{"type":45,"tag":99,"props":761,"children":762},{},[763],{"type":51,"value":696},{"type":45,"tag":99,"props":765,"children":766},{},[767],{"type":51,"value":701},{"type":45,"tag":110,"props":769,"children":770},{},[771,788,805],{"type":45,"tag":95,"props":772,"children":773},{},[774,783],{"type":45,"tag":117,"props":775,"children":776},{},[777],{"type":45,"tag":78,"props":778,"children":780},{"className":779},[],[781],{"type":51,"value":782},"trackBfcacheViews",{"type":45,"tag":117,"props":784,"children":785},{},[786],{"type":51,"value":787},"Delete. BFCache views are always tracked.",{"type":45,"tag":95,"props":789,"children":790},{},[791,800],{"type":45,"tag":117,"props":792,"children":793},{},[794],{"type":45,"tag":78,"props":795,"children":797},{"className":796},[],[798],{"type":51,"value":799},"trackEarlyRequests",{"type":45,"tag":117,"props":801,"children":802},{},[803],{"type":51,"value":804},"Delete. Early requests are always collected.",{"type":45,"tag":95,"props":806,"children":807},{},[808,817],{"type":45,"tag":117,"props":809,"children":810},{},[811],{"type":45,"tag":78,"props":812,"children":814},{"className":813},[],[815],{"type":51,"value":816},"betaTrackActionsInShadowDom",{"type":45,"tag":117,"props":818,"children":819},{},[820],{"type":51,"value":821},"Delete. Shadow DOM action tracking is always on.",{"type":45,"tag":677,"props":823,"children":825},{"id":824},"removed-from-logs",[826],{"type":51,"value":827},"Removed from Logs",{"type":45,"tag":87,"props":829,"children":830},{},[831,845],{"type":45,"tag":91,"props":832,"children":833},{},[834],{"type":45,"tag":95,"props":835,"children":836},{},[837,841],{"type":45,"tag":99,"props":838,"children":839},{},[840],{"type":51,"value":696},{"type":45,"tag":99,"props":842,"children":843},{},[844],{"type":51,"value":701},{"type":45,"tag":110,"props":846,"children":847},{},[848],{"type":45,"tag":95,"props":849,"children":850},{},[851,860],{"type":45,"tag":117,"props":852,"children":853},{},[854],{"type":45,"tag":78,"props":855,"children":857},{"className":856},[],[858],{"type":51,"value":859},"usePciIntake",{"type":45,"tag":117,"props":861,"children":862},{},[863],{"type":51,"value":864},"Delete. Standard intake is now PCI compliant. Update CSP if you had PCI-specific domains allowlisted.",{"type":45,"tag":54,"props":866,"children":867},{},[868,869],{"type":51,"value":253},{"type":45,"tag":78,"props":870,"children":872},{"className":871},[],[873],{"type":51,"value":874},"grep -rn 'betaEncodeCookieOptions\\|allowFallbackToLocalStorage\\|trackBfcacheViews\\|trackEarlyRequests\\|betaTrackActionsInShadowDom\\|usePciIntake' --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":60,"props":876,"children":878},{"id":877},"step-4-update-changed-apis",[879],{"type":51,"value":880},"Step 4: Update changed APIs",{"type":45,"tag":677,"props":882,"children":884},{"id":883},"_4a-forwarderrorstologs-forwardconsolelogs-logs",[885,887,893,895,901],{"type":51,"value":886},"4a. ",{"type":45,"tag":78,"props":888,"children":890},{"className":889},[],[891],{"type":51,"value":892},"forwardErrorsToLogs",{"type":51,"value":894}," + ",{"type":45,"tag":78,"props":896,"children":898},{"className":897},[],[899],{"type":51,"value":900},"forwardConsoleLogs",{"type":51,"value":902}," (Logs)",{"type":45,"tag":54,"props":904,"children":905},{},[906,908,913,915,921,923,929],{"type":51,"value":907},"These are now ",{"type":45,"tag":70,"props":909,"children":910},{},[911],{"type":51,"value":912},"independent",{"type":51,"value":914},". In v6, ",{"type":45,"tag":78,"props":916,"children":918},{"className":917},[],[919],{"type":51,"value":920},"forwardErrorsToLogs: true",{"type":51,"value":922}," had a side effect: it also forwarded ",{"type":45,"tag":78,"props":924,"children":926},{"className":925},[],[927],{"type":51,"value":928},"console.error()",{"type":51,"value":930}," calls to Logs. In v7, that side effect is removed.",{"type":45,"tag":932,"props":933,"children":934},"ul",{},[935,965],{"type":45,"tag":936,"props":937,"children":938},"li",{},[939,944,946,951,953,958,960],{"type":45,"tag":78,"props":940,"children":942},{"className":941},[],[943],{"type":51,"value":892},{"type":51,"value":945}," — controls forwarding of ",{"type":45,"tag":70,"props":947,"children":948},{},[949],{"type":51,"value":950},"unhandled errors",{"type":51,"value":952}," (uncaught exceptions, unhandled rejections) and ",{"type":45,"tag":70,"props":954,"children":955},{},[956],{"type":51,"value":957},"network errors",{"type":51,"value":959}," to Logs. ",{"type":45,"tag":70,"props":961,"children":962},{},[963],{"type":51,"value":964},"Keep this unchanged.",{"type":45,"tag":936,"props":966,"children":967},{},[968,973,974,984,986,992],{"type":45,"tag":78,"props":969,"children":971},{"className":970},[],[972],{"type":51,"value":900},{"type":51,"value":945},{"type":45,"tag":70,"props":975,"children":976},{},[977,982],{"type":45,"tag":78,"props":978,"children":980},{"className":979},[],[981],{"type":51,"value":928},{"type":51,"value":983}," calls",{"type":51,"value":985}," to Logs. Add ",{"type":45,"tag":78,"props":987,"children":989},{"className":988},[],[990],{"type":51,"value":991},"'error'",{"type":51,"value":993}," here to restore the v6 side effect.",{"type":45,"tag":54,"props":995,"children":996},{},[997,1025,1027,1033],{"type":45,"tag":70,"props":998,"children":999},{},[1000,1002,1008,1010,1015,1017,1023],{"type":51,"value":1001},"Only add ",{"type":45,"tag":78,"props":1003,"children":1005},{"className":1004},[],[1006],{"type":51,"value":1007},"forwardConsoleLogs: ['error']",{"type":51,"value":1009}," when ",{"type":45,"tag":78,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":51,"value":892},{"type":51,"value":1016}," is ",{"type":45,"tag":78,"props":1018,"children":1020},{"className":1019},[],[1021],{"type":51,"value":1022},"true",{"type":51,"value":1024}," or omitted",{"type":51,"value":1026}," — in v6 the side effect only applied when the option was enabled (explicitly or via the default). If ",{"type":45,"tag":78,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":51,"value":1032},"forwardErrorsToLogs: false",{"type":51,"value":1034},", there was no side effect to restore; leave it unchanged.",{"type":45,"tag":279,"props":1036,"children":1038},{"className":497,"code":1037,"language":499,"meta":287,"style":287},"\u002F\u002F v6 — forwardErrorsToLogs: true (explicit or omitted, which defaults to true)\nDD_LOGS.init({\n  forwardErrorsToLogs: true,\n  forwardConsoleLogs: ['warn'], \u002F\u002F example: existing levels\n})\n\n\u002F\u002F v7 — add 'error' to restore the side effect; preserve any existing levels\nDD_LOGS.init({\n  forwardErrorsToLogs: true, \u002F\u002F unchanged\n  forwardConsoleLogs: ['warn', 'error'], \u002F\u002F add 'error'\n})\n\n\u002F\u002F v6 — forwardErrorsToLogs: false → no side effect existed; nothing to add\nDD_LOGS.init({\n  forwardErrorsToLogs: false, \u002F\u002F leave unchanged, do NOT add forwardConsoleLogs: ['error']\n})\n",[1039],{"type":45,"tag":78,"props":1040,"children":1041},{"__ignoreMap":287},[1042,1050,1076,1099,1145,1158,1168,1177,1201,1226,1284,1296,1304,1313,1337,1363],{"type":45,"tag":404,"props":1043,"children":1044},{"class":406,"line":407},[1045],{"type":45,"tag":404,"props":1046,"children":1047},{"style":596},[1048],{"type":51,"value":1049},"\u002F\u002F v6 — forwardErrorsToLogs: true (explicit or omitted, which defaults to true)\n",{"type":45,"tag":404,"props":1051,"children":1052},{"class":406,"line":562},[1053,1058,1062,1067,1071],{"type":45,"tag":404,"props":1054,"children":1055},{"style":514},[1056],{"type":51,"value":1057},"DD_LOGS",{"type":45,"tag":404,"props":1059,"children":1060},{"style":411},[1061],{"type":51,"value":248},{"type":45,"tag":404,"props":1063,"children":1064},{"style":533},[1065],{"type":51,"value":1066},"init",{"type":45,"tag":404,"props":1068,"children":1069},{"style":514},[1070],{"type":51,"value":541},{"type":45,"tag":404,"props":1072,"children":1073},{"style":411},[1074],{"type":51,"value":1075},"{\n",{"type":45,"tag":404,"props":1077,"children":1078},{"class":406,"line":602},[1079,1084,1088,1094],{"type":45,"tag":404,"props":1080,"children":1081},{"style":417},[1082],{"type":51,"value":1083},"  forwardErrorsToLogs",{"type":45,"tag":404,"props":1085,"children":1086},{"style":411},[1087],{"type":51,"value":393},{"type":45,"tag":404,"props":1089,"children":1091},{"style":1090},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1092],{"type":51,"value":1093}," true",{"type":45,"tag":404,"props":1095,"children":1096},{"style":411},[1097],{"type":51,"value":1098},",\n",{"type":45,"tag":404,"props":1100,"children":1102},{"class":406,"line":1101},4,[1103,1108,1112,1117,1121,1126,1130,1135,1140],{"type":45,"tag":404,"props":1104,"children":1105},{"style":417},[1106],{"type":51,"value":1107},"  forwardConsoleLogs",{"type":45,"tag":404,"props":1109,"children":1110},{"style":411},[1111],{"type":51,"value":393},{"type":45,"tag":404,"props":1113,"children":1114},{"style":514},[1115],{"type":51,"value":1116}," [",{"type":45,"tag":404,"props":1118,"children":1119},{"style":411},[1120],{"type":51,"value":546},{"type":45,"tag":404,"props":1122,"children":1123},{"style":439},[1124],{"type":51,"value":1125},"warn",{"type":45,"tag":404,"props":1127,"children":1128},{"style":411},[1129],{"type":51,"value":546},{"type":45,"tag":404,"props":1131,"children":1132},{"style":514},[1133],{"type":51,"value":1134},"]",{"type":45,"tag":404,"props":1136,"children":1137},{"style":411},[1138],{"type":51,"value":1139},",",{"type":45,"tag":404,"props":1141,"children":1142},{"style":596},[1143],{"type":51,"value":1144}," \u002F\u002F example: existing levels\n",{"type":45,"tag":404,"props":1146,"children":1148},{"class":406,"line":1147},5,[1149,1154],{"type":45,"tag":404,"props":1150,"children":1151},{"style":411},[1152],{"type":51,"value":1153},"}",{"type":45,"tag":404,"props":1155,"children":1156},{"style":514},[1157],{"type":51,"value":559},{"type":45,"tag":404,"props":1159,"children":1161},{"class":406,"line":1160},6,[1162],{"type":45,"tag":404,"props":1163,"children":1165},{"emptyLinePlaceholder":1164},true,[1166],{"type":51,"value":1167},"\n",{"type":45,"tag":404,"props":1169,"children":1171},{"class":406,"line":1170},7,[1172],{"type":45,"tag":404,"props":1173,"children":1174},{"style":596},[1175],{"type":51,"value":1176},"\u002F\u002F v7 — add 'error' to restore the side effect; preserve any existing levels\n",{"type":45,"tag":404,"props":1178,"children":1180},{"class":406,"line":1179},8,[1181,1185,1189,1193,1197],{"type":45,"tag":404,"props":1182,"children":1183},{"style":514},[1184],{"type":51,"value":1057},{"type":45,"tag":404,"props":1186,"children":1187},{"style":411},[1188],{"type":51,"value":248},{"type":45,"tag":404,"props":1190,"children":1191},{"style":533},[1192],{"type":51,"value":1066},{"type":45,"tag":404,"props":1194,"children":1195},{"style":514},[1196],{"type":51,"value":541},{"type":45,"tag":404,"props":1198,"children":1199},{"style":411},[1200],{"type":51,"value":1075},{"type":45,"tag":404,"props":1202,"children":1204},{"class":406,"line":1203},9,[1205,1209,1213,1217,1221],{"type":45,"tag":404,"props":1206,"children":1207},{"style":417},[1208],{"type":51,"value":1083},{"type":45,"tag":404,"props":1210,"children":1211},{"style":411},[1212],{"type":51,"value":393},{"type":45,"tag":404,"props":1214,"children":1215},{"style":1090},[1216],{"type":51,"value":1093},{"type":45,"tag":404,"props":1218,"children":1219},{"style":411},[1220],{"type":51,"value":1139},{"type":45,"tag":404,"props":1222,"children":1223},{"style":596},[1224],{"type":51,"value":1225}," \u002F\u002F unchanged\n",{"type":45,"tag":404,"props":1227,"children":1229},{"class":406,"line":1228},10,[1230,1234,1238,1242,1246,1250,1254,1258,1262,1267,1271,1275,1279],{"type":45,"tag":404,"props":1231,"children":1232},{"style":417},[1233],{"type":51,"value":1107},{"type":45,"tag":404,"props":1235,"children":1236},{"style":411},[1237],{"type":51,"value":393},{"type":45,"tag":404,"props":1239,"children":1240},{"style":514},[1241],{"type":51,"value":1116},{"type":45,"tag":404,"props":1243,"children":1244},{"style":411},[1245],{"type":51,"value":546},{"type":45,"tag":404,"props":1247,"children":1248},{"style":439},[1249],{"type":51,"value":1125},{"type":45,"tag":404,"props":1251,"children":1252},{"style":411},[1253],{"type":51,"value":546},{"type":45,"tag":404,"props":1255,"children":1256},{"style":411},[1257],{"type":51,"value":1139},{"type":45,"tag":404,"props":1259,"children":1260},{"style":411},[1261],{"type":51,"value":585},{"type":45,"tag":404,"props":1263,"children":1264},{"style":439},[1265],{"type":51,"value":1266},"error",{"type":45,"tag":404,"props":1268,"children":1269},{"style":411},[1270],{"type":51,"value":546},{"type":45,"tag":404,"props":1272,"children":1273},{"style":514},[1274],{"type":51,"value":1134},{"type":45,"tag":404,"props":1276,"children":1277},{"style":411},[1278],{"type":51,"value":1139},{"type":45,"tag":404,"props":1280,"children":1281},{"style":596},[1282],{"type":51,"value":1283}," \u002F\u002F add 'error'\n",{"type":45,"tag":404,"props":1285,"children":1287},{"class":406,"line":1286},11,[1288,1292],{"type":45,"tag":404,"props":1289,"children":1290},{"style":411},[1291],{"type":51,"value":1153},{"type":45,"tag":404,"props":1293,"children":1294},{"style":514},[1295],{"type":51,"value":559},{"type":45,"tag":404,"props":1297,"children":1299},{"class":406,"line":1298},12,[1300],{"type":45,"tag":404,"props":1301,"children":1302},{"emptyLinePlaceholder":1164},[1303],{"type":51,"value":1167},{"type":45,"tag":404,"props":1305,"children":1307},{"class":406,"line":1306},13,[1308],{"type":45,"tag":404,"props":1309,"children":1310},{"style":596},[1311],{"type":51,"value":1312},"\u002F\u002F v6 — forwardErrorsToLogs: false → no side effect existed; nothing to add\n",{"type":45,"tag":404,"props":1314,"children":1316},{"class":406,"line":1315},14,[1317,1321,1325,1329,1333],{"type":45,"tag":404,"props":1318,"children":1319},{"style":514},[1320],{"type":51,"value":1057},{"type":45,"tag":404,"props":1322,"children":1323},{"style":411},[1324],{"type":51,"value":248},{"type":45,"tag":404,"props":1326,"children":1327},{"style":533},[1328],{"type":51,"value":1066},{"type":45,"tag":404,"props":1330,"children":1331},{"style":514},[1332],{"type":51,"value":541},{"type":45,"tag":404,"props":1334,"children":1335},{"style":411},[1336],{"type":51,"value":1075},{"type":45,"tag":404,"props":1338,"children":1340},{"class":406,"line":1339},15,[1341,1345,1349,1354,1358],{"type":45,"tag":404,"props":1342,"children":1343},{"style":417},[1344],{"type":51,"value":1083},{"type":45,"tag":404,"props":1346,"children":1347},{"style":411},[1348],{"type":51,"value":393},{"type":45,"tag":404,"props":1350,"children":1351},{"style":1090},[1352],{"type":51,"value":1353}," false",{"type":45,"tag":404,"props":1355,"children":1356},{"style":411},[1357],{"type":51,"value":1139},{"type":45,"tag":404,"props":1359,"children":1360},{"style":596},[1361],{"type":51,"value":1362}," \u002F\u002F leave unchanged, do NOT add forwardConsoleLogs: ['error']\n",{"type":45,"tag":404,"props":1364,"children":1366},{"class":406,"line":1365},16,[1367,1371],{"type":45,"tag":404,"props":1368,"children":1369},{"style":411},[1370],{"type":51,"value":1153},{"type":45,"tag":404,"props":1372,"children":1373},{"style":514},[1374],{"type":51,"value":559},{"type":45,"tag":54,"props":1376,"children":1377},{},[1378,1380,1385,1387,1392,1394,1399],{"type":51,"value":1379},"Do ",{"type":45,"tag":70,"props":1381,"children":1382},{},[1383],{"type":51,"value":1384},"not",{"type":51,"value":1386}," replace ",{"type":45,"tag":78,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":51,"value":892},{"type":51,"value":1393}," with ",{"type":45,"tag":78,"props":1395,"children":1397},{"className":1396},[],[1398],{"type":51,"value":900},{"type":51,"value":1400}," — they control different things.",{"type":45,"tag":54,"props":1402,"children":1403},{},[1404,1406],{"type":51,"value":1405},"Search for explicit config: ",{"type":45,"tag":78,"props":1407,"children":1409},{"className":1408},[],[1410],{"type":51,"value":1411},"grep -rn \"forwardErrorsToLogs\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":54,"props":1413,"children":1414},{},[1415,1417,1422,1424,1429,1431],{"type":51,"value":1416},"Also search for Logs init calls that may be relying on the default (",{"type":45,"tag":78,"props":1418,"children":1420},{"className":1419},[],[1421],{"type":51,"value":892},{"type":51,"value":1423}," defaults to ",{"type":45,"tag":78,"props":1425,"children":1427},{"className":1426},[],[1428],{"type":51,"value":1022},{"type":51,"value":1430}," in v6, so omitting it still had the side effect): ",{"type":45,"tag":78,"props":1432,"children":1434},{"className":1433},[],[1435],{"type":51,"value":1436},"grep -rn \"DD_LOGS\\.init\\|datadogLogs\\.init\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":45,"tag":54,"props":1438,"children":1439},{},[1440,1442,1447,1448,1453,1455,1460,1462,1467,1469,1475,1477,1482],{"type":51,"value":1441},"For any Logs init call where ",{"type":45,"tag":78,"props":1443,"children":1445},{"className":1444},[],[1446],{"type":51,"value":892},{"type":51,"value":1016},{"type":45,"tag":78,"props":1449,"children":1451},{"className":1450},[],[1452],{"type":51,"value":1022},{"type":51,"value":1454}," or omitted, and ",{"type":45,"tag":78,"props":1456,"children":1458},{"className":1457},[],[1459],{"type":51,"value":900},{"type":51,"value":1461}," does not already include ",{"type":45,"tag":78,"props":1463,"children":1465},{"className":1464},[],[1466],{"type":51,"value":991},{"type":51,"value":1468}," or ",{"type":45,"tag":78,"props":1470,"children":1472},{"className":1471},[],[1473],{"type":51,"value":1474},"'all'",{"type":51,"value":1476},", add ",{"type":45,"tag":78,"props":1478,"children":1480},{"className":1479},[],[1481],{"type":51,"value":991},{"type":51,"value":1483}," to preserve v6 behavior.",{"type":45,"tag":677,"props":1485,"children":1487},{"id":1486},"_4b-startdurationvital-stopdurationvital-rum",[1488,1490,1496,1498,1504],{"type":51,"value":1489},"4b. ",{"type":45,"tag":78,"props":1491,"children":1493},{"className":1492},[],[1494],{"type":51,"value":1495},"startDurationVital",{"type":51,"value":1497}," \u002F ",{"type":45,"tag":78,"props":1499,"children":1501},{"className":1500},[],[1502],{"type":51,"value":1503},"stopDurationVital",{"type":51,"value":1505}," (RUM)",{"type":45,"tag":54,"props":1507,"children":1508},{},[1509,1511,1517,1519,1525,1527,1543],{"type":51,"value":1510},"The ",{"type":45,"tag":78,"props":1512,"children":1514},{"className":1513},[],[1515],{"type":51,"value":1516},"DurationVitalReference",{"type":51,"value":1518}," object is replaced by a ",{"type":45,"tag":78,"props":1520,"children":1522},{"className":1521},[],[1523],{"type":51,"value":1524},"vitalKey",{"type":51,"value":1526}," string. ",{"type":45,"tag":70,"props":1528,"children":1529},{},[1530,1535,1537],{"type":45,"tag":78,"props":1531,"children":1533},{"className":1532},[],[1534],{"type":51,"value":1495},{"type":51,"value":1536}," now returns ",{"type":45,"tag":78,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":51,"value":1542},"void",{"type":51,"value":1544}," — the v7 API is fire-and-forget; the vital name string is all you need.",{"type":45,"tag":279,"props":1546,"children":1548},{"className":497,"code":1547,"language":499,"meta":287,"style":287},"\u002F\u002F v5\u002Fv6 — ref-based (CDN: DD_RUM, npm: datadogRum)\nvar ref = DD_RUM.startDurationVital('checkout_flow')\n\u002F\u002F ... async work ...\nDD_RUM.stopDurationVital(ref)\n\n\u002F\u002F v7\nDD_RUM.startDurationVital('checkout_flow', { vitalKey: 'checkout_flow' })\nDD_RUM.stopDurationVital('checkout_flow', { vitalKey: 'checkout_flow' })\n",[1549],{"type":45,"tag":78,"props":1550,"children":1551},{"__ignoreMap":287},[1552,1560,1611,1619,1640,1647,1655,1725],{"type":45,"tag":404,"props":1553,"children":1554},{"class":406,"line":407},[1555],{"type":45,"tag":404,"props":1556,"children":1557},{"style":596},[1558],{"type":51,"value":1559},"\u002F\u002F v5\u002Fv6 — ref-based (CDN: DD_RUM, npm: datadogRum)\n",{"type":45,"tag":404,"props":1561,"children":1562},{"class":406,"line":562},[1563,1568,1573,1577,1582,1586,1590,1594,1598,1603,1607],{"type":45,"tag":404,"props":1564,"children":1565},{"style":423},[1566],{"type":51,"value":1567},"var",{"type":45,"tag":404,"props":1569,"children":1570},{"style":514},[1571],{"type":51,"value":1572}," ref ",{"type":45,"tag":404,"props":1574,"children":1575},{"style":411},[1576],{"type":51,"value":431},{"type":45,"tag":404,"props":1578,"children":1579},{"style":514},[1580],{"type":51,"value":1581}," DD_RUM",{"type":45,"tag":404,"props":1583,"children":1584},{"style":411},[1585],{"type":51,"value":248},{"type":45,"tag":404,"props":1587,"children":1588},{"style":533},[1589],{"type":51,"value":1495},{"type":45,"tag":404,"props":1591,"children":1592},{"style":514},[1593],{"type":51,"value":541},{"type":45,"tag":404,"props":1595,"children":1596},{"style":411},[1597],{"type":51,"value":546},{"type":45,"tag":404,"props":1599,"children":1600},{"style":439},[1601],{"type":51,"value":1602},"checkout_flow",{"type":45,"tag":404,"props":1604,"children":1605},{"style":411},[1606],{"type":51,"value":546},{"type":45,"tag":404,"props":1608,"children":1609},{"style":514},[1610],{"type":51,"value":559},{"type":45,"tag":404,"props":1612,"children":1613},{"class":406,"line":602},[1614],{"type":45,"tag":404,"props":1615,"children":1616},{"style":596},[1617],{"type":51,"value":1618},"\u002F\u002F ... async work ...\n",{"type":45,"tag":404,"props":1620,"children":1621},{"class":406,"line":1101},[1622,1627,1631,1635],{"type":45,"tag":404,"props":1623,"children":1624},{"style":514},[1625],{"type":51,"value":1626},"DD_RUM",{"type":45,"tag":404,"props":1628,"children":1629},{"style":411},[1630],{"type":51,"value":248},{"type":45,"tag":404,"props":1632,"children":1633},{"style":533},[1634],{"type":51,"value":1503},{"type":45,"tag":404,"props":1636,"children":1637},{"style":514},[1638],{"type":51,"value":1639},"(ref)\n",{"type":45,"tag":404,"props":1641,"children":1642},{"class":406,"line":1147},[1643],{"type":45,"tag":404,"props":1644,"children":1645},{"emptyLinePlaceholder":1164},[1646],{"type":51,"value":1167},{"type":45,"tag":404,"props":1648,"children":1649},{"class":406,"line":1160},[1650],{"type":45,"tag":404,"props":1651,"children":1652},{"style":596},[1653],{"type":51,"value":1654},"\u002F\u002F v7\n",{"type":45,"tag":404,"props":1656,"children":1657},{"class":406,"line":1170},[1658,1662,1666,1670,1674,1678,1682,1686,1690,1695,1700,1704,1708,1712,1716,1721],{"type":45,"tag":404,"props":1659,"children":1660},{"style":514},[1661],{"type":51,"value":1626},{"type":45,"tag":404,"props":1663,"children":1664},{"style":411},[1665],{"type":51,"value":248},{"type":45,"tag":404,"props":1667,"children":1668},{"style":533},[1669],{"type":51,"value":1495},{"type":45,"tag":404,"props":1671,"children":1672},{"style":514},[1673],{"type":51,"value":541},{"type":45,"tag":404,"props":1675,"children":1676},{"style":411},[1677],{"type":51,"value":546},{"type":45,"tag":404,"props":1679,"children":1680},{"style":439},[1681],{"type":51,"value":1602},{"type":45,"tag":404,"props":1683,"children":1684},{"style":411},[1685],{"type":51,"value":546},{"type":45,"tag":404,"props":1687,"children":1688},{"style":411},[1689],{"type":51,"value":1139},{"type":45,"tag":404,"props":1691,"children":1692},{"style":411},[1693],{"type":51,"value":1694}," {",{"type":45,"tag":404,"props":1696,"children":1697},{"style":417},[1698],{"type":51,"value":1699}," vitalKey",{"type":45,"tag":404,"props":1701,"children":1702},{"style":411},[1703],{"type":51,"value":393},{"type":45,"tag":404,"props":1705,"children":1706},{"style":411},[1707],{"type":51,"value":585},{"type":45,"tag":404,"props":1709,"children":1710},{"style":439},[1711],{"type":51,"value":1602},{"type":45,"tag":404,"props":1713,"children":1714},{"style":411},[1715],{"type":51,"value":546},{"type":45,"tag":404,"props":1717,"children":1718},{"style":411},[1719],{"type":51,"value":1720}," }",{"type":45,"tag":404,"props":1722,"children":1723},{"style":514},[1724],{"type":51,"value":559},{"type":45,"tag":404,"props":1726,"children":1727},{"class":406,"line":1179},[1728,1732,1736,1740,1744,1748,1752,1756,1760,1764,1768,1772,1776,1780,1784,1788],{"type":45,"tag":404,"props":1729,"children":1730},{"style":514},[1731],{"type":51,"value":1626},{"type":45,"tag":404,"props":1733,"children":1734},{"style":411},[1735],{"type":51,"value":248},{"type":45,"tag":404,"props":1737,"children":1738},{"style":533},[1739],{"type":51,"value":1503},{"type":45,"tag":404,"props":1741,"children":1742},{"style":514},[1743],{"type":51,"value":541},{"type":45,"tag":404,"props":1745,"children":1746},{"style":411},[1747],{"type":51,"value":546},{"type":45,"tag":404,"props":1749,"children":1750},{"style":439},[1751],{"type":51,"value":1602},{"type":45,"tag":404,"props":1753,"children":1754},{"style":411},[1755],{"type":51,"value":546},{"type":45,"tag":404,"props":1757,"children":1758},{"style":411},[1759],{"type":51,"value":1139},{"type":45,"tag":404,"props":1761,"children":1762},{"style":411},[1763],{"type":51,"value":1694},{"type":45,"tag":404,"props":1765,"children":1766},{"style":417},[1767],{"type":51,"value":1699},{"type":45,"tag":404,"props":1769,"children":1770},{"style":411},[1771],{"type":51,"value":393},{"type":45,"tag":404,"props":1773,"children":1774},{"style":411},[1775],{"type":51,"value":585},{"type":45,"tag":404,"props":1777,"children":1778},{"style":439},[1779],{"type":51,"value":1602},{"type":45,"tag":404,"props":1781,"children":1782},{"style":411},[1783],{"type":51,"value":546},{"type":45,"tag":404,"props":1785,"children":1786},{"style":411},[1787],{"type":51,"value":1720},{"type":45,"tag":404,"props":1789,"children":1790},{"style":514},[1791],{"type":51,"value":559},{"type":45,"tag":54,"props":1793,"children":1794},{},[1795,1800,1802,1808,1810,1816,1818,1824],{"type":45,"tag":70,"props":1796,"children":1797},{},[1798],{"type":51,"value":1799},"This silently breaks in CDN\u002Fplain JS projects.",{"type":51,"value":1801}," TypeScript catches it with a type error; plain JS does not. ",{"type":45,"tag":78,"props":1803,"children":1805},{"className":1804},[],[1806],{"type":51,"value":1807},"ref",{"type":51,"value":1809}," becomes ",{"type":45,"tag":78,"props":1811,"children":1813},{"className":1812},[],[1814],{"type":51,"value":1815},"undefined",{"type":51,"value":1817}," and ",{"type":45,"tag":78,"props":1819,"children":1821},{"className":1820},[],[1822],{"type":51,"value":1823},"stopDurationVital(undefined)",{"type":51,"value":1825}," is a no-op — the vital starts but never stops, so the event is never emitted.",{"type":45,"tag":54,"props":1827,"children":1828},{},[1829,1848],{"type":45,"tag":70,"props":1830,"children":1831},{},[1832,1834,1839,1841,1846],{"type":51,"value":1833},"Step 1 — find all ",{"type":45,"tag":78,"props":1835,"children":1837},{"className":1836},[],[1838],{"type":51,"value":1495},{"type":51,"value":1840},"\u002F",{"type":45,"tag":78,"props":1842,"children":1844},{"className":1843},[],[1845],{"type":51,"value":1503},{"type":51,"value":1847}," usages",{"type":51,"value":1849}," (both CDN and npm patterns, all file types):",{"type":45,"tag":279,"props":1851,"children":1854},{"className":1852,"code":1853,"language":51},[282],"grep -rn 'startDurationVital\\|stopDurationVital\\|DurationVitalReference' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" \\\n  --include=\"*.html\" --include=\"*.svelte\" --include=\"*.vue\"\n",[1855],{"type":45,"tag":78,"props":1856,"children":1857},{"__ignoreMap":287},[1858],{"type":51,"value":1853},{"type":45,"tag":54,"props":1860,"children":1861},{},[1862,1867],{"type":45,"tag":70,"props":1863,"children":1864},{},[1865],{"type":51,"value":1866},"Step 2 — find every variable that captures the return value",{"type":51,"value":1868}," (this is the failure point):",{"type":45,"tag":279,"props":1870,"children":1873},{"className":1871,"code":1872,"language":51},[282],"grep -rEn '(var|const|let)\\s+\\w+\\s*=\\s*.+startDurationVital|[\\w.]+\\s*=\\s*(window\\.)?DD_RUM\\.startDurationVital|[\\w.]+\\s*=\\s*datadogRum\\.startDurationVital' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" \\\n  --include=\"*.svelte\" --include=\"*.vue\"\n",[1874],{"type":45,"tag":78,"props":1875,"children":1876},{"__ignoreMap":287},[1877],{"type":51,"value":1872},{"type":45,"tag":54,"props":1879,"children":1880},{},[1881,1883,1888],{"type":51,"value":1882},"For every match: remove the variable assignment and update all uses of that variable in the corresponding ",{"type":45,"tag":78,"props":1884,"children":1886},{"className":1885},[],[1887],{"type":51,"value":1503},{"type":51,"value":1889}," call to pass the vital name string directly.",{"type":45,"tag":54,"props":1891,"children":1892},{},[1893,1898,1900,1906,1907,1913],{"type":45,"tag":70,"props":1894,"children":1895},{},[1896],{"type":51,"value":1897},"Step 3 — if the SDK is wrapped in a utility",{"type":51,"value":1899}," (e.g. ",{"type":45,"tag":78,"props":1901,"children":1903},{"className":1902},[],[1904],{"type":51,"value":1905},"startTiming",{"type":51,"value":1497},{"type":45,"tag":78,"props":1908,"children":1910},{"className":1909},[],[1911],{"type":51,"value":1912},"stopTiming",{"type":51,"value":1914},"):",{"type":45,"tag":1916,"props":1917,"children":1918},"ol",{},[1919,1938],{"type":45,"tag":936,"props":1920,"children":1921},{},[1922,1924,1929,1931,1936],{"type":51,"value":1923},"Update the wrapper — pass ",{"type":45,"tag":78,"props":1925,"children":1927},{"className":1926},[],[1928],{"type":51,"value":1524},{"type":51,"value":1930}," to ",{"type":45,"tag":78,"props":1932,"children":1934},{"className":1933},[],[1935],{"type":51,"value":1495},{"type":51,"value":1937},", return nothing.",{"type":45,"tag":936,"props":1939,"children":1940},{},[1941],{"type":51,"value":1942},"Find callers that capture the wrapper return value:",{"type":45,"tag":279,"props":1944,"children":1947},{"className":1945,"code":1946,"language":51},[282],"grep -rEn '(var|const|let)\\s+\\w+\\s*=\\s*.+[Ss]tart[Tt]iming|(var|const|let)\\s+\\w+\\s*=\\s*.+[Ss]tart.+[Vv]ital' \\\n  --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" \\\n  --include=\"*.html\" --include=\"*.svelte\" --include=\"*.vue\"\n",[1948],{"type":45,"tag":78,"props":1949,"children":1950},{"__ignoreMap":287},[1951],{"type":51,"value":1946},{"type":45,"tag":1916,"props":1953,"children":1954},{"start":602},[1955],{"type":45,"tag":936,"props":1956,"children":1957},{},[1958],{"type":51,"value":1959},"Remove the capture and update the stop call to pass the vital name string directly:",{"type":45,"tag":279,"props":1961,"children":1963},{"className":497,"code":1962,"language":499,"meta":287,"style":287},"\u002F\u002F Caller — before\nvar ref = startTiming('checkout_flow')\nstopTiming(ref) \u002F\u002F undefined in v7 → vital never stops\n\n\u002F\u002F Caller — after\nstartTiming('checkout_flow')\nstopTiming('checkout_flow')\n",[1964],{"type":45,"tag":78,"props":1965,"children":1966},{"__ignoreMap":287},[1967,1975,2015,2032,2039,2047,2074],{"type":45,"tag":404,"props":1968,"children":1969},{"class":406,"line":407},[1970],{"type":45,"tag":404,"props":1971,"children":1972},{"style":596},[1973],{"type":51,"value":1974},"\u002F\u002F Caller — before\n",{"type":45,"tag":404,"props":1976,"children":1977},{"class":406,"line":562},[1978,1982,1986,1990,1995,1999,2003,2007,2011],{"type":45,"tag":404,"props":1979,"children":1980},{"style":423},[1981],{"type":51,"value":1567},{"type":45,"tag":404,"props":1983,"children":1984},{"style":514},[1985],{"type":51,"value":1572},{"type":45,"tag":404,"props":1987,"children":1988},{"style":411},[1989],{"type":51,"value":431},{"type":45,"tag":404,"props":1991,"children":1992},{"style":533},[1993],{"type":51,"value":1994}," startTiming",{"type":45,"tag":404,"props":1996,"children":1997},{"style":514},[1998],{"type":51,"value":541},{"type":45,"tag":404,"props":2000,"children":2001},{"style":411},[2002],{"type":51,"value":546},{"type":45,"tag":404,"props":2004,"children":2005},{"style":439},[2006],{"type":51,"value":1602},{"type":45,"tag":404,"props":2008,"children":2009},{"style":411},[2010],{"type":51,"value":546},{"type":45,"tag":404,"props":2012,"children":2013},{"style":514},[2014],{"type":51,"value":559},{"type":45,"tag":404,"props":2016,"children":2017},{"class":406,"line":602},[2018,2022,2027],{"type":45,"tag":404,"props":2019,"children":2020},{"style":533},[2021],{"type":51,"value":1912},{"type":45,"tag":404,"props":2023,"children":2024},{"style":514},[2025],{"type":51,"value":2026},"(ref) ",{"type":45,"tag":404,"props":2028,"children":2029},{"style":596},[2030],{"type":51,"value":2031},"\u002F\u002F undefined in v7 → vital never stops\n",{"type":45,"tag":404,"props":2033,"children":2034},{"class":406,"line":1101},[2035],{"type":45,"tag":404,"props":2036,"children":2037},{"emptyLinePlaceholder":1164},[2038],{"type":51,"value":1167},{"type":45,"tag":404,"props":2040,"children":2041},{"class":406,"line":1147},[2042],{"type":45,"tag":404,"props":2043,"children":2044},{"style":596},[2045],{"type":51,"value":2046},"\u002F\u002F Caller — after\n",{"type":45,"tag":404,"props":2048,"children":2049},{"class":406,"line":1160},[2050,2054,2058,2062,2066,2070],{"type":45,"tag":404,"props":2051,"children":2052},{"style":533},[2053],{"type":51,"value":1905},{"type":45,"tag":404,"props":2055,"children":2056},{"style":514},[2057],{"type":51,"value":541},{"type":45,"tag":404,"props":2059,"children":2060},{"style":411},[2061],{"type":51,"value":546},{"type":45,"tag":404,"props":2063,"children":2064},{"style":439},[2065],{"type":51,"value":1602},{"type":45,"tag":404,"props":2067,"children":2068},{"style":411},[2069],{"type":51,"value":546},{"type":45,"tag":404,"props":2071,"children":2072},{"style":514},[2073],{"type":51,"value":559},{"type":45,"tag":404,"props":2075,"children":2076},{"class":406,"line":1170},[2077,2081,2085,2089,2093,2097],{"type":45,"tag":404,"props":2078,"children":2079},{"style":533},[2080],{"type":51,"value":1912},{"type":45,"tag":404,"props":2082,"children":2083},{"style":514},[2084],{"type":51,"value":541},{"type":45,"tag":404,"props":2086,"children":2087},{"style":411},[2088],{"type":51,"value":546},{"type":45,"tag":404,"props":2090,"children":2091},{"style":439},[2092],{"type":51,"value":1602},{"type":45,"tag":404,"props":2094,"children":2095},{"style":411},[2096],{"type":51,"value":546},{"type":45,"tag":404,"props":2098,"children":2099},{"style":514},[2100],{"type":51,"value":559},{"type":45,"tag":677,"props":2102,"children":2104},{"id":2103},"_4c-plugin-api-strategy-removed-rum",[2105,2107,2113],{"type":51,"value":2106},"4c. Plugin API: ",{"type":45,"tag":78,"props":2108,"children":2110},{"className":2109},[],[2111],{"type":51,"value":2112},"strategy",{"type":51,"value":2114}," removed (RUM)",{"type":45,"tag":54,"props":2116,"children":2117},{},[2118,2119,2124,2126,2131],{"type":51,"value":1510},{"type":45,"tag":78,"props":2120,"children":2122},{"className":2121},[],[2123],{"type":51,"value":2112},{"type":51,"value":2125}," field has been removed from the plugin API. If you use ",{"type":45,"tag":78,"props":2127,"children":2129},{"className":2128},[],[2130],{"type":51,"value":320},{"type":51,"value":2132}," or other plugin integrations, upgrade them to v7.",{"type":45,"tag":54,"props":2134,"children":2135},{},[2136,2137,2143],{"type":51,"value":253},{"type":45,"tag":78,"props":2138,"children":2140},{"className":2139},[],[2141],{"type":51,"value":2142},"grep -rn \"strategy\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\"",{"type":51,"value":2144}," (look for plugin definitions)",{"type":45,"tag":60,"props":2146,"children":2148},{"id":2147},"step-5-review-behavioral-changes-no-code-required-but-may-need-attention",[2149],{"type":51,"value":2150},"Step 5: Review behavioral changes (no code required, but may need attention)",{"type":45,"tag":54,"props":2152,"children":2153},{},[2154,2156,2161],{"type":51,"value":2155},"These are ",{"type":45,"tag":70,"props":2157,"children":2158},{},[2159],{"type":51,"value":2160},"default changes",{"type":51,"value":2162}," — no code breaks, but behavior differs from v6:",{"type":45,"tag":87,"props":2164,"children":2165},{},[2166,2187],{"type":45,"tag":91,"props":2167,"children":2168},{},[2169],{"type":45,"tag":95,"props":2170,"children":2171},{},[2172,2177,2182],{"type":45,"tag":99,"props":2173,"children":2174},{},[2175],{"type":51,"value":2176},"Change",{"type":45,"tag":99,"props":2178,"children":2179},{},[2180],{"type":51,"value":2181},"Impact",{"type":45,"tag":99,"props":2183,"children":2184},{},[2185],{"type":51,"value":2186},"Action if needed",{"type":45,"tag":110,"props":2188,"children":2189},{},[2190,2237,2360,2417,2435,2453,2499,2545,2590,2608,2634,2652],{"type":45,"tag":95,"props":2191,"children":2192},{},[2193,2219,2224],{"type":45,"tag":117,"props":2194,"children":2195},{},[2196,2202,2203,2209,2211,2217],{"type":45,"tag":78,"props":2197,"children":2199},{"className":2198},[],[2200],{"type":51,"value":2201},"defaultPrivacyLevel",{"type":51,"value":1423},{"type":45,"tag":78,"props":2204,"children":2206},{"className":2205},[],[2207],{"type":51,"value":2208},"\"mask-user-input\"",{"type":51,"value":2210}," (was ",{"type":45,"tag":78,"props":2212,"children":2214},{"className":2213},[],[2215],{"type":51,"value":2216},"\"mask\"",{"type":51,"value":2218},")",{"type":45,"tag":117,"props":2220,"children":2221},{},[2222],{"type":51,"value":2223},"Less restrictive masking out of the box. Only user input is masked.",{"type":45,"tag":117,"props":2225,"children":2226},{},[2227,2229,2235],{"type":51,"value":2228},"Set ",{"type":45,"tag":78,"props":2230,"children":2232},{"className":2231},[],[2233],{"type":51,"value":2234},"defaultPrivacyLevel: \"mask\"",{"type":51,"value":2236}," to preserve full masking.",{"type":45,"tag":95,"props":2238,"children":2239},{},[2240,2255,2336],{"type":45,"tag":117,"props":2241,"children":2242},{},[2243,2249,2250],{"type":45,"tag":78,"props":2244,"children":2246},{"className":2245},[],[2247],{"type":51,"value":2248},"enablePrivacyForActionName",{"type":51,"value":1423},{"type":45,"tag":78,"props":2251,"children":2253},{"className":2252},[],[2254],{"type":51,"value":1022},{"type":45,"tag":117,"props":2256,"children":2257},{},[2258,2260,2266,2268,2274,2276,2282,2284,2290,2292,2298,2300,2306,2308,2313,2315,2320,2322,2328,2330,2335],{"type":51,"value":2259},"Action names are derived from ",{"type":45,"tag":78,"props":2261,"children":2263},{"className":2262},[],[2264],{"type":51,"value":2265},"textContent",{"type":51,"value":2267}," (not ",{"type":45,"tag":78,"props":2269,"children":2271},{"className":2270},[],[2272],{"type":51,"value":2273},"innerText",{"type":51,"value":2275},") — CSS ",{"type":45,"tag":78,"props":2277,"children":2279},{"className":2278},[],[2280],{"type":51,"value":2281},"text-transform",{"type":51,"value":2283}," is no longer applied. A button with ",{"type":45,"tag":78,"props":2285,"children":2287},{"className":2286},[],[2288],{"type":51,"value":2289},"style=\"text-transform: capitalize\"",{"type":51,"value":2291}," and raw text ",{"type":45,"tag":78,"props":2293,"children":2295},{"className":2294},[],[2296],{"type":51,"value":2297},"\"audio\"",{"type":51,"value":2299}," yields ",{"type":45,"tag":78,"props":2301,"children":2303},{"className":2302},[],[2304],{"type":51,"value":2305},"\"Audio\"",{"type":51,"value":2307}," in v6 but ",{"type":45,"tag":78,"props":2309,"children":2311},{"className":2310},[],[2312],{"type":51,"value":2297},{"type":51,"value":2314}," in v7. Names may also be masked based on privacy level. ",{"type":45,"tag":70,"props":2316,"children":2317},{},[2318],{"type":51,"value":2319},"Note:",{"type":51,"value":2321}," setting this to ",{"type":45,"tag":78,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":51,"value":2327},"false",{"type":51,"value":2329}," does not restore CSS-aware extraction — v7 always uses ",{"type":45,"tag":78,"props":2331,"children":2333},{"className":2332},[],[2334],{"type":51,"value":2265},{"type":51,"value":248},{"type":45,"tag":117,"props":2337,"children":2338},{},[2339,2341,2347,2349,2358],{"type":51,"value":2340},"Add ",{"type":45,"tag":78,"props":2342,"children":2344},{"className":2343},[],[2345],{"type":51,"value":2346},"data-dd-action-name",{"type":51,"value":2348}," attributes to elements whose display names relied on CSS transforms, or update monitors to match raw text values. Use the ",{"type":45,"tag":2350,"props":2351,"children":2355},"a",{"href":2352,"rel":2353},"https:\u002F\u002Fgithub.com\u002FDataDog\u002Fbuild-plugins",[2354],"nofollow",[2356],{"type":51,"value":2357},"Datadog build plugin",{"type":51,"value":2359}," for annotation-based control.",{"type":45,"tag":95,"props":2361,"children":2362},{},[2363,2378,2391],{"type":45,"tag":117,"props":2364,"children":2365},{},[2366,2372,2373],{"type":45,"tag":78,"props":2367,"children":2369},{"className":2368},[],[2370],{"type":51,"value":2371},"propagateTraceBaggage",{"type":51,"value":1423},{"type":45,"tag":78,"props":2374,"children":2376},{"className":2375},[],[2377],{"type":51,"value":1022},{"type":45,"tag":117,"props":2379,"children":2380},{},[2381,2383,2389],{"type":51,"value":2382},"CORS: cross-origin APIs must allow ",{"type":45,"tag":78,"props":2384,"children":2386},{"className":2385},[],[2387],{"type":51,"value":2388},"baggage",{"type":51,"value":2390}," header.",{"type":45,"tag":117,"props":2392,"children":2393},{},[2394,2395,2401,2402,2408,2410,2416],{"type":51,"value":2340},{"type":45,"tag":78,"props":2396,"children":2398},{"className":2397},[],[2399],{"type":51,"value":2400},"\"baggage\"",{"type":51,"value":1930},{"type":45,"tag":78,"props":2403,"children":2405},{"className":2404},[],[2406],{"type":51,"value":2407},"Access-Control-Allow-Headers",{"type":51,"value":2409},", or set ",{"type":45,"tag":78,"props":2411,"children":2413},{"className":2412},[],[2414],{"type":51,"value":2415},"propagateTraceBaggage: false",{"type":51,"value":248},{"type":45,"tag":95,"props":2418,"children":2419},{},[2420,2425,2430],{"type":45,"tag":117,"props":2421,"children":2422},{},[2423],{"type":51,"value":2424},"Deterministic sampling",{"type":45,"tag":117,"props":2426,"children":2427},{},[2428],{"type":51,"value":2429},"Sampling computed from session ID + rate, not stored. Consistent across pages.",{"type":45,"tag":117,"props":2431,"children":2432},{},[2433],{"type":51,"value":2434},"Review if you use different sample rates on different pages.",{"type":45,"tag":95,"props":2436,"children":2437},{},[2438,2443,2448],{"type":45,"tag":117,"props":2439,"children":2440},{},[2441],{"type":51,"value":2442},"FID removed",{"type":45,"tag":117,"props":2444,"children":2445},{},[2446],{"type":51,"value":2447},"First Input Delay no longer collected.",{"type":45,"tag":117,"props":2449,"children":2450},{},[2451],{"type":51,"value":2452},"Use INP (Interaction to Next Paint) instead.",{"type":45,"tag":95,"props":2454,"children":2455},{},[2456,2467,2487],{"type":45,"tag":117,"props":2457,"children":2458},{},[2459,2465],{"type":45,"tag":78,"props":2460,"children":2462},{"className":2461},[],[2463],{"type":51,"value":2464},"session_renewal",{"type":51,"value":2466}," view loading type",{"type":45,"tag":117,"props":2468,"children":2469},{},[2470,2472,2478,2480,2486],{"type":51,"value":2471},"Session-renewed views have ",{"type":45,"tag":78,"props":2473,"children":2475},{"className":2474},[],[2476],{"type":51,"value":2477},"@view.loading_type:session_renewal",{"type":51,"value":2479}," instead of ",{"type":45,"tag":78,"props":2481,"children":2483},{"className":2482},[],[2484],{"type":51,"value":2485},"route_change",{"type":51,"value":248},{"type":45,"tag":117,"props":2488,"children":2489},{},[2490,2492,2498],{"type":51,"value":2491},"Update dashboards\u002Fmonitors filtering on ",{"type":45,"tag":78,"props":2493,"children":2495},{"className":2494},[],[2496],{"type":51,"value":2497},"@view.loading_type",{"type":51,"value":248},{"type":45,"tag":95,"props":2500,"children":2501},{},[2502,2515,2533],{"type":45,"tag":117,"props":2503,"children":2504},{},[2505,2507,2513],{"type":51,"value":2506},"Document resource ",{"type":45,"tag":78,"props":2508,"children":2510},{"className":2509},[],[2511],{"type":51,"value":2512},"initiatorType",{"type":51,"value":2514}," changed",{"type":45,"tag":117,"props":2516,"children":2517},{},[2518,2524,2525,2531],{"type":45,"tag":78,"props":2519,"children":2521},{"className":2520},[],[2522],{"type":51,"value":2523},"\"initial_document\"",{"type":51,"value":1809},{"type":45,"tag":78,"props":2526,"children":2528},{"className":2527},[],[2529],{"type":51,"value":2530},"\"navigation\"",{"type":51,"value":2532},". Duration may differ slightly.",{"type":45,"tag":117,"props":2534,"children":2535},{},[2536,2538,2544],{"type":51,"value":2537},"Update any code inspecting document resource ",{"type":45,"tag":78,"props":2539,"children":2541},{"className":2540},[],[2542],{"type":51,"value":2543},"performanceEntry",{"type":51,"value":248},{"type":45,"tag":95,"props":2546,"children":2547},{},[2548,2553,2579],{"type":45,"tag":117,"props":2549,"children":2550},{},[2551],{"type":51,"value":2552},"Action names may change",{"type":45,"tag":117,"props":2554,"children":2555},{},[2556,2558,2563,2565,2570,2572,2577],{"type":51,"value":2557},"Tree walker + ",{"type":45,"tag":78,"props":2559,"children":2561},{"className":2560},[],[2562],{"type":51,"value":2265},{"type":51,"value":2564}," always used in v7 (including Shadow DOM) — CSS ",{"type":45,"tag":78,"props":2566,"children":2568},{"className":2567},[],[2569],{"type":51,"value":2281},{"type":51,"value":2571}," is never reflected regardless of ",{"type":45,"tag":78,"props":2573,"children":2575},{"className":2574},[],[2576],{"type":51,"value":2248},{"type":51,"value":2578},". Monitors with case-sensitive filters on visually-transformed names may break.",{"type":45,"tag":117,"props":2580,"children":2581},{},[2582,2583,2588],{"type":51,"value":2340},{"type":45,"tag":78,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":51,"value":2346},{"type":51,"value":2589}," attributes to affected elements, or update monitors to match raw text values.",{"type":45,"tag":95,"props":2591,"children":2592},{},[2593,2598,2603],{"type":45,"tag":117,"props":2594,"children":2595},{},[2596],{"type":51,"value":2597},"Cancelled request errors removed (Logs)",{"type":45,"tag":117,"props":2599,"children":2600},{},[2601],{"type":51,"value":2602},"Aborted fetch\u002FXHR no longer generate network error logs.",{"type":45,"tag":117,"props":2604,"children":2605},{},[2606],{"type":51,"value":2607},"No action needed — reduces noise.",{"type":45,"tag":95,"props":2609,"children":2610},{},[2611,2616,2621],{"type":45,"tag":117,"props":2612,"children":2613},{},[2614],{"type":51,"value":2615},"Logs always requires session storage",{"type":45,"tag":117,"props":2617,"children":2618},{},[2619],{"type":51,"value":2620},"Without cookies or localStorage, Logs SDK won't start.",{"type":45,"tag":117,"props":2622,"children":2623},{},[2624,2626,2632],{"type":51,"value":2625},"Use ",{"type":45,"tag":78,"props":2627,"children":2629},{"className":2628},[],[2630],{"type":51,"value":2631},"sessionPersistence: 'memory'",{"type":51,"value":2633}," for worker environments.",{"type":45,"tag":95,"props":2635,"children":2636},{},[2637,2642,2647],{"type":45,"tag":117,"props":2638,"children":2639},{},[2640],{"type":51,"value":2641},"Session Replay: Change Records",{"type":45,"tag":117,"props":2643,"children":2644},{},[2645],{"type":51,"value":2646},"New serialization format. More accurate, less bandwidth.",{"type":45,"tag":117,"props":2648,"children":2649},{},[2650],{"type":51,"value":2651},"Update if you depend on raw segment format.",{"type":45,"tag":95,"props":2653,"children":2654},{},[2655,2665,2684],{"type":45,"tag":117,"props":2656,"children":2657},{},[2658,2660],{"type":51,"value":2659},"Async chunk names prefixed with ",{"type":45,"tag":78,"props":2661,"children":2663},{"className":2662},[],[2664],{"type":51,"value":18},{"type":45,"tag":117,"props":2666,"children":2667},{},[2668,2670,2676,2677,2683],{"type":51,"value":2669},"e.g., ",{"type":45,"tag":78,"props":2671,"children":2673},{"className":2672},[],[2674],{"type":51,"value":2675},"datadogRecorder-\u003Chash>-datadog-rum.js",{"type":51,"value":197},{"type":45,"tag":78,"props":2678,"children":2680},{"className":2679},[],[2681],{"type":51,"value":2682},"datadogProfiler-\u003Chash>-datadog-rum.js",{"type":51,"value":248},{"type":45,"tag":117,"props":2685,"children":2686},{},[2687,2689,2695,2697,2703],{"type":51,"value":2688},"Update CSP ",{"type":45,"tag":78,"props":2690,"children":2692},{"className":2691},[],[2693],{"type":51,"value":2694},"script-src",{"type":51,"value":2696}," rules or caching configs (allow ",{"type":45,"tag":78,"props":2698,"children":2700},{"className":2699},[],[2701],{"type":51,"value":2702},"datadog*-datadog-rum.js",{"type":51,"value":2704},").",{"type":45,"tag":60,"props":2706,"children":2708},{"id":2707},"step-6-update-infrastructure",[2709],{"type":51,"value":2710},"Step 6: Update infrastructure",{"type":45,"tag":932,"props":2712,"children":2713},{},[2714,2775,2801,2854],{"type":45,"tag":936,"props":2715,"children":2716},{},[2717,2722,2724],{"type":45,"tag":70,"props":2718,"children":2719},{},[2720],{"type":51,"value":2721},"CSP",{"type":51,"value":2723},":\n",{"type":45,"tag":932,"props":2725,"children":2726},{},[2727,2738,2763],{"type":45,"tag":936,"props":2728,"children":2729},{},[2730,2731,2736],{"type":51,"value":2340},{"type":45,"tag":78,"props":2732,"children":2734},{"className":2733},[],[2735],{"type":51,"value":654},{"type":51,"value":2737}," to script-src.",{"type":45,"tag":936,"props":2739,"children":2740},{},[2741,2743,2748,2749,2755,2756,2762],{"type":51,"value":2742},"Update chunk names like ",{"type":45,"tag":78,"props":2744,"children":2746},{"className":2745},[],[2747],{"type":51,"value":2702},{"type":51,"value":1899},{"type":45,"tag":78,"props":2750,"children":2752},{"className":2751},[],[2753],{"type":51,"value":2754},"datadogRecorder",{"type":51,"value":197},{"type":45,"tag":78,"props":2757,"children":2759},{"className":2758},[],[2760],{"type":51,"value":2761},"datadogProfiler",{"type":51,"value":2704},{"type":45,"tag":936,"props":2764,"children":2765},{},[2766,2768,2773],{"type":51,"value":2767},"If you removed ",{"type":45,"tag":78,"props":2769,"children":2771},{"className":2770},[],[2772],{"type":51,"value":859},{"type":51,"value":2774},", update CSP for standard intake domain.",{"type":45,"tag":936,"props":2776,"children":2777},{},[2778,2783,2785,2791,2793,2799],{"type":45,"tag":70,"props":2779,"children":2780},{},[2781],{"type":51,"value":2782},"Cookies",{"type":51,"value":2784},": Add ",{"type":45,"tag":78,"props":2786,"children":2788},{"className":2787},[],[2789],{"type":51,"value":2790},"_dd_s_v2",{"type":51,"value":2792}," to cookie allowlists. The SDK auto-migrates from ",{"type":45,"tag":78,"props":2794,"children":2796},{"className":2795},[],[2797],{"type":51,"value":2798},"_dd_s",{"type":51,"value":2800}," on first load. Rollback to v6 starts new sessions.",{"type":45,"tag":936,"props":2802,"children":2803},{},[2804,2809,2811,2817,2819,2825,2827,2832,2833,2838,2840,2845,2847,2852],{"type":45,"tag":70,"props":2805,"children":2806},{},[2807],{"type":51,"value":2808},"CORS",{"type":51,"value":2810},": Search for tracing config: ",{"type":45,"tag":78,"props":2812,"children":2814},{"className":2813},[],[2815],{"type":51,"value":2816},"grep -rn \"allowedTracingUrls\\|propagateTraceBaggage\" --include=\"*.js\" --include=\"*.ts\" --include=\"*.tsx\" --include=\"*.jsx\" --include=\"*.html\" --include=\"*.vue\" --include=\"*.svelte\"",{"type":51,"value":2818},". For any project with ",{"type":45,"tag":78,"props":2820,"children":2822},{"className":2821},[],[2823],{"type":51,"value":2824},"allowedTracingUrls",{"type":51,"value":2826}," and no explicit ",{"type":45,"tag":78,"props":2828,"children":2830},{"className":2829},[],[2831],{"type":51,"value":2415},{"type":51,"value":1476},{"type":45,"tag":78,"props":2834,"children":2836},{"className":2835},[],[2837],{"type":51,"value":2400},{"type":51,"value":2839}," to your existing ",{"type":45,"tag":78,"props":2841,"children":2843},{"className":2842},[],[2844],{"type":51,"value":2407},{"type":51,"value":2846}," on traced origins — or set ",{"type":45,"tag":78,"props":2848,"children":2850},{"className":2849},[],[2851],{"type":51,"value":2415},{"type":51,"value":2853}," to opt out.",{"type":45,"tag":936,"props":2855,"children":2856},{},[2857,2862],{"type":45,"tag":70,"props":2858,"children":2859},{},[2860],{"type":51,"value":2861},"Browser support",{"type":51,"value":2863},": Minimum Chrome 80+, Firefox 78+, Safari 14+ (ES2020). ~0.048% less coverage.",{"type":45,"tag":60,"props":2865,"children":2867},{"id":2866},"common-mistakes",[2868],{"type":51,"value":2869},"Common Mistakes",{"type":45,"tag":87,"props":2871,"children":2872},{},[2873,2894],{"type":45,"tag":91,"props":2874,"children":2875},{},[2876],{"type":45,"tag":95,"props":2877,"children":2878},{},[2879,2884,2889],{"type":45,"tag":99,"props":2880,"children":2881},{},[2882],{"type":51,"value":2883},"Mistake",{"type":45,"tag":99,"props":2885,"children":2886},{},[2887],{"type":51,"value":2888},"What goes wrong",{"type":45,"tag":99,"props":2890,"children":2891},{},[2892],{"type":51,"value":2893},"Fix",{"type":45,"tag":110,"props":2895,"children":2896},{},[2897,2940,2979,3037],{"type":45,"tag":95,"props":2898,"children":2899},{},[2900,2916,2921],{"type":45,"tag":117,"props":2901,"children":2902},{},[2903,2905,2910,2911],{"type":51,"value":2904},"Replacing ",{"type":45,"tag":78,"props":2906,"children":2908},{"className":2907},[],[2909],{"type":51,"value":920},{"type":51,"value":1393},{"type":45,"tag":78,"props":2912,"children":2914},{"className":2913},[],[2915],{"type":51,"value":1007},{"type":45,"tag":117,"props":2917,"children":2918},{},[2919],{"type":51,"value":2920},"Unhandled errors (uncaught exceptions, unhandled rejections) stop being forwarded to Logs",{"type":45,"tag":117,"props":2922,"children":2923},{},[2924,2926,2931,2933,2938],{"type":51,"value":2925},"Keep ",{"type":45,"tag":78,"props":2927,"children":2929},{"className":2928},[],[2930],{"type":51,"value":920},{"type":51,"value":2932}," unchanged and add ",{"type":45,"tag":78,"props":2934,"children":2936},{"className":2935},[],[2937],{"type":51,"value":1007},{"type":51,"value":2939}," alongside it — they control different things",{"type":45,"tag":95,"props":2941,"children":2942},{},[2943,2955,2974],{"type":45,"tag":117,"props":2944,"children":2945},{},[2946,2948,2953],{"type":51,"value":2947},"Updating ",{"type":45,"tag":78,"props":2949,"children":2951},{"className":2950},[],[2952],{"type":51,"value":1495},{"type":51,"value":2954}," wrapper but not its callers",{"type":45,"tag":117,"props":2956,"children":2957},{},[2958,2960,2965,2967,2972],{"type":51,"value":2959},"Callers pass the old ref variable (now ",{"type":45,"tag":78,"props":2961,"children":2963},{"className":2962},[],[2964],{"type":51,"value":1815},{"type":51,"value":2966},") to ",{"type":45,"tag":78,"props":2968,"children":2970},{"className":2969},[],[2971],{"type":51,"value":1503},{"type":51,"value":2973}," — vital never stops, event never emitted",{"type":45,"tag":117,"props":2975,"children":2976},{},[2977],{"type":51,"value":2978},"After updating the wrapper, search for every caller that captures the return value and update the stop call to pass the vital name string directly",{"type":45,"tag":95,"props":2980,"children":2981},{},[2982,2999,3019],{"type":45,"tag":117,"props":2983,"children":2984},{},[2985,2987,2992,2994],{"type":51,"value":2986},"Missing ",{"type":45,"tag":78,"props":2988,"children":2990},{"className":2989},[],[2991],{"type":51,"value":1524},{"type":51,"value":2993}," option on ",{"type":45,"tag":78,"props":2995,"children":2997},{"className":2996},[],[2998],{"type":51,"value":1503},{"type":45,"tag":117,"props":3000,"children":3001},{},[3002,3004,3009,3011,3017],{"type":51,"value":3003},"v7 ",{"type":45,"tag":78,"props":3005,"children":3007},{"className":3006},[],[3008],{"type":51,"value":1503},{"type":51,"value":3010}," requires ",{"type":45,"tag":78,"props":3012,"children":3014},{"className":3013},[],[3015],{"type":51,"value":3016},"{ vitalKey: string }",{"type":51,"value":3018}," to identify which vital to stop",{"type":45,"tag":117,"props":3020,"children":3021},{},[3022,3024,3029,3031],{"type":51,"value":3023},"Pass the same string used in ",{"type":45,"tag":78,"props":3025,"children":3027},{"className":3026},[],[3028],{"type":51,"value":1495},{"type":51,"value":3030},": ",{"type":45,"tag":78,"props":3032,"children":3034},{"className":3033},[],[3035],{"type":51,"value":3036},"stopDurationVital('name', { vitalKey: 'name' })",{"type":45,"tag":95,"props":3038,"children":3039},{},[3040,3045,3050],{"type":45,"tag":117,"props":3041,"children":3042},{},[3043],{"type":51,"value":3044},"Not checking CDN\u002Fplain JS files for ref-based vitals",{"type":45,"tag":117,"props":3046,"children":3047},{},[3048],{"type":51,"value":3049},"TypeScript projects surface this as a type error; plain JS silently breaks",{"type":45,"tag":117,"props":3051,"children":3052},{},[3053],{"type":51,"value":3054},"Run the Step 2 grep explicitly — don't rely on type errors to find all sites",{"type":45,"tag":60,"props":3056,"children":3058},{"id":3057},"verification-checklist",[3059],{"type":51,"value":3060},"Verification checklist",{"type":45,"tag":54,"props":3062,"children":3063},{},[3064],{"type":51,"value":3065},"After upgrading, confirm:",{"type":45,"tag":932,"props":3067,"children":3070},{"className":3068},[3069],"contains-task-list",[3071,3083,3098,3107,3116,3125,3147,3156],{"type":45,"tag":936,"props":3072,"children":3075},{"className":3073},[3074],"task-list-item",[3076,3081],{"type":45,"tag":3077,"props":3078,"children":3080},"input",{"disabled":1164,"type":3079},"checkbox",[],{"type":51,"value":3082}," SDK loads without console errors",{"type":45,"tag":936,"props":3084,"children":3086},{"className":3085},[3074],[3087,3090,3091,3096],{"type":45,"tag":3077,"props":3088,"children":3089},{"disabled":1164,"type":3079},[],{"type":51,"value":378},{"type":45,"tag":78,"props":3092,"children":3094},{"className":3093},[],[3095],{"type":51,"value":364},{"type":51,"value":3097}," on all CDN script tags",{"type":45,"tag":936,"props":3099,"children":3101},{"className":3100},[3074],[3102,3105],{"type":45,"tag":3077,"props":3103,"children":3104},{"disabled":1164,"type":3079},[],{"type":51,"value":3106}," No references to removed options in init config",{"type":45,"tag":936,"props":3108,"children":3110},{"className":3109},[3074],[3111,3114],{"type":45,"tag":3077,"props":3112,"children":3113},{"disabled":1164,"type":3079},[],{"type":51,"value":3115}," Session Replay recordings working (if used)",{"type":45,"tag":936,"props":3117,"children":3119},{"className":3118},[3074],[3120,3123],{"type":45,"tag":3077,"props":3121,"children":3122},{"disabled":1164,"type":3079},[],{"type":51,"value":3124}," Distributed tracing working (no CORS errors from baggage header)",{"type":45,"tag":936,"props":3126,"children":3128},{"className":3127},[3074],[3129,3132,3134,3139,3141,3146],{"type":45,"tag":3077,"props":3130,"children":3131},{"disabled":1164,"type":3079},[],{"type":51,"value":3133}," No ",{"type":45,"tag":78,"props":3135,"children":3137},{"className":3136},[],[3138],{"type":51,"value":2798},{"type":51,"value":3140}," cookie remaining after first page load (should be ",{"type":45,"tag":78,"props":3142,"children":3144},{"className":3143},[],[3145],{"type":51,"value":2790},{"type":51,"value":2218},{"type":45,"tag":936,"props":3148,"children":3150},{"className":3149},[3074],[3151,3154],{"type":45,"tag":3077,"props":3152,"children":3153},{"disabled":1164,"type":3079},[],{"type":51,"value":3155}," Action names acceptable under new privacy defaults",{"type":45,"tag":936,"props":3157,"children":3159},{"className":3158},[3074],[3160,3163,3165,3170],{"type":45,"tag":3077,"props":3161,"children":3162},{"disabled":1164,"type":3079},[],{"type":51,"value":3164}," No variables capturing the return value of ",{"type":45,"tag":78,"props":3166,"children":3168},{"className":3167},[],[3169],{"type":51,"value":1495},{"type":51,"value":3171}," (or wrappers around it) — all stop calls use the vital name string directly",{"type":45,"tag":3173,"props":3174,"children":3175},"style",{},[3176],{"type":51,"value":3177},"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":3179,"total":3284},[3180,3195,3213,3224,3240,3254,3270],{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3184,"tags":3185,"stars":25,"repoUrl":26,"updatedAt":3194},"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},[3186,3187,3190,3193],{"name":17,"slug":18,"type":15},{"name":3188,"slug":3189,"type":15},"Deployment","deployment",{"name":3191,"slug":3192,"type":15},"Kubernetes","kubernetes",{"name":13,"slug":14,"type":15},"2026-04-15T04:57:27.489805",{"slug":3196,"name":3196,"fn":3197,"description":3198,"org":3199,"tags":3200,"stars":25,"repoUrl":26,"updatedAt":3212},"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},[3201,3202,3205,3208,3211],{"name":17,"slug":18,"type":15},{"name":3203,"slug":3204,"type":15},"Debugging","debugging",{"name":3206,"slug":3207,"type":15},"Evals","evals",{"name":3209,"slug":3210,"type":15},"LLM","llm",{"name":13,"slug":14,"type":15},"2026-07-31T05:52:13.711906",{"slug":3214,"name":3214,"fn":3215,"description":3216,"org":3217,"tags":3218,"stars":25,"repoUrl":26,"updatedAt":3223},"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},[3219,3220,3221,3222],{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:19.259734",{"slug":3225,"name":3225,"fn":3226,"description":3227,"org":3228,"tags":3229,"stars":25,"repoUrl":26,"updatedAt":3239},"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},[3230,3233,3236,3237,3238],{"name":3231,"slug":3232,"type":15},"Agents","agents",{"name":3234,"slug":3235,"type":15},"Data Pipeline","data-pipeline",{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:17.231423",{"slug":3241,"name":3241,"fn":3242,"description":3243,"org":3244,"tags":3245,"stars":25,"repoUrl":26,"updatedAt":3253},"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},[3246,3249,3250,3251,3252],{"name":3247,"slug":3248,"type":15},"Analytics","analytics",{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:21.212498",{"slug":3255,"name":3255,"fn":3256,"description":3257,"org":3258,"tags":3259,"stars":25,"repoUrl":26,"updatedAt":3269},"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},[3260,3261,3264,3265,3266],{"name":17,"slug":18,"type":15},{"name":3262,"slug":3263,"type":15},"Jupyter","jupyter",{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"name":3267,"slug":3268,"type":15},"Python","python","2026-06-19T09:04:22.640384",{"slug":3271,"name":3271,"fn":3272,"description":3273,"org":3274,"tags":3275,"stars":25,"repoUrl":26,"updatedAt":3283},"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},[3276,3277,3278,3279,3280],{"name":17,"slug":18,"type":15},{"name":3203,"slug":3204,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"name":3281,"slug":3282,"type":15},"Tracing","tracing","2026-07-31T05:52:08.594182",34,{"items":3286,"total":3410},[3287,3294,3302,3309,3317,3325,3333,3341,3353,3365,3377,3395],{"slug":3181,"name":3181,"fn":3182,"description":3183,"org":3288,"tags":3289,"stars":25,"repoUrl":26,"updatedAt":3194},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3290,3291,3292,3293],{"name":17,"slug":18,"type":15},{"name":3188,"slug":3189,"type":15},{"name":3191,"slug":3192,"type":15},{"name":13,"slug":14,"type":15},{"slug":3196,"name":3196,"fn":3197,"description":3198,"org":3295,"tags":3296,"stars":25,"repoUrl":26,"updatedAt":3212},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3297,3298,3299,3300,3301],{"name":17,"slug":18,"type":15},{"name":3203,"slug":3204,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"slug":3214,"name":3214,"fn":3215,"description":3216,"org":3303,"tags":3304,"stars":25,"repoUrl":26,"updatedAt":3223},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3305,3306,3307,3308],{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"slug":3225,"name":3225,"fn":3226,"description":3227,"org":3310,"tags":3311,"stars":25,"repoUrl":26,"updatedAt":3239},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3312,3313,3314,3315,3316],{"name":3231,"slug":3232,"type":15},{"name":3234,"slug":3235,"type":15},{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":13,"slug":14,"type":15},{"slug":3241,"name":3241,"fn":3242,"description":3243,"org":3318,"tags":3319,"stars":25,"repoUrl":26,"updatedAt":3253},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3320,3321,3322,3323,3324],{"name":3247,"slug":3248,"type":15},{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"slug":3255,"name":3255,"fn":3256,"description":3257,"org":3326,"tags":3327,"stars":25,"repoUrl":26,"updatedAt":3269},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3328,3329,3330,3331,3332],{"name":17,"slug":18,"type":15},{"name":3262,"slug":3263,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"name":3267,"slug":3268,"type":15},{"slug":3271,"name":3271,"fn":3272,"description":3273,"org":3334,"tags":3335,"stars":25,"repoUrl":26,"updatedAt":3283},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[3336,3337,3338,3339,3340],{"name":17,"slug":18,"type":15},{"name":3203,"slug":3204,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},{"name":3281,"slug":3282,"type":15},{"slug":3342,"name":3342,"fn":3343,"description":3344,"org":3345,"tags":3346,"stars":25,"repoUrl":26,"updatedAt":3352},"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},[3347,3348,3349,3350,3351],{"name":3247,"slug":3248,"type":15},{"name":17,"slug":18,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:26.341497",{"slug":3354,"name":3354,"fn":3355,"description":3356,"org":3357,"tags":3358,"stars":25,"repoUrl":26,"updatedAt":3364},"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},[3359,3360,3361,3362,3363],{"name":17,"slug":18,"type":15},{"name":3203,"slug":3204,"type":15},{"name":3206,"slug":3207,"type":15},{"name":3209,"slug":3210,"type":15},{"name":13,"slug":14,"type":15},"2026-06-19T09:04:24.316244",{"slug":3366,"name":3366,"fn":3367,"description":3368,"org":3369,"tags":3370,"stars":25,"repoUrl":26,"updatedAt":3376},"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},[3371,3372,3375],{"name":17,"slug":18,"type":15},{"name":3373,"slug":3374,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},"2026-04-06T18:08:33.337476",{"slug":3378,"name":3378,"fn":3379,"description":3380,"org":3381,"tags":3382,"stars":25,"repoUrl":26,"updatedAt":3394},"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},[3383,3384,3385,3388,3391],{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":3386,"slug":3387,"type":15},"React","react",{"name":3389,"slug":3390,"type":15},"TypeScript","typescript",{"name":3392,"slug":3393,"type":15},"Vite","vite","2026-06-18T08:01:32.562331",{"slug":3396,"name":3396,"fn":3397,"description":3398,"org":3399,"tags":3400,"stars":25,"repoUrl":26,"updatedAt":3409},"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},[3401,3402,3405,3406],{"name":17,"slug":18,"type":15},{"name":3403,"slug":3404,"type":15},"Distributed Tracing","distributed-tracing",{"name":13,"slug":14,"type":15},{"name":3407,"slug":3408,"type":15},"Performance","performance","2026-04-06T18:08:34.575282",35]