[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sentry-sentry-cloudflare-sdk":3,"mdc--5e4an2-key":39,"related-org-sentry-sentry-cloudflare-sdk":7742,"related-repo-sentry-sentry-cloudflare-sdk":7922},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":34,"sourceUrl":37,"mdContent":38},"sentry-cloudflare-sdk","setup Sentry monitoring for Cloudflare","Full Sentry SDK setup for Cloudflare Workers and Pages. Use when asked to \"add Sentry to Cloudflare Workers\", \"install @sentry\u002Fcloudflare\", or configure error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers, Pages, Durable Objects, Queues, Workflows, or Hono on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"sentry","Sentry","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsentry.png","getsentry",[13,17,20,23,24],{"name":14,"slug":15,"type":16},"Observability","observability","tag",{"name":18,"slug":19,"type":16},"Monitoring","monitoring",{"name":21,"slug":22,"type":16},"Cloudflare","cloudflare",{"name":9,"slug":8,"type":16},{"name":25,"slug":26,"type":16},"Edge Functions","edge-functions",237,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-for-ai","2026-07-11T05:53:25.361175","Apache-2.0",30,[33],"tag-production",{"repoUrl":28,"stars":27,"forks":31,"topics":35,"description":36},[33],"Teach your AI coding assistant how to use Sentry - setup, debugging, alerts, and more","https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fsentry-for-ai\u002Ftree\u002FHEAD\u002Fskills-legacy\u002Fsentry-cloudflare-sdk","---\nname: sentry-cloudflare-sdk\ndescription: Full Sentry SDK setup for Cloudflare Workers and Pages. Use when asked to \"add Sentry to Cloudflare Workers\", \"install @sentry\u002Fcloudflare\", or configure error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers, Pages, Durable Objects, Queues, Workflows, or Hono on Cloudflare.\nlicense: Apache-2.0\ncategory: sdk-setup\nparent: sentry-sdk-setup\ndisable-model-invocation: true\n---\n\n> [All Skills](..\u002F..\u002FSKILL_TREE.md) > [SDK Setup](..\u002Fsentry-sdk-setup\u002FSKILL.md) > Cloudflare SDK\n\n# Sentry Cloudflare SDK\n\nOpinionated wizard that scans your Cloudflare project and guides you through complete Sentry setup for Workers, Pages, Durable Objects, Queues, Workflows, and Hono.\n\n## Invoke This Skill When\n\n- User asks to \"add Sentry to Cloudflare Workers\" or \"set up Sentry\" in a Cloudflare project\n- User wants to install or configure `@sentry\u002Fcloudflare`\n- User wants error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers or Pages\n- User asks about `withSentry`, `sentryPagesPlugin`, `instrumentDurableObjectWithSentry`, or `instrumentD1WithSentry`\n- User wants to monitor Durable Objects, Queues, Workflows, Scheduled handlers, or Email handlers on Cloudflare\n\n> **Note:** SDK versions and APIs below reflect current Sentry docs at time of writing (`@sentry\u002Fcloudflare` v10.61.0).\n> Always verify against [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002F) before implementing.\n\n---\n\n## Phase 1: Detect\n\nRun these commands to understand the project before making any recommendations:\n\n```bash\n# Detect Cloudflare project\nls wrangler.toml wrangler.jsonc wrangler.json 2>\u002Fdev\u002Fnull\n\n# Detect existing Sentry\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"@sentry\u002F'\n\n# Detect project type (Workers vs Pages)\nls functions\u002F functions\u002F_middleware.js functions\u002F_middleware.ts 2>\u002Fdev\u002Fnull && echo \"Pages detected\"\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -E 'main|pages_build_output_dir'\n\n# Detect framework\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"hono\"|\"remix\"|\"astro\"|\"svelte\"'\n\n# Detect Durable Objects\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'durable_objects'\n\n# Detect D1 databases\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'd1_databases'\n\n# Detect Queues\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'queues'\n\n# Detect Workflows\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'workflows'\n\n# Detect Scheduled handlers (cron triggers)\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'crons\\|triggers'\n\n# Detect compatibility flags\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'compatibility_flags'\ncat wrangler.jsonc 2>\u002Fdev\u002Fnull | grep -i 'compatibility_flags'\n\n# Detect AI\u002FLLM libraries\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"openai\"|\"@anthropic-ai\"|\"ai\"|\"@google\u002Fgenerative-ai\"|\"@langchain\"'\n\n# Detect logging libraries\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"pino\"|\"winston\"'\n\n# Check for companion frontend\nls frontend\u002F web\u002F client\u002F 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"|\"vue\"|\"svelte\"|\"next\"'\n```\n\n**What to determine:**\n\n| Question | Impact |\n|----------|--------|\n| Workers or Pages? | Determines wrapper: `withSentry` vs `sentryPagesPlugin` |\n| Hono framework? | Recommend standalone `@sentry\u002Fhono` package (v10.55.0+) for cleaner integration |\n| `@sentry\u002Fcloudflare` already installed? | Skip install, go to feature config |\n| Durable Objects configured? | Recommend `instrumentDurableObjectWithSentry` |\n| D1 databases bound? | `withSentry` auto-instruments D1 bindings (v10.57.0+); no manual wrapping needed |\n| Queues configured? | `withSentry` auto-instruments queue handlers |\n| Workflows configured? | Recommend `instrumentWorkflowWithSentry` |\n| Cron triggers configured? | `withSentry` auto-instruments scheduled handlers; recommend Crons monitoring |\n| `nodejs_als` or `nodejs_compat` flag set? | **Required** — SDK needs `AsyncLocalStorage` |\n| AI\u002FLLM libraries? | Recommend AI Monitoring integrations |\n| Companion frontend? | Trigger Phase 4 cross-link |\n\n---\n\n## Phase 2: Recommend\n\nPresent a concrete recommendation based on what you found. Don't ask open-ended questions — lead with a proposal:\n\n**Recommended (core coverage):**\n- ✅ **Error Monitoring** — always; captures unhandled exceptions in fetch, scheduled, queue, email, and Durable Object handlers\n- ✅ **Tracing** — automatic HTTP request spans, outbound fetch tracing, D1 query spans\n\n**Optional (enhanced observability):**\n- ⚡ **Logging** — structured logs via `Sentry.logger.*`; recommend when log search is needed\n- ⚡ **Crons** — detect missed\u002Ffailed scheduled jobs; recommend when cron triggers are configured\n- ⚡ **D1 Instrumentation** — automatic query spans and breadcrumbs; recommend when D1 is bound\n- ⚡ **Durable Objects** — automatic error capture and spans for DO methods; recommend when DOs are configured\n- ⚡ **Workflows** — automatic span creation for workflow steps; recommend when Workflows are configured\n- ⚡ **AI Monitoring** — Vercel AI SDK, OpenAI, Anthropic, LangChain; recommend when AI libraries detected\n\n**Recommendation logic:**\n\n| Feature | Recommend when... |\n|---------|------------------|\n| Error Monitoring | **Always** — non-negotiable baseline |\n| Tracing | **Always** — HTTP request tracing and outbound fetch are high-value |\n| Logging | App needs structured log search or log-to-trace correlation |\n| Crons | Cron triggers configured in `wrangler.toml` |\n| D1 Instrumentation | D1 database bindings present |\n| Durable Objects | Durable Object bindings configured |\n| Workflows | Workflow bindings configured |\n| AI Monitoring | App uses Vercel AI SDK, OpenAI, Anthropic, or LangChain |\n| Metrics | App needs custom counters, gauges, or distributions |\n\nPropose: *\"I recommend setting up Error Monitoring + Tracing. Want me to also add D1 instrumentation and Crons monitoring?\"*\n\n---\n\n## Phase 3: Guide\n\n### Option 1: Source Maps Wizard\n\n> **You need to run this yourself** — the wizard opens a browser for login and requires interactive input that the agent can't handle. Copy-paste into your terminal:\n>\n> ```\n> npx @sentry\u002Fwizard@latest -i sourcemaps\n> ```\n>\n> This sets up source map uploading so your production stack traces show readable code. It does **not** set up the SDK initialization — you still need to follow Option 2 below for the actual SDK setup.\n>\n> **Once it finishes, continue with Option 2 for SDK setup.**\n\n> **Note:** Unlike framework SDKs (Next.js, SvelteKit), there is no Cloudflare-specific wizard integration. The `sourcemaps` wizard only handles source map upload configuration.\n\n---\n\n### Option 2: Manual Setup\n\n#### Prerequisites: Compatibility Flags\n\nThe SDK requires `AsyncLocalStorage`. Add **one** of these flags to your Wrangler config:\n\n**wrangler.toml:**\n```toml\ncompatibility_flags = [\"nodejs_als\"]\n# or: compatibility_flags = [\"nodejs_compat\"]\n```\n\n**wrangler.jsonc:**\n```jsonc\n{\n  \"compatibility_flags\": [\"nodejs_als\"]\n}\n```\n\n> `nodejs_als` is lighter — it only enables `AsyncLocalStorage`. Use `nodejs_compat` if your code also needs other Node.js APIs.\n\n#### Install\n\n```bash\nnpm install @sentry\u002Fcloudflare\n```\n\n#### Workers Setup\n\nWrap your handler with `withSentry`. This automatically instruments `fetch`, `scheduled`, `queue`, `email`, and `tail` handlers:\n\n```typescript\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n    enableLogs: true,\n    dataCollection: {\n      \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n      \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n      \u002F\u002F userInfo: false,\n      \u002F\u002F httpBodies: [],\n    },\n  }),\n  {\n    async fetch(request, env, ctx) {\n      return new Response(\"Hello World!\");\n    },\n  } satisfies ExportedHandler\u003CEnv>,\n);\n```\n\n**Key points:**\n- The first argument is a callback that receives `env` — use this to read secrets like `SENTRY_DSN`\n- The SDK reads DSN, environment, release, debug, tunnel, and traces sample rate from `env` automatically (see [Environment Variables](#environment-variables))\n- `withSentry` wraps all exported handlers — you do not need separate wrappers for `scheduled`, `queue`, etc.\n\n#### Pages Setup\n\nUse `sentryPagesPlugin` as middleware:\n\n```typescript\n\u002F\u002F functions\u002F_middleware.ts\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const onRequest = Sentry.sentryPagesPlugin((context) => ({\n  dsn: context.env.SENTRY_DSN,\n  tracesSampleRate: 1.0,\n  enableLogs: true,\n  dataCollection: {\n    \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n    \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n    \u002F\u002F userInfo: false,\n    \u002F\u002F httpBodies: [],\n  },\n}));\n```\n\n**Chaining multiple middlewares:**\n\n```typescript\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const onRequest = [\n  \u002F\u002F Sentry must be first\n  Sentry.sentryPagesPlugin((context) => ({\n    dsn: context.env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  })),\n  \u002F\u002F Add more middlewares here\n];\n```\n\n**Using `wrapRequestHandler` directly** (for frameworks like SvelteKit on Cloudflare Pages):\n\n```typescript\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const handle = ({ event, resolve }) => {\n  return Sentry.wrapRequestHandler(\n    {\n      options: {\n        dsn: event.platform.env.SENTRY_DSN,\n        tracesSampleRate: 1.0,\n      },\n      request: event.request,\n      context: event.platform.ctx,\n    },\n    () => resolve(event),\n  );\n};\n```\n\n#### Hono on Cloudflare Workers\n\n**Recommended (v10.55.0+):** Use the standalone `@sentry\u002Fhono` package for Hono apps:\n\n```bash\nnpm install @sentry\u002Fhono @sentry\u002Fcloudflare\n```\n\nThe `@sentry\u002Fcloudflare` package is a peer dependency and must stay in sync with `@sentry\u002Fhono`.\n\n```typescript\nimport { Hono } from \"hono\";\nimport { sentry } from \"@sentry\u002Fhono\u002Fcloudflare\";\n\ntype Bindings = { SENTRY_DSN: string };\n\nconst app = new Hono\u003C{ Bindings: Bindings }>();\n\n\u002F\u002F Initialize Sentry middleware as early as possible\napp.use(\n  sentry(app, (env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  })),\n);\n\napp.get(\"\u002F\", (ctx) => ctx.json({ message: \"Hello\" }));\n\napp.get(\"\u002Ferror\", () => {\n  throw new Error(\"Test error\");\n});\n\nexport default app;\n```\n\nThe `sentry()` middleware automatically captures errors and creates transaction spans with route patterns.\n\n**Legacy approach (deprecated):** Using `@sentry\u002Fcloudflare` with `withSentry` still works, but `honoIntegration` is deprecated:\n\n```typescript\nimport { Hono } from \"hono\";\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nconst app = new Hono();\n\napp.get(\"\u002F\", (ctx) => ctx.json({ message: \"Hello\" }));\n\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  }),\n  app,\n);\n```\n\n#### Set Up the SENTRY_DSN Secret\n\nStore your DSN as a Cloudflare secret — do not hardcode it:\n\n```bash\n# Local development: add to .dev.vars\necho 'SENTRY_DSN=\"https:\u002F\u002FexamplePublicKey@o0.ingest.sentry.io\u002F0\"' >> .dev.vars\n\n# Production: set as a secret\nnpx wrangler secret put SENTRY_DSN\n```\n\nAdd the binding to your `Env` type:\n\n```typescript\ninterface Env {\n  SENTRY_DSN: string;\n  \u002F\u002F ... other bindings\n}\n```\n\n#### Source Maps Setup\n\nSource maps make production stack traces readable. Most Cloudflare projects build with Vite via Wrangler — wire the Sentry Vite plugin so maps upload on build:\n\n```bash\nnpm install @sentry\u002Fvite-plugin --save-dev\n```\n\n```typescript\nimport { defineConfig } from \"vite\";\nimport { sentryVitePlugin } from \"@sentry\u002Fvite-plugin\";\n\nexport default defineConfig({\n  build: {\n    sourcemap: true,\n  },\n  plugins: [\n    sentryVitePlugin({\n      org: \"___ORG_SLUG___\",\n      project: \"___PROJECT_SLUG___\",\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n```\n\n`SENTRY_AUTH_TOKEN` is a build-time secret. For creating the token and wiring it into CI, see [`sentry-source-maps`](..\u002Fsentry-source-maps\u002FSKILL.md). The `npx @sentry\u002Fwizard@latest -i sourcemaps` shortcut noted above automates this setup.\n\n---\n\n### Automatic Release Detection\n\nThe SDK can automatically detect the release version via Cloudflare's version metadata binding:\n\n**wrangler.toml:**\n```toml\n[version_metadata]\nbinding = \"CF_VERSION_METADATA\"\n```\n\nRelease priority (highest to lowest):\n1. `release` option passed to `Sentry.init()`\n2. `SENTRY_RELEASE` environment variable\n3. `CF_VERSION_METADATA.id` binding\n\n---\n\n### For Each Agreed Feature\n\nLoad the corresponding reference file and follow its steps:\n\n| Feature | Reference file | Load when... |\n|---------|---------------|-------------|\n| Error Monitoring | `references\u002Ferror-monitoring.md` | Always (baseline) — unhandled exceptions, manual capture, scopes, enrichment |\n| Tracing | `references\u002Ftracing.md` | HTTP request tracing, outbound fetch spans, D1 query spans, distributed tracing |\n| Logging | `references\u002Flogging.md` | Structured logs via `Sentry.logger.*`, log-to-trace correlation |\n| Crons | `references\u002Fcrons.md` | Scheduled handler monitoring, `withMonitor`, check-in API |\n| Durable Objects | `references\u002Fdurable-objects.md` | Instrument Durable Object classes for error capture and spans |\n\nFor each feature: read the reference file, follow its steps exactly, and verify before moving on.\n\n---\n\n## Configuration Reference\n\n### `Sentry.init()` Options\n\n| Option | Type | Default | Notes |\n|--------|------|---------|-------|\n| `dsn` | `string` | — | Required. Read from `env.SENTRY_DSN` automatically if not set |\n| `tracesSampleRate` | `number` | — | 0–1; 1.0 in dev, lower in prod recommended |\n| `tracesSampler` | `function` | — | Dynamic sampling function; mutually exclusive with `tracesSampleRate` |\n| `dataCollection` | `object` | conservative unless set | Controls what data the SDK captures (`userInfo`, `httpBodies`, etc.). When omitted, falls back to `sendDefaultPii` (default `false`); passing the object — even `{}` — enables permissive defaults. See [Data Collection Reference](#data-collection-reference) |\n| `sendDefaultPii` | `boolean` | `false` | Legacy. Prefer `dataCollection` for control over captured data |\n| `enableLogs` | `boolean` | `false` | Enable Sentry Logs product |\n| `environment` | `string` | auto | Read from `env.SENTRY_ENVIRONMENT` if not set |\n| `release` | `string` | auto | Detected from `CF_VERSION_METADATA.id` or `SENTRY_RELEASE` |\n| `debug` | `boolean` | `false` | Read from `env.SENTRY_DEBUG` if not set. Log SDK activity to console |\n| `tunnel` | `string` | — | Read from `env.SENTRY_TUNNEL` if not set |\n| `beforeSend` | `function` | — | Filter\u002Fmodify error events before sending |\n| `beforeSendTransaction` | `function` | — | Filter\u002Fmodify transaction events before sending |\n| `beforeSendLog` | `function` | — | Filter\u002Fmodify log entries before sending |\n| `tracePropagationTargets` | `(string\\|RegExp)[]` | all URLs | Control which outbound requests get trace headers |\n| `skipOpenTelemetrySetup` | `boolean` | `false` | Opt-out of OpenTelemetry compatibility tracer |\n| `instrumentPrototypeMethods` | `boolean \\| string[]` | `false` | Durable Object: instrument prototype methods for RPC spans |\n\n### Data Collection Reference\n\n```typescript\ndataCollection: {\n  \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n  \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fconfiguration\u002Foptions\u002F#dataCollection\n  \u002F\u002F userInfo: false,\n  \u002F\u002F httpBodies: [],\n},\n```\n\n### Environment Variables (Read from `env`)\n\nThe SDK reads these from the Cloudflare `env` object automatically:\n\n| Variable | Purpose |\n|----------|---------|\n| `SENTRY_DSN` | DSN for Sentry init |\n| `SENTRY_RELEASE` | Release version string |\n| `SENTRY_ENVIRONMENT` | Environment name (`production`, `staging`) |\n| `SENTRY_TRACES_SAMPLE_RATE` | Traces sample rate (parsed as float) |\n| `SENTRY_DEBUG` | Enable debug mode (`\"true\"` \u002F `\"1\"`) |\n| `SENTRY_TUNNEL` | Tunnel URL for event proxying |\n| `CF_VERSION_METADATA` | Cloudflare version metadata binding (auto-detected release) |\n\n### Default Integrations\n\nThese are registered automatically by `getDefaultIntegrations()`:\n\n| Integration | Purpose |\n|-------------|---------|\n| `dedupeIntegration` | Prevent duplicate events (disabled for Workflows) |\n| `inboundFiltersIntegration` | Filter events by type, message, URL |\n| `functionToStringIntegration` | Preserve original function names |\n| `linkedErrorsIntegration` | Follow `cause` chains in errors |\n| `fetchIntegration` | Trace outbound `fetch()` calls, create breadcrumbs |\n| `honoIntegration` | **Deprecated in v10.55.0** — use `@sentry\u002Fhono` package instead. Auto-capture Hono `onError` exceptions |\n| `requestDataIntegration` | Attach request data to events |\n| `consoleIntegration` | Capture `console.*` calls as breadcrumbs |\n\n---\n\n## Verification\n\nAfter setup, verify Sentry is working:\n\n```typescript\n\u002F\u002F Add temporarily to your fetch handler, then remove\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  }),\n  {\n    async fetch(request, env, ctx) {\n      throw new Error(\"Sentry test error — delete me\");\n    },\n  } satisfies ExportedHandler\u003CEnv>,\n);\n```\n\nDeploy and trigger the route, then check your [Sentry Issues dashboard](https:\u002F\u002Fsentry.io\u002Fissues\u002F) — the error should appear within ~30 seconds.\n\n**Verification checklist:**\n\n| Check | How |\n|-------|-----|\n| Errors captured | Throw in a fetch handler, verify in Sentry |\n| Tracing working | Check Performance tab for HTTP spans |\n| Source maps working | Check stack trace shows readable file\u002Fline names |\n| D1 spans (if configured) | Run a D1 query, check for `db.query` spans |\n| Scheduled monitoring (if configured) | Trigger a cron, check Crons dashboard |\n\n---\n\n## Phase 4: Cross-Link\n\nAfter completing Cloudflare setup, check for companion services:\n\n```bash\n# Check for companion frontend\nls frontend\u002F web\u002F client\u002F ui\u002F 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"|\"vue\"|\"svelte\"|\"next\"|\"astro\"'\n\n# Check for companion backend in adjacent directories\nls ..\u002Fbackend ..\u002Fserver ..\u002Fapi 2>\u002Fdev\u002Fnull\ncat ..\u002Fgo.mod ..\u002Frequirements.txt ..\u002FGemfile 2>\u002Fdev\u002Fnull | head -3\n```\n\nIf a frontend is found, suggest the matching SDK skill:\n\n| Frontend detected | Suggest skill |\n|------------------|--------------|\n| React | `sentry-react-sdk` |\n| Next.js | `sentry-nextjs-sdk` |\n| Svelte\u002FSvelteKit | `sentry-svelte-sdk` |\n| Vue\u002FNuxt | See [docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F](https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F) |\n\nIf a backend is found in a different directory:\n\n| Backend detected | Suggest skill |\n|-----------------|--------------|\n| Go (`go.mod`) | `sentry-go-sdk` |\n| Python (`requirements.txt`, `pyproject.toml`) | `sentry-python-sdk` |\n| Ruby (`Gemfile`) | `sentry-ruby-sdk` |\n| Node.js (Express, Fastify) | `sentry-node-sdk` |\n\nConnecting frontend and backend with linked Sentry projects enables **distributed tracing** — stack traces that span your browser, Cloudflare Worker, and backend API in a single trace view.\n\n---\n\n## Troubleshooting\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Events not appearing | DSN not set or `debug: false` hiding errors | Set `debug: true` temporarily in init options; verify `SENTRY_DSN` secret is set with `wrangler secret list` |\n| `AsyncLocalStorage is not defined` | Missing compatibility flag | Add `nodejs_als` or `nodejs_compat` to `compatibility_flags` in `wrangler.toml` |\n| Stack traces show minified code | Source maps not uploaded | Configure `@sentry\u002Fvite-plugin` or run `npx @sentry\u002Fwizard -i sourcemaps`; verify `SENTRY_AUTH_TOKEN` in CI |\n| Events lost on short-lived requests | SDK not flushing before worker terminates | Ensure `withSentry` or `sentryPagesPlugin` wraps your handler — they use `ctx.waitUntil()` to flush |\n| Hono errors not captured | Hono app not instrumented | Use `@sentry\u002Fhono\u002Fcloudflare` — import `sentry` middleware and call `app.use(sentry(app, options))` |\n| Durable Object errors missing | DO class not instrumented | Wrap class with `Sentry.instrumentDurableObjectWithSentry()` — see `references\u002Fdurable-objects.md` |\n| D1 queries not creating spans | Handler not wrapped with `withSentry`, or querying a non-`env` binding | D1 bindings on `env` are auto-instrumented by `withSentry` (v10.57.0+) — no manual wrapping needed (`instrumentD1WithSentry` is deprecated). All query methods (`prepare`, `batch`, `exec`, `withSession`) are traced in v10.61.0+ |\n| Scheduled handler not monitored | `withSentry` not wrapping the handler | Ensure `export default Sentry.withSentry(...)` wraps your entire exported handler object |\n| Release not auto-detected | `CF_VERSION_METADATA` binding not configured | Add `[version_metadata]` with `binding = \"CF_VERSION_METADATA\"` to `wrangler.toml` |\n| Duplicate events in Workflows | Dedupe integration filtering step failures | SDK automatically disables dedupe for Workflows; verify you use `instrumentWorkflowWithSentry` |\n",{"data":40,"body":44},{"name":4,"description":6,"license":30,"category":41,"parent":42,"disable-model-invocation":43},"sdk-setup","sentry-sdk-setup",true,{"type":45,"children":46},"root",[47,74,80,85,92,158,189,193,199,204,1149,1157,1403,1406,1412,1417,1425,1451,1459,1537,1545,1691,1702,1705,1711,1718,1761,1781,1784,1790,1797,1816,1824,1849,1857,1890,1917,1923,1948,1954,2003,2442,2450,2512,2518,2530,2804,2812,3030,3048,3399,3405,3422,3449,3467,4075,4087,4119,4505,4511,4516,4606,4618,4676,4682,4687,4715,5048,5078,5081,5087,5092,5099,5122,5127,5170,5173,5179,5184,5330,5335,5338,5344,5355,5977,5982,6044,6056,6068,6236,6242,6254,6454,6457,6463,6468,6742,6756,6764,6859,6862,6868,6873,7052,7057,7150,7155,7272,7284,7287,7293,7736],{"type":48,"tag":49,"props":50,"children":51},"element","blockquote",{},[52],{"type":48,"tag":53,"props":54,"children":55},"p",{},[56,64,66,72],{"type":48,"tag":57,"props":58,"children":60},"a",{"href":59},"..\u002F..\u002FSKILL_TREE.md",[61],{"type":62,"value":63},"text","All Skills",{"type":62,"value":65}," > ",{"type":48,"tag":57,"props":67,"children":69},{"href":68},"..\u002Fsentry-sdk-setup\u002FSKILL.md",[70],{"type":62,"value":71},"SDK Setup",{"type":62,"value":73}," > Cloudflare SDK",{"type":48,"tag":75,"props":76,"children":77},"h1",{"id":4},[78],{"type":62,"value":79},"Sentry Cloudflare SDK",{"type":48,"tag":53,"props":81,"children":82},{},[83],{"type":62,"value":84},"Opinionated wizard that scans your Cloudflare project and guides you through complete Sentry setup for Workers, Pages, Durable Objects, Queues, Workflows, and Hono.",{"type":48,"tag":86,"props":87,"children":89},"h2",{"id":88},"invoke-this-skill-when",[90],{"type":62,"value":91},"Invoke This Skill When",{"type":48,"tag":93,"props":94,"children":95},"ul",{},[96,102,114,119,153],{"type":48,"tag":97,"props":98,"children":99},"li",{},[100],{"type":62,"value":101},"User asks to \"add Sentry to Cloudflare Workers\" or \"set up Sentry\" in a Cloudflare project",{"type":48,"tag":97,"props":103,"children":104},{},[105,107],{"type":62,"value":106},"User wants to install or configure ",{"type":48,"tag":108,"props":109,"children":111},"code",{"className":110},[],[112],{"type":62,"value":113},"@sentry\u002Fcloudflare",{"type":48,"tag":97,"props":115,"children":116},{},[117],{"type":62,"value":118},"User wants error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers or Pages",{"type":48,"tag":97,"props":120,"children":121},{},[122,124,130,132,138,139,145,147],{"type":62,"value":123},"User asks about ",{"type":48,"tag":108,"props":125,"children":127},{"className":126},[],[128],{"type":62,"value":129},"withSentry",{"type":62,"value":131},", ",{"type":48,"tag":108,"props":133,"children":135},{"className":134},[],[136],{"type":62,"value":137},"sentryPagesPlugin",{"type":62,"value":131},{"type":48,"tag":108,"props":140,"children":142},{"className":141},[],[143],{"type":62,"value":144},"instrumentDurableObjectWithSentry",{"type":62,"value":146},", or ",{"type":48,"tag":108,"props":148,"children":150},{"className":149},[],[151],{"type":62,"value":152},"instrumentD1WithSentry",{"type":48,"tag":97,"props":154,"children":155},{},[156],{"type":62,"value":157},"User wants to monitor Durable Objects, Queues, Workflows, Scheduled handlers, or Email handlers on Cloudflare",{"type":48,"tag":49,"props":159,"children":160},{},[161],{"type":48,"tag":53,"props":162,"children":163},{},[164,170,172,177,179,187],{"type":48,"tag":165,"props":166,"children":167},"strong",{},[168],{"type":62,"value":169},"Note:",{"type":62,"value":171}," SDK versions and APIs below reflect current Sentry docs at time of writing (",{"type":48,"tag":108,"props":173,"children":175},{"className":174},[],[176],{"type":62,"value":113},{"type":62,"value":178}," v10.61.0).\nAlways verify against ",{"type":48,"tag":57,"props":180,"children":184},{"href":181,"rel":182},"https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002F",[183],"nofollow",[185],{"type":62,"value":186},"docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002F",{"type":62,"value":188}," before implementing.",{"type":48,"tag":190,"props":191,"children":192},"hr",{},[],{"type":48,"tag":86,"props":194,"children":196},{"id":195},"phase-1-detect",[197],{"type":62,"value":198},"Phase 1: Detect",{"type":48,"tag":53,"props":200,"children":201},{},[202],{"type":62,"value":203},"Run these commands to understand the project before making any recommendations:",{"type":48,"tag":205,"props":206,"children":211},"pre",{"className":207,"code":208,"language":209,"meta":210,"style":210},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Detect Cloudflare project\nls wrangler.toml wrangler.jsonc wrangler.json 2>\u002Fdev\u002Fnull\n\n# Detect existing Sentry\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"@sentry\u002F'\n\n# Detect project type (Workers vs Pages)\nls functions\u002F functions\u002F_middleware.js functions\u002F_middleware.ts 2>\u002Fdev\u002Fnull && echo \"Pages detected\"\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -E 'main|pages_build_output_dir'\n\n# Detect framework\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"hono\"|\"remix\"|\"astro\"|\"svelte\"'\n\n# Detect Durable Objects\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'durable_objects'\n\n# Detect D1 databases\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'd1_databases'\n\n# Detect Queues\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'queues'\n\n# Detect Workflows\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'workflows'\n\n# Detect Scheduled handlers (cron triggers)\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'crons\\|triggers'\n\n# Detect compatibility flags\ncat wrangler.toml 2>\u002Fdev\u002Fnull | grep -i 'compatibility_flags'\ncat wrangler.jsonc 2>\u002Fdev\u002Fnull | grep -i 'compatibility_flags'\n\n# Detect AI\u002FLLM libraries\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"openai\"|\"@anthropic-ai\"|\"ai\"|\"@google\u002Fgenerative-ai\"|\"@langchain\"'\n\n# Detect logging libraries\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"pino\"|\"winston\"'\n\n# Check for companion frontend\nls frontend\u002F web\u002F client\u002F 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"|\"vue\"|\"svelte\"|\"next\"'\n","bash","",[212],{"type":48,"tag":108,"props":213,"children":214},{"__ignoreMap":210},[215,227,264,273,282,335,343,352,409,454,462,471,516,524,533,579,587,596,641,649,658,703,711,720,765,773,782,827,835,844,888,932,940,949,994,1002,1011,1056,1064,1073,1104],{"type":48,"tag":216,"props":217,"children":220},"span",{"class":218,"line":219},"line",1,[221],{"type":48,"tag":216,"props":222,"children":224},{"style":223},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[225],{"type":62,"value":226},"# Detect Cloudflare project\n",{"type":48,"tag":216,"props":228,"children":230},{"class":218,"line":229},2,[231,237,243,248,253,259],{"type":48,"tag":216,"props":232,"children":234},{"style":233},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[235],{"type":62,"value":236},"ls",{"type":48,"tag":216,"props":238,"children":240},{"style":239},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[241],{"type":62,"value":242}," wrangler.toml",{"type":48,"tag":216,"props":244,"children":245},{"style":239},[246],{"type":62,"value":247}," wrangler.jsonc",{"type":48,"tag":216,"props":249,"children":250},{"style":239},[251],{"type":62,"value":252}," wrangler.json",{"type":48,"tag":216,"props":254,"children":256},{"style":255},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[257],{"type":62,"value":258}," 2>",{"type":48,"tag":216,"props":260,"children":261},{"style":239},[262],{"type":62,"value":263},"\u002Fdev\u002Fnull\n",{"type":48,"tag":216,"props":265,"children":267},{"class":218,"line":266},3,[268],{"type":48,"tag":216,"props":269,"children":270},{"emptyLinePlaceholder":43},[271],{"type":62,"value":272},"\n",{"type":48,"tag":216,"props":274,"children":276},{"class":218,"line":275},4,[277],{"type":48,"tag":216,"props":278,"children":279},{"style":223},[280],{"type":62,"value":281},"# Detect existing Sentry\n",{"type":48,"tag":216,"props":283,"children":285},{"class":218,"line":284},5,[286,291,296,300,305,310,315,320,325,330],{"type":48,"tag":216,"props":287,"children":288},{"style":233},[289],{"type":62,"value":290},"cat",{"type":48,"tag":216,"props":292,"children":293},{"style":239},[294],{"type":62,"value":295}," package.json",{"type":48,"tag":216,"props":297,"children":298},{"style":255},[299],{"type":62,"value":258},{"type":48,"tag":216,"props":301,"children":302},{"style":239},[303],{"type":62,"value":304},"\u002Fdev\u002Fnull",{"type":48,"tag":216,"props":306,"children":307},{"style":255},[308],{"type":62,"value":309}," |",{"type":48,"tag":216,"props":311,"children":312},{"style":233},[313],{"type":62,"value":314}," grep",{"type":48,"tag":216,"props":316,"children":317},{"style":239},[318],{"type":62,"value":319}," -E",{"type":48,"tag":216,"props":321,"children":322},{"style":255},[323],{"type":62,"value":324}," '",{"type":48,"tag":216,"props":326,"children":327},{"style":239},[328],{"type":62,"value":329},"\"@sentry\u002F",{"type":48,"tag":216,"props":331,"children":332},{"style":255},[333],{"type":62,"value":334},"'\n",{"type":48,"tag":216,"props":336,"children":338},{"class":218,"line":337},6,[339],{"type":48,"tag":216,"props":340,"children":341},{"emptyLinePlaceholder":43},[342],{"type":62,"value":272},{"type":48,"tag":216,"props":344,"children":346},{"class":218,"line":345},7,[347],{"type":48,"tag":216,"props":348,"children":349},{"style":223},[350],{"type":62,"value":351},"# Detect project type (Workers vs Pages)\n",{"type":48,"tag":216,"props":353,"children":355},{"class":218,"line":354},8,[356,360,365,370,375,379,383,388,394,399,404],{"type":48,"tag":216,"props":357,"children":358},{"style":233},[359],{"type":62,"value":236},{"type":48,"tag":216,"props":361,"children":362},{"style":239},[363],{"type":62,"value":364}," functions\u002F",{"type":48,"tag":216,"props":366,"children":367},{"style":239},[368],{"type":62,"value":369}," functions\u002F_middleware.js",{"type":48,"tag":216,"props":371,"children":372},{"style":239},[373],{"type":62,"value":374}," functions\u002F_middleware.ts",{"type":48,"tag":216,"props":376,"children":377},{"style":255},[378],{"type":62,"value":258},{"type":48,"tag":216,"props":380,"children":381},{"style":239},[382],{"type":62,"value":304},{"type":48,"tag":216,"props":384,"children":385},{"style":255},[386],{"type":62,"value":387}," &&",{"type":48,"tag":216,"props":389,"children":391},{"style":390},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[392],{"type":62,"value":393}," echo",{"type":48,"tag":216,"props":395,"children":396},{"style":255},[397],{"type":62,"value":398}," \"",{"type":48,"tag":216,"props":400,"children":401},{"style":239},[402],{"type":62,"value":403},"Pages detected",{"type":48,"tag":216,"props":405,"children":406},{"style":255},[407],{"type":62,"value":408},"\"\n",{"type":48,"tag":216,"props":410,"children":412},{"class":218,"line":411},9,[413,417,421,425,429,433,437,441,445,450],{"type":48,"tag":216,"props":414,"children":415},{"style":233},[416],{"type":62,"value":290},{"type":48,"tag":216,"props":418,"children":419},{"style":239},[420],{"type":62,"value":242},{"type":48,"tag":216,"props":422,"children":423},{"style":255},[424],{"type":62,"value":258},{"type":48,"tag":216,"props":426,"children":427},{"style":239},[428],{"type":62,"value":304},{"type":48,"tag":216,"props":430,"children":431},{"style":255},[432],{"type":62,"value":309},{"type":48,"tag":216,"props":434,"children":435},{"style":233},[436],{"type":62,"value":314},{"type":48,"tag":216,"props":438,"children":439},{"style":239},[440],{"type":62,"value":319},{"type":48,"tag":216,"props":442,"children":443},{"style":255},[444],{"type":62,"value":324},{"type":48,"tag":216,"props":446,"children":447},{"style":239},[448],{"type":62,"value":449},"main|pages_build_output_dir",{"type":48,"tag":216,"props":451,"children":452},{"style":255},[453],{"type":62,"value":334},{"type":48,"tag":216,"props":455,"children":457},{"class":218,"line":456},10,[458],{"type":48,"tag":216,"props":459,"children":460},{"emptyLinePlaceholder":43},[461],{"type":62,"value":272},{"type":48,"tag":216,"props":463,"children":465},{"class":218,"line":464},11,[466],{"type":48,"tag":216,"props":467,"children":468},{"style":223},[469],{"type":62,"value":470},"# Detect framework\n",{"type":48,"tag":216,"props":472,"children":474},{"class":218,"line":473},12,[475,479,483,487,491,495,499,503,507,512],{"type":48,"tag":216,"props":476,"children":477},{"style":233},[478],{"type":62,"value":290},{"type":48,"tag":216,"props":480,"children":481},{"style":239},[482],{"type":62,"value":295},{"type":48,"tag":216,"props":484,"children":485},{"style":255},[486],{"type":62,"value":258},{"type":48,"tag":216,"props":488,"children":489},{"style":239},[490],{"type":62,"value":304},{"type":48,"tag":216,"props":492,"children":493},{"style":255},[494],{"type":62,"value":309},{"type":48,"tag":216,"props":496,"children":497},{"style":233},[498],{"type":62,"value":314},{"type":48,"tag":216,"props":500,"children":501},{"style":239},[502],{"type":62,"value":319},{"type":48,"tag":216,"props":504,"children":505},{"style":255},[506],{"type":62,"value":324},{"type":48,"tag":216,"props":508,"children":509},{"style":239},[510],{"type":62,"value":511},"\"hono\"|\"remix\"|\"astro\"|\"svelte\"",{"type":48,"tag":216,"props":513,"children":514},{"style":255},[515],{"type":62,"value":334},{"type":48,"tag":216,"props":517,"children":519},{"class":218,"line":518},13,[520],{"type":48,"tag":216,"props":521,"children":522},{"emptyLinePlaceholder":43},[523],{"type":62,"value":272},{"type":48,"tag":216,"props":525,"children":527},{"class":218,"line":526},14,[528],{"type":48,"tag":216,"props":529,"children":530},{"style":223},[531],{"type":62,"value":532},"# Detect Durable Objects\n",{"type":48,"tag":216,"props":534,"children":536},{"class":218,"line":535},15,[537,541,545,549,553,557,561,566,570,575],{"type":48,"tag":216,"props":538,"children":539},{"style":233},[540],{"type":62,"value":290},{"type":48,"tag":216,"props":542,"children":543},{"style":239},[544],{"type":62,"value":242},{"type":48,"tag":216,"props":546,"children":547},{"style":255},[548],{"type":62,"value":258},{"type":48,"tag":216,"props":550,"children":551},{"style":239},[552],{"type":62,"value":304},{"type":48,"tag":216,"props":554,"children":555},{"style":255},[556],{"type":62,"value":309},{"type":48,"tag":216,"props":558,"children":559},{"style":233},[560],{"type":62,"value":314},{"type":48,"tag":216,"props":562,"children":563},{"style":239},[564],{"type":62,"value":565}," -i",{"type":48,"tag":216,"props":567,"children":568},{"style":255},[569],{"type":62,"value":324},{"type":48,"tag":216,"props":571,"children":572},{"style":239},[573],{"type":62,"value":574},"durable_objects",{"type":48,"tag":216,"props":576,"children":577},{"style":255},[578],{"type":62,"value":334},{"type":48,"tag":216,"props":580,"children":582},{"class":218,"line":581},16,[583],{"type":48,"tag":216,"props":584,"children":585},{"emptyLinePlaceholder":43},[586],{"type":62,"value":272},{"type":48,"tag":216,"props":588,"children":590},{"class":218,"line":589},17,[591],{"type":48,"tag":216,"props":592,"children":593},{"style":223},[594],{"type":62,"value":595},"# Detect D1 databases\n",{"type":48,"tag":216,"props":597,"children":599},{"class":218,"line":598},18,[600,604,608,612,616,620,624,628,632,637],{"type":48,"tag":216,"props":601,"children":602},{"style":233},[603],{"type":62,"value":290},{"type":48,"tag":216,"props":605,"children":606},{"style":239},[607],{"type":62,"value":242},{"type":48,"tag":216,"props":609,"children":610},{"style":255},[611],{"type":62,"value":258},{"type":48,"tag":216,"props":613,"children":614},{"style":239},[615],{"type":62,"value":304},{"type":48,"tag":216,"props":617,"children":618},{"style":255},[619],{"type":62,"value":309},{"type":48,"tag":216,"props":621,"children":622},{"style":233},[623],{"type":62,"value":314},{"type":48,"tag":216,"props":625,"children":626},{"style":239},[627],{"type":62,"value":565},{"type":48,"tag":216,"props":629,"children":630},{"style":255},[631],{"type":62,"value":324},{"type":48,"tag":216,"props":633,"children":634},{"style":239},[635],{"type":62,"value":636},"d1_databases",{"type":48,"tag":216,"props":638,"children":639},{"style":255},[640],{"type":62,"value":334},{"type":48,"tag":216,"props":642,"children":644},{"class":218,"line":643},19,[645],{"type":48,"tag":216,"props":646,"children":647},{"emptyLinePlaceholder":43},[648],{"type":62,"value":272},{"type":48,"tag":216,"props":650,"children":652},{"class":218,"line":651},20,[653],{"type":48,"tag":216,"props":654,"children":655},{"style":223},[656],{"type":62,"value":657},"# Detect Queues\n",{"type":48,"tag":216,"props":659,"children":661},{"class":218,"line":660},21,[662,666,670,674,678,682,686,690,694,699],{"type":48,"tag":216,"props":663,"children":664},{"style":233},[665],{"type":62,"value":290},{"type":48,"tag":216,"props":667,"children":668},{"style":239},[669],{"type":62,"value":242},{"type":48,"tag":216,"props":671,"children":672},{"style":255},[673],{"type":62,"value":258},{"type":48,"tag":216,"props":675,"children":676},{"style":239},[677],{"type":62,"value":304},{"type":48,"tag":216,"props":679,"children":680},{"style":255},[681],{"type":62,"value":309},{"type":48,"tag":216,"props":683,"children":684},{"style":233},[685],{"type":62,"value":314},{"type":48,"tag":216,"props":687,"children":688},{"style":239},[689],{"type":62,"value":565},{"type":48,"tag":216,"props":691,"children":692},{"style":255},[693],{"type":62,"value":324},{"type":48,"tag":216,"props":695,"children":696},{"style":239},[697],{"type":62,"value":698},"queues",{"type":48,"tag":216,"props":700,"children":701},{"style":255},[702],{"type":62,"value":334},{"type":48,"tag":216,"props":704,"children":706},{"class":218,"line":705},22,[707],{"type":48,"tag":216,"props":708,"children":709},{"emptyLinePlaceholder":43},[710],{"type":62,"value":272},{"type":48,"tag":216,"props":712,"children":714},{"class":218,"line":713},23,[715],{"type":48,"tag":216,"props":716,"children":717},{"style":223},[718],{"type":62,"value":719},"# Detect Workflows\n",{"type":48,"tag":216,"props":721,"children":723},{"class":218,"line":722},24,[724,728,732,736,740,744,748,752,756,761],{"type":48,"tag":216,"props":725,"children":726},{"style":233},[727],{"type":62,"value":290},{"type":48,"tag":216,"props":729,"children":730},{"style":239},[731],{"type":62,"value":242},{"type":48,"tag":216,"props":733,"children":734},{"style":255},[735],{"type":62,"value":258},{"type":48,"tag":216,"props":737,"children":738},{"style":239},[739],{"type":62,"value":304},{"type":48,"tag":216,"props":741,"children":742},{"style":255},[743],{"type":62,"value":309},{"type":48,"tag":216,"props":745,"children":746},{"style":233},[747],{"type":62,"value":314},{"type":48,"tag":216,"props":749,"children":750},{"style":239},[751],{"type":62,"value":565},{"type":48,"tag":216,"props":753,"children":754},{"style":255},[755],{"type":62,"value":324},{"type":48,"tag":216,"props":757,"children":758},{"style":239},[759],{"type":62,"value":760},"workflows",{"type":48,"tag":216,"props":762,"children":763},{"style":255},[764],{"type":62,"value":334},{"type":48,"tag":216,"props":766,"children":768},{"class":218,"line":767},25,[769],{"type":48,"tag":216,"props":770,"children":771},{"emptyLinePlaceholder":43},[772],{"type":62,"value":272},{"type":48,"tag":216,"props":774,"children":776},{"class":218,"line":775},26,[777],{"type":48,"tag":216,"props":778,"children":779},{"style":223},[780],{"type":62,"value":781},"# Detect Scheduled handlers (cron triggers)\n",{"type":48,"tag":216,"props":783,"children":785},{"class":218,"line":784},27,[786,790,794,798,802,806,810,814,818,823],{"type":48,"tag":216,"props":787,"children":788},{"style":233},[789],{"type":62,"value":290},{"type":48,"tag":216,"props":791,"children":792},{"style":239},[793],{"type":62,"value":242},{"type":48,"tag":216,"props":795,"children":796},{"style":255},[797],{"type":62,"value":258},{"type":48,"tag":216,"props":799,"children":800},{"style":239},[801],{"type":62,"value":304},{"type":48,"tag":216,"props":803,"children":804},{"style":255},[805],{"type":62,"value":309},{"type":48,"tag":216,"props":807,"children":808},{"style":233},[809],{"type":62,"value":314},{"type":48,"tag":216,"props":811,"children":812},{"style":239},[813],{"type":62,"value":565},{"type":48,"tag":216,"props":815,"children":816},{"style":255},[817],{"type":62,"value":324},{"type":48,"tag":216,"props":819,"children":820},{"style":239},[821],{"type":62,"value":822},"crons\\|triggers",{"type":48,"tag":216,"props":824,"children":825},{"style":255},[826],{"type":62,"value":334},{"type":48,"tag":216,"props":828,"children":830},{"class":218,"line":829},28,[831],{"type":48,"tag":216,"props":832,"children":833},{"emptyLinePlaceholder":43},[834],{"type":62,"value":272},{"type":48,"tag":216,"props":836,"children":838},{"class":218,"line":837},29,[839],{"type":48,"tag":216,"props":840,"children":841},{"style":223},[842],{"type":62,"value":843},"# Detect compatibility flags\n",{"type":48,"tag":216,"props":845,"children":846},{"class":218,"line":31},[847,851,855,859,863,867,871,875,879,884],{"type":48,"tag":216,"props":848,"children":849},{"style":233},[850],{"type":62,"value":290},{"type":48,"tag":216,"props":852,"children":853},{"style":239},[854],{"type":62,"value":242},{"type":48,"tag":216,"props":856,"children":857},{"style":255},[858],{"type":62,"value":258},{"type":48,"tag":216,"props":860,"children":861},{"style":239},[862],{"type":62,"value":304},{"type":48,"tag":216,"props":864,"children":865},{"style":255},[866],{"type":62,"value":309},{"type":48,"tag":216,"props":868,"children":869},{"style":233},[870],{"type":62,"value":314},{"type":48,"tag":216,"props":872,"children":873},{"style":239},[874],{"type":62,"value":565},{"type":48,"tag":216,"props":876,"children":877},{"style":255},[878],{"type":62,"value":324},{"type":48,"tag":216,"props":880,"children":881},{"style":239},[882],{"type":62,"value":883},"compatibility_flags",{"type":48,"tag":216,"props":885,"children":886},{"style":255},[887],{"type":62,"value":334},{"type":48,"tag":216,"props":889,"children":891},{"class":218,"line":890},31,[892,896,900,904,908,912,916,920,924,928],{"type":48,"tag":216,"props":893,"children":894},{"style":233},[895],{"type":62,"value":290},{"type":48,"tag":216,"props":897,"children":898},{"style":239},[899],{"type":62,"value":247},{"type":48,"tag":216,"props":901,"children":902},{"style":255},[903],{"type":62,"value":258},{"type":48,"tag":216,"props":905,"children":906},{"style":239},[907],{"type":62,"value":304},{"type":48,"tag":216,"props":909,"children":910},{"style":255},[911],{"type":62,"value":309},{"type":48,"tag":216,"props":913,"children":914},{"style":233},[915],{"type":62,"value":314},{"type":48,"tag":216,"props":917,"children":918},{"style":239},[919],{"type":62,"value":565},{"type":48,"tag":216,"props":921,"children":922},{"style":255},[923],{"type":62,"value":324},{"type":48,"tag":216,"props":925,"children":926},{"style":239},[927],{"type":62,"value":883},{"type":48,"tag":216,"props":929,"children":930},{"style":255},[931],{"type":62,"value":334},{"type":48,"tag":216,"props":933,"children":935},{"class":218,"line":934},32,[936],{"type":48,"tag":216,"props":937,"children":938},{"emptyLinePlaceholder":43},[939],{"type":62,"value":272},{"type":48,"tag":216,"props":941,"children":943},{"class":218,"line":942},33,[944],{"type":48,"tag":216,"props":945,"children":946},{"style":223},[947],{"type":62,"value":948},"# Detect AI\u002FLLM libraries\n",{"type":48,"tag":216,"props":950,"children":952},{"class":218,"line":951},34,[953,957,961,965,969,973,977,981,985,990],{"type":48,"tag":216,"props":954,"children":955},{"style":233},[956],{"type":62,"value":290},{"type":48,"tag":216,"props":958,"children":959},{"style":239},[960],{"type":62,"value":295},{"type":48,"tag":216,"props":962,"children":963},{"style":255},[964],{"type":62,"value":258},{"type":48,"tag":216,"props":966,"children":967},{"style":239},[968],{"type":62,"value":304},{"type":48,"tag":216,"props":970,"children":971},{"style":255},[972],{"type":62,"value":309},{"type":48,"tag":216,"props":974,"children":975},{"style":233},[976],{"type":62,"value":314},{"type":48,"tag":216,"props":978,"children":979},{"style":239},[980],{"type":62,"value":319},{"type":48,"tag":216,"props":982,"children":983},{"style":255},[984],{"type":62,"value":324},{"type":48,"tag":216,"props":986,"children":987},{"style":239},[988],{"type":62,"value":989},"\"openai\"|\"@anthropic-ai\"|\"ai\"|\"@google\u002Fgenerative-ai\"|\"@langchain\"",{"type":48,"tag":216,"props":991,"children":992},{"style":255},[993],{"type":62,"value":334},{"type":48,"tag":216,"props":995,"children":997},{"class":218,"line":996},35,[998],{"type":48,"tag":216,"props":999,"children":1000},{"emptyLinePlaceholder":43},[1001],{"type":62,"value":272},{"type":48,"tag":216,"props":1003,"children":1005},{"class":218,"line":1004},36,[1006],{"type":48,"tag":216,"props":1007,"children":1008},{"style":223},[1009],{"type":62,"value":1010},"# Detect logging libraries\n",{"type":48,"tag":216,"props":1012,"children":1014},{"class":218,"line":1013},37,[1015,1019,1023,1027,1031,1035,1039,1043,1047,1052],{"type":48,"tag":216,"props":1016,"children":1017},{"style":233},[1018],{"type":62,"value":290},{"type":48,"tag":216,"props":1020,"children":1021},{"style":239},[1022],{"type":62,"value":295},{"type":48,"tag":216,"props":1024,"children":1025},{"style":255},[1026],{"type":62,"value":258},{"type":48,"tag":216,"props":1028,"children":1029},{"style":239},[1030],{"type":62,"value":304},{"type":48,"tag":216,"props":1032,"children":1033},{"style":255},[1034],{"type":62,"value":309},{"type":48,"tag":216,"props":1036,"children":1037},{"style":233},[1038],{"type":62,"value":314},{"type":48,"tag":216,"props":1040,"children":1041},{"style":239},[1042],{"type":62,"value":319},{"type":48,"tag":216,"props":1044,"children":1045},{"style":255},[1046],{"type":62,"value":324},{"type":48,"tag":216,"props":1048,"children":1049},{"style":239},[1050],{"type":62,"value":1051},"\"pino\"|\"winston\"",{"type":48,"tag":216,"props":1053,"children":1054},{"style":255},[1055],{"type":62,"value":334},{"type":48,"tag":216,"props":1057,"children":1059},{"class":218,"line":1058},38,[1060],{"type":48,"tag":216,"props":1061,"children":1062},{"emptyLinePlaceholder":43},[1063],{"type":62,"value":272},{"type":48,"tag":216,"props":1065,"children":1067},{"class":218,"line":1066},39,[1068],{"type":48,"tag":216,"props":1069,"children":1070},{"style":223},[1071],{"type":62,"value":1072},"# Check for companion frontend\n",{"type":48,"tag":216,"props":1074,"children":1076},{"class":218,"line":1075},40,[1077,1081,1086,1091,1096,1100],{"type":48,"tag":216,"props":1078,"children":1079},{"style":233},[1080],{"type":62,"value":236},{"type":48,"tag":216,"props":1082,"children":1083},{"style":239},[1084],{"type":62,"value":1085}," frontend\u002F",{"type":48,"tag":216,"props":1087,"children":1088},{"style":239},[1089],{"type":62,"value":1090}," web\u002F",{"type":48,"tag":216,"props":1092,"children":1093},{"style":239},[1094],{"type":62,"value":1095}," client\u002F",{"type":48,"tag":216,"props":1097,"children":1098},{"style":255},[1099],{"type":62,"value":258},{"type":48,"tag":216,"props":1101,"children":1102},{"style":239},[1103],{"type":62,"value":263},{"type":48,"tag":216,"props":1105,"children":1107},{"class":218,"line":1106},41,[1108,1112,1116,1120,1124,1128,1132,1136,1140,1145],{"type":48,"tag":216,"props":1109,"children":1110},{"style":233},[1111],{"type":62,"value":290},{"type":48,"tag":216,"props":1113,"children":1114},{"style":239},[1115],{"type":62,"value":295},{"type":48,"tag":216,"props":1117,"children":1118},{"style":255},[1119],{"type":62,"value":258},{"type":48,"tag":216,"props":1121,"children":1122},{"style":239},[1123],{"type":62,"value":304},{"type":48,"tag":216,"props":1125,"children":1126},{"style":255},[1127],{"type":62,"value":309},{"type":48,"tag":216,"props":1129,"children":1130},{"style":233},[1131],{"type":62,"value":314},{"type":48,"tag":216,"props":1133,"children":1134},{"style":239},[1135],{"type":62,"value":319},{"type":48,"tag":216,"props":1137,"children":1138},{"style":255},[1139],{"type":62,"value":324},{"type":48,"tag":216,"props":1141,"children":1142},{"style":239},[1143],{"type":62,"value":1144},"\"react\"|\"vue\"|\"svelte\"|\"next\"",{"type":48,"tag":216,"props":1146,"children":1147},{"style":255},[1148],{"type":62,"value":334},{"type":48,"tag":53,"props":1150,"children":1151},{},[1152],{"type":48,"tag":165,"props":1153,"children":1154},{},[1155],{"type":62,"value":1156},"What to determine:",{"type":48,"tag":1158,"props":1159,"children":1160},"table",{},[1161,1180],{"type":48,"tag":1162,"props":1163,"children":1164},"thead",{},[1165],{"type":48,"tag":1166,"props":1167,"children":1168},"tr",{},[1169,1175],{"type":48,"tag":1170,"props":1171,"children":1172},"th",{},[1173],{"type":62,"value":1174},"Question",{"type":48,"tag":1170,"props":1176,"children":1177},{},[1178],{"type":62,"value":1179},"Impact",{"type":48,"tag":1181,"props":1182,"children":1183},"tbody",{},[1184,1210,1231,1249,1267,1285,1303,1321,1339,1377,1390],{"type":48,"tag":1166,"props":1185,"children":1186},{},[1187,1193],{"type":48,"tag":1188,"props":1189,"children":1190},"td",{},[1191],{"type":62,"value":1192},"Workers or Pages?",{"type":48,"tag":1188,"props":1194,"children":1195},{},[1196,1198,1203,1205],{"type":62,"value":1197},"Determines wrapper: ",{"type":48,"tag":108,"props":1199,"children":1201},{"className":1200},[],[1202],{"type":62,"value":129},{"type":62,"value":1204}," vs ",{"type":48,"tag":108,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":62,"value":137},{"type":48,"tag":1166,"props":1211,"children":1212},{},[1213,1218],{"type":48,"tag":1188,"props":1214,"children":1215},{},[1216],{"type":62,"value":1217},"Hono framework?",{"type":48,"tag":1188,"props":1219,"children":1220},{},[1221,1223,1229],{"type":62,"value":1222},"Recommend standalone ",{"type":48,"tag":108,"props":1224,"children":1226},{"className":1225},[],[1227],{"type":62,"value":1228},"@sentry\u002Fhono",{"type":62,"value":1230}," package (v10.55.0+) for cleaner integration",{"type":48,"tag":1166,"props":1232,"children":1233},{},[1234,1244],{"type":48,"tag":1188,"props":1235,"children":1236},{},[1237,1242],{"type":48,"tag":108,"props":1238,"children":1240},{"className":1239},[],[1241],{"type":62,"value":113},{"type":62,"value":1243}," already installed?",{"type":48,"tag":1188,"props":1245,"children":1246},{},[1247],{"type":62,"value":1248},"Skip install, go to feature config",{"type":48,"tag":1166,"props":1250,"children":1251},{},[1252,1257],{"type":48,"tag":1188,"props":1253,"children":1254},{},[1255],{"type":62,"value":1256},"Durable Objects configured?",{"type":48,"tag":1188,"props":1258,"children":1259},{},[1260,1262],{"type":62,"value":1261},"Recommend ",{"type":48,"tag":108,"props":1263,"children":1265},{"className":1264},[],[1266],{"type":62,"value":144},{"type":48,"tag":1166,"props":1268,"children":1269},{},[1270,1275],{"type":48,"tag":1188,"props":1271,"children":1272},{},[1273],{"type":62,"value":1274},"D1 databases bound?",{"type":48,"tag":1188,"props":1276,"children":1277},{},[1278,1283],{"type":48,"tag":108,"props":1279,"children":1281},{"className":1280},[],[1282],{"type":62,"value":129},{"type":62,"value":1284}," auto-instruments D1 bindings (v10.57.0+); no manual wrapping needed",{"type":48,"tag":1166,"props":1286,"children":1287},{},[1288,1293],{"type":48,"tag":1188,"props":1289,"children":1290},{},[1291],{"type":62,"value":1292},"Queues configured?",{"type":48,"tag":1188,"props":1294,"children":1295},{},[1296,1301],{"type":48,"tag":108,"props":1297,"children":1299},{"className":1298},[],[1300],{"type":62,"value":129},{"type":62,"value":1302}," auto-instruments queue handlers",{"type":48,"tag":1166,"props":1304,"children":1305},{},[1306,1311],{"type":48,"tag":1188,"props":1307,"children":1308},{},[1309],{"type":62,"value":1310},"Workflows configured?",{"type":48,"tag":1188,"props":1312,"children":1313},{},[1314,1315],{"type":62,"value":1261},{"type":48,"tag":108,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":62,"value":1320},"instrumentWorkflowWithSentry",{"type":48,"tag":1166,"props":1322,"children":1323},{},[1324,1329],{"type":48,"tag":1188,"props":1325,"children":1326},{},[1327],{"type":62,"value":1328},"Cron triggers configured?",{"type":48,"tag":1188,"props":1330,"children":1331},{},[1332,1337],{"type":48,"tag":108,"props":1333,"children":1335},{"className":1334},[],[1336],{"type":62,"value":129},{"type":62,"value":1338}," auto-instruments scheduled handlers; recommend Crons monitoring",{"type":48,"tag":1166,"props":1340,"children":1341},{},[1342,1361],{"type":48,"tag":1188,"props":1343,"children":1344},{},[1345,1351,1353,1359],{"type":48,"tag":108,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":62,"value":1350},"nodejs_als",{"type":62,"value":1352}," or ",{"type":48,"tag":108,"props":1354,"children":1356},{"className":1355},[],[1357],{"type":62,"value":1358},"nodejs_compat",{"type":62,"value":1360}," flag set?",{"type":48,"tag":1188,"props":1362,"children":1363},{},[1364,1369,1371],{"type":48,"tag":165,"props":1365,"children":1366},{},[1367],{"type":62,"value":1368},"Required",{"type":62,"value":1370}," — SDK needs ",{"type":48,"tag":108,"props":1372,"children":1374},{"className":1373},[],[1375],{"type":62,"value":1376},"AsyncLocalStorage",{"type":48,"tag":1166,"props":1378,"children":1379},{},[1380,1385],{"type":48,"tag":1188,"props":1381,"children":1382},{},[1383],{"type":62,"value":1384},"AI\u002FLLM libraries?",{"type":48,"tag":1188,"props":1386,"children":1387},{},[1388],{"type":62,"value":1389},"Recommend AI Monitoring integrations",{"type":48,"tag":1166,"props":1391,"children":1392},{},[1393,1398],{"type":48,"tag":1188,"props":1394,"children":1395},{},[1396],{"type":62,"value":1397},"Companion frontend?",{"type":48,"tag":1188,"props":1399,"children":1400},{},[1401],{"type":62,"value":1402},"Trigger Phase 4 cross-link",{"type":48,"tag":190,"props":1404,"children":1405},{},[],{"type":48,"tag":86,"props":1407,"children":1409},{"id":1408},"phase-2-recommend",[1410],{"type":62,"value":1411},"Phase 2: Recommend",{"type":48,"tag":53,"props":1413,"children":1414},{},[1415],{"type":62,"value":1416},"Present a concrete recommendation based on what you found. Don't ask open-ended questions — lead with a proposal:",{"type":48,"tag":53,"props":1418,"children":1419},{},[1420],{"type":48,"tag":165,"props":1421,"children":1422},{},[1423],{"type":62,"value":1424},"Recommended (core coverage):",{"type":48,"tag":93,"props":1426,"children":1427},{},[1428,1440],{"type":48,"tag":97,"props":1429,"children":1430},{},[1431,1433,1438],{"type":62,"value":1432},"✅ ",{"type":48,"tag":165,"props":1434,"children":1435},{},[1436],{"type":62,"value":1437},"Error Monitoring",{"type":62,"value":1439}," — always; captures unhandled exceptions in fetch, scheduled, queue, email, and Durable Object handlers",{"type":48,"tag":97,"props":1441,"children":1442},{},[1443,1444,1449],{"type":62,"value":1432},{"type":48,"tag":165,"props":1445,"children":1446},{},[1447],{"type":62,"value":1448},"Tracing",{"type":62,"value":1450}," — automatic HTTP request spans, outbound fetch tracing, D1 query spans",{"type":48,"tag":53,"props":1452,"children":1453},{},[1454],{"type":48,"tag":165,"props":1455,"children":1456},{},[1457],{"type":62,"value":1458},"Optional (enhanced observability):",{"type":48,"tag":93,"props":1460,"children":1461},{},[1462,1482,1493,1504,1515,1526],{"type":48,"tag":97,"props":1463,"children":1464},{},[1465,1467,1472,1474,1480],{"type":62,"value":1466},"⚡ ",{"type":48,"tag":165,"props":1468,"children":1469},{},[1470],{"type":62,"value":1471},"Logging",{"type":62,"value":1473}," — structured logs via ",{"type":48,"tag":108,"props":1475,"children":1477},{"className":1476},[],[1478],{"type":62,"value":1479},"Sentry.logger.*",{"type":62,"value":1481},"; recommend when log search is needed",{"type":48,"tag":97,"props":1483,"children":1484},{},[1485,1486,1491],{"type":62,"value":1466},{"type":48,"tag":165,"props":1487,"children":1488},{},[1489],{"type":62,"value":1490},"Crons",{"type":62,"value":1492}," — detect missed\u002Ffailed scheduled jobs; recommend when cron triggers are configured",{"type":48,"tag":97,"props":1494,"children":1495},{},[1496,1497,1502],{"type":62,"value":1466},{"type":48,"tag":165,"props":1498,"children":1499},{},[1500],{"type":62,"value":1501},"D1 Instrumentation",{"type":62,"value":1503}," — automatic query spans and breadcrumbs; recommend when D1 is bound",{"type":48,"tag":97,"props":1505,"children":1506},{},[1507,1508,1513],{"type":62,"value":1466},{"type":48,"tag":165,"props":1509,"children":1510},{},[1511],{"type":62,"value":1512},"Durable Objects",{"type":62,"value":1514}," — automatic error capture and spans for DO methods; recommend when DOs are configured",{"type":48,"tag":97,"props":1516,"children":1517},{},[1518,1519,1524],{"type":62,"value":1466},{"type":48,"tag":165,"props":1520,"children":1521},{},[1522],{"type":62,"value":1523},"Workflows",{"type":62,"value":1525}," — automatic span creation for workflow steps; recommend when Workflows are configured",{"type":48,"tag":97,"props":1527,"children":1528},{},[1529,1530,1535],{"type":62,"value":1466},{"type":48,"tag":165,"props":1531,"children":1532},{},[1533],{"type":62,"value":1534},"AI Monitoring",{"type":62,"value":1536}," — Vercel AI SDK, OpenAI, Anthropic, LangChain; recommend when AI libraries detected",{"type":48,"tag":53,"props":1538,"children":1539},{},[1540],{"type":48,"tag":165,"props":1541,"children":1542},{},[1543],{"type":62,"value":1544},"Recommendation logic:",{"type":48,"tag":1158,"props":1546,"children":1547},{},[1548,1564],{"type":48,"tag":1162,"props":1549,"children":1550},{},[1551],{"type":48,"tag":1166,"props":1552,"children":1553},{},[1554,1559],{"type":48,"tag":1170,"props":1555,"children":1556},{},[1557],{"type":62,"value":1558},"Feature",{"type":48,"tag":1170,"props":1560,"children":1561},{},[1562],{"type":62,"value":1563},"Recommend when...",{"type":48,"tag":1181,"props":1565,"children":1566},{},[1567,1584,1600,1612,1630,1642,1654,1666,1678],{"type":48,"tag":1166,"props":1568,"children":1569},{},[1570,1574],{"type":48,"tag":1188,"props":1571,"children":1572},{},[1573],{"type":62,"value":1437},{"type":48,"tag":1188,"props":1575,"children":1576},{},[1577,1582],{"type":48,"tag":165,"props":1578,"children":1579},{},[1580],{"type":62,"value":1581},"Always",{"type":62,"value":1583}," — non-negotiable baseline",{"type":48,"tag":1166,"props":1585,"children":1586},{},[1587,1591],{"type":48,"tag":1188,"props":1588,"children":1589},{},[1590],{"type":62,"value":1448},{"type":48,"tag":1188,"props":1592,"children":1593},{},[1594,1598],{"type":48,"tag":165,"props":1595,"children":1596},{},[1597],{"type":62,"value":1581},{"type":62,"value":1599}," — HTTP request tracing and outbound fetch are high-value",{"type":48,"tag":1166,"props":1601,"children":1602},{},[1603,1607],{"type":48,"tag":1188,"props":1604,"children":1605},{},[1606],{"type":62,"value":1471},{"type":48,"tag":1188,"props":1608,"children":1609},{},[1610],{"type":62,"value":1611},"App needs structured log search or log-to-trace correlation",{"type":48,"tag":1166,"props":1613,"children":1614},{},[1615,1619],{"type":48,"tag":1188,"props":1616,"children":1617},{},[1618],{"type":62,"value":1490},{"type":48,"tag":1188,"props":1620,"children":1621},{},[1622,1624],{"type":62,"value":1623},"Cron triggers configured in ",{"type":48,"tag":108,"props":1625,"children":1627},{"className":1626},[],[1628],{"type":62,"value":1629},"wrangler.toml",{"type":48,"tag":1166,"props":1631,"children":1632},{},[1633,1637],{"type":48,"tag":1188,"props":1634,"children":1635},{},[1636],{"type":62,"value":1501},{"type":48,"tag":1188,"props":1638,"children":1639},{},[1640],{"type":62,"value":1641},"D1 database bindings present",{"type":48,"tag":1166,"props":1643,"children":1644},{},[1645,1649],{"type":48,"tag":1188,"props":1646,"children":1647},{},[1648],{"type":62,"value":1512},{"type":48,"tag":1188,"props":1650,"children":1651},{},[1652],{"type":62,"value":1653},"Durable Object bindings configured",{"type":48,"tag":1166,"props":1655,"children":1656},{},[1657,1661],{"type":48,"tag":1188,"props":1658,"children":1659},{},[1660],{"type":62,"value":1523},{"type":48,"tag":1188,"props":1662,"children":1663},{},[1664],{"type":62,"value":1665},"Workflow bindings configured",{"type":48,"tag":1166,"props":1667,"children":1668},{},[1669,1673],{"type":48,"tag":1188,"props":1670,"children":1671},{},[1672],{"type":62,"value":1534},{"type":48,"tag":1188,"props":1674,"children":1675},{},[1676],{"type":62,"value":1677},"App uses Vercel AI SDK, OpenAI, Anthropic, or LangChain",{"type":48,"tag":1166,"props":1679,"children":1680},{},[1681,1686],{"type":48,"tag":1188,"props":1682,"children":1683},{},[1684],{"type":62,"value":1685},"Metrics",{"type":48,"tag":1188,"props":1687,"children":1688},{},[1689],{"type":62,"value":1690},"App needs custom counters, gauges, or distributions",{"type":48,"tag":53,"props":1692,"children":1693},{},[1694,1696],{"type":62,"value":1695},"Propose: ",{"type":48,"tag":1697,"props":1698,"children":1699},"em",{},[1700],{"type":62,"value":1701},"\"I recommend setting up Error Monitoring + Tracing. Want me to also add D1 instrumentation and Crons monitoring?\"",{"type":48,"tag":190,"props":1703,"children":1704},{},[],{"type":48,"tag":86,"props":1706,"children":1708},{"id":1707},"phase-3-guide",[1709],{"type":62,"value":1710},"Phase 3: Guide",{"type":48,"tag":1712,"props":1713,"children":1715},"h3",{"id":1714},"option-1-source-maps-wizard",[1716],{"type":62,"value":1717},"Option 1: Source Maps Wizard",{"type":48,"tag":49,"props":1719,"children":1720},{},[1721,1731,1741,1753],{"type":48,"tag":53,"props":1722,"children":1723},{},[1724,1729],{"type":48,"tag":165,"props":1725,"children":1726},{},[1727],{"type":62,"value":1728},"You need to run this yourself",{"type":62,"value":1730}," — the wizard opens a browser for login and requires interactive input that the agent can't handle. Copy-paste into your terminal:",{"type":48,"tag":205,"props":1732,"children":1736},{"className":1733,"code":1735,"language":62},[1734],"language-text","npx @sentry\u002Fwizard@latest -i sourcemaps\n",[1737],{"type":48,"tag":108,"props":1738,"children":1739},{"__ignoreMap":210},[1740],{"type":62,"value":1735},{"type":48,"tag":53,"props":1742,"children":1743},{},[1744,1746,1751],{"type":62,"value":1745},"This sets up source map uploading so your production stack traces show readable code. It does ",{"type":48,"tag":165,"props":1747,"children":1748},{},[1749],{"type":62,"value":1750},"not",{"type":62,"value":1752}," set up the SDK initialization — you still need to follow Option 2 below for the actual SDK setup.",{"type":48,"tag":53,"props":1754,"children":1755},{},[1756],{"type":48,"tag":165,"props":1757,"children":1758},{},[1759],{"type":62,"value":1760},"Once it finishes, continue with Option 2 for SDK setup.",{"type":48,"tag":49,"props":1762,"children":1763},{},[1764],{"type":48,"tag":53,"props":1765,"children":1766},{},[1767,1771,1773,1779],{"type":48,"tag":165,"props":1768,"children":1769},{},[1770],{"type":62,"value":169},{"type":62,"value":1772}," Unlike framework SDKs (Next.js, SvelteKit), there is no Cloudflare-specific wizard integration. The ",{"type":48,"tag":108,"props":1774,"children":1776},{"className":1775},[],[1777],{"type":62,"value":1778},"sourcemaps",{"type":62,"value":1780}," wizard only handles source map upload configuration.",{"type":48,"tag":190,"props":1782,"children":1783},{},[],{"type":48,"tag":1712,"props":1785,"children":1787},{"id":1786},"option-2-manual-setup",[1788],{"type":62,"value":1789},"Option 2: Manual Setup",{"type":48,"tag":1791,"props":1792,"children":1794},"h4",{"id":1793},"prerequisites-compatibility-flags",[1795],{"type":62,"value":1796},"Prerequisites: Compatibility Flags",{"type":48,"tag":53,"props":1798,"children":1799},{},[1800,1802,1807,1809,1814],{"type":62,"value":1801},"The SDK requires ",{"type":48,"tag":108,"props":1803,"children":1805},{"className":1804},[],[1806],{"type":62,"value":1376},{"type":62,"value":1808},". Add ",{"type":48,"tag":165,"props":1810,"children":1811},{},[1812],{"type":62,"value":1813},"one",{"type":62,"value":1815}," of these flags to your Wrangler config:",{"type":48,"tag":53,"props":1817,"children":1818},{},[1819],{"type":48,"tag":165,"props":1820,"children":1821},{},[1822],{"type":62,"value":1823},"wrangler.toml:",{"type":48,"tag":205,"props":1825,"children":1829},{"className":1826,"code":1827,"language":1828,"meta":210,"style":210},"language-toml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","compatibility_flags = [\"nodejs_als\"]\n# or: compatibility_flags = [\"nodejs_compat\"]\n","toml",[1830],{"type":48,"tag":108,"props":1831,"children":1832},{"__ignoreMap":210},[1833,1841],{"type":48,"tag":216,"props":1834,"children":1835},{"class":218,"line":219},[1836],{"type":48,"tag":216,"props":1837,"children":1838},{},[1839],{"type":62,"value":1840},"compatibility_flags = [\"nodejs_als\"]\n",{"type":48,"tag":216,"props":1842,"children":1843},{"class":218,"line":229},[1844],{"type":48,"tag":216,"props":1845,"children":1846},{},[1847],{"type":62,"value":1848},"# or: compatibility_flags = [\"nodejs_compat\"]\n",{"type":48,"tag":53,"props":1850,"children":1851},{},[1852],{"type":48,"tag":165,"props":1853,"children":1854},{},[1855],{"type":62,"value":1856},"wrangler.jsonc:",{"type":48,"tag":205,"props":1858,"children":1862},{"className":1859,"code":1860,"language":1861,"meta":210,"style":210},"language-jsonc shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"compatibility_flags\": [\"nodejs_als\"]\n}\n","jsonc",[1863],{"type":48,"tag":108,"props":1864,"children":1865},{"__ignoreMap":210},[1866,1874,1882],{"type":48,"tag":216,"props":1867,"children":1868},{"class":218,"line":219},[1869],{"type":48,"tag":216,"props":1870,"children":1871},{},[1872],{"type":62,"value":1873},"{\n",{"type":48,"tag":216,"props":1875,"children":1876},{"class":218,"line":229},[1877],{"type":48,"tag":216,"props":1878,"children":1879},{},[1880],{"type":62,"value":1881},"  \"compatibility_flags\": [\"nodejs_als\"]\n",{"type":48,"tag":216,"props":1883,"children":1884},{"class":218,"line":266},[1885],{"type":48,"tag":216,"props":1886,"children":1887},{},[1888],{"type":62,"value":1889},"}\n",{"type":48,"tag":49,"props":1891,"children":1892},{},[1893],{"type":48,"tag":53,"props":1894,"children":1895},{},[1896,1901,1903,1908,1910,1915],{"type":48,"tag":108,"props":1897,"children":1899},{"className":1898},[],[1900],{"type":62,"value":1350},{"type":62,"value":1902}," is lighter — it only enables ",{"type":48,"tag":108,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":62,"value":1376},{"type":62,"value":1909},". Use ",{"type":48,"tag":108,"props":1911,"children":1913},{"className":1912},[],[1914],{"type":62,"value":1358},{"type":62,"value":1916}," if your code also needs other Node.js APIs.",{"type":48,"tag":1791,"props":1918,"children":1920},{"id":1919},"install",[1921],{"type":62,"value":1922},"Install",{"type":48,"tag":205,"props":1924,"children":1926},{"className":207,"code":1925,"language":209,"meta":210,"style":210},"npm install @sentry\u002Fcloudflare\n",[1927],{"type":48,"tag":108,"props":1928,"children":1929},{"__ignoreMap":210},[1930],{"type":48,"tag":216,"props":1931,"children":1932},{"class":218,"line":219},[1933,1938,1943],{"type":48,"tag":216,"props":1934,"children":1935},{"style":233},[1936],{"type":62,"value":1937},"npm",{"type":48,"tag":216,"props":1939,"children":1940},{"style":239},[1941],{"type":62,"value":1942}," install",{"type":48,"tag":216,"props":1944,"children":1945},{"style":239},[1946],{"type":62,"value":1947}," @sentry\u002Fcloudflare\n",{"type":48,"tag":1791,"props":1949,"children":1951},{"id":1950},"workers-setup",[1952],{"type":62,"value":1953},"Workers Setup",{"type":48,"tag":53,"props":1955,"children":1956},{},[1957,1959,1964,1966,1972,1973,1979,1980,1986,1987,1993,1995,2001],{"type":62,"value":1958},"Wrap your handler with ",{"type":48,"tag":108,"props":1960,"children":1962},{"className":1961},[],[1963],{"type":62,"value":129},{"type":62,"value":1965},". This automatically instruments ",{"type":48,"tag":108,"props":1967,"children":1969},{"className":1968},[],[1970],{"type":62,"value":1971},"fetch",{"type":62,"value":131},{"type":48,"tag":108,"props":1974,"children":1976},{"className":1975},[],[1977],{"type":62,"value":1978},"scheduled",{"type":62,"value":131},{"type":48,"tag":108,"props":1981,"children":1983},{"className":1982},[],[1984],{"type":62,"value":1985},"queue",{"type":62,"value":131},{"type":48,"tag":108,"props":1988,"children":1990},{"className":1989},[],[1991],{"type":62,"value":1992},"email",{"type":62,"value":1994},", and ",{"type":48,"tag":108,"props":1996,"children":1998},{"className":1997},[],[1999],{"type":62,"value":2000},"tail",{"type":62,"value":2002}," handlers:",{"type":48,"tag":205,"props":2004,"children":2008},{"className":2005,"code":2006,"language":2007,"meta":210,"style":210},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n    enableLogs: true,\n    dataCollection: {\n      \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n      \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n      \u002F\u002F userInfo: false,\n      \u002F\u002F httpBodies: [],\n    },\n  }),\n  {\n    async fetch(request, env, ctx) {\n      return new Response(\"Hello World!\");\n    },\n  } satisfies ExportedHandler\u003CEnv>,\n);\n","typescript",[2009],{"type":48,"tag":108,"props":2010,"children":2011},{"__ignoreMap":210},[2012,2060,2067,2099,2143,2175,2197,2219,2236,2244,2252,2260,2268,2276,2292,2300,2349,2392,2399,2431],{"type":48,"tag":216,"props":2013,"children":2014},{"class":218,"line":219},[2015,2021,2026,2031,2037,2042,2046,2050,2055],{"type":48,"tag":216,"props":2016,"children":2018},{"style":2017},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[2019],{"type":62,"value":2020},"import",{"type":48,"tag":216,"props":2022,"children":2023},{"style":255},[2024],{"type":62,"value":2025}," *",{"type":48,"tag":216,"props":2027,"children":2028},{"style":2017},[2029],{"type":62,"value":2030}," as",{"type":48,"tag":216,"props":2032,"children":2034},{"style":2033},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[2035],{"type":62,"value":2036}," Sentry ",{"type":48,"tag":216,"props":2038,"children":2039},{"style":2017},[2040],{"type":62,"value":2041},"from",{"type":48,"tag":216,"props":2043,"children":2044},{"style":255},[2045],{"type":62,"value":398},{"type":48,"tag":216,"props":2047,"children":2048},{"style":239},[2049],{"type":62,"value":113},{"type":48,"tag":216,"props":2051,"children":2052},{"style":255},[2053],{"type":62,"value":2054},"\"",{"type":48,"tag":216,"props":2056,"children":2057},{"style":255},[2058],{"type":62,"value":2059},";\n",{"type":48,"tag":216,"props":2061,"children":2062},{"class":218,"line":229},[2063],{"type":48,"tag":216,"props":2064,"children":2065},{"emptyLinePlaceholder":43},[2066],{"type":62,"value":272},{"type":48,"tag":216,"props":2068,"children":2069},{"class":218,"line":266},[2070,2075,2080,2085,2090,2094],{"type":48,"tag":216,"props":2071,"children":2072},{"style":2017},[2073],{"type":62,"value":2074},"export",{"type":48,"tag":216,"props":2076,"children":2077},{"style":2017},[2078],{"type":62,"value":2079}," default",{"type":48,"tag":216,"props":2081,"children":2082},{"style":2033},[2083],{"type":62,"value":2084}," Sentry",{"type":48,"tag":216,"props":2086,"children":2087},{"style":255},[2088],{"type":62,"value":2089},".",{"type":48,"tag":216,"props":2091,"children":2092},{"style":390},[2093],{"type":62,"value":129},{"type":48,"tag":216,"props":2095,"children":2096},{"style":2033},[2097],{"type":62,"value":2098},"(\n",{"type":48,"tag":216,"props":2100,"children":2101},{"class":218,"line":275},[2102,2107,2113,2118,2123,2128,2134,2139],{"type":48,"tag":216,"props":2103,"children":2104},{"style":255},[2105],{"type":62,"value":2106},"  (",{"type":48,"tag":216,"props":2108,"children":2110},{"style":2109},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2111],{"type":62,"value":2112},"env",{"type":48,"tag":216,"props":2114,"children":2115},{"style":255},[2116],{"type":62,"value":2117},":",{"type":48,"tag":216,"props":2119,"children":2120},{"style":233},[2121],{"type":62,"value":2122}," Env",{"type":48,"tag":216,"props":2124,"children":2125},{"style":255},[2126],{"type":62,"value":2127},")",{"type":48,"tag":216,"props":2129,"children":2131},{"style":2130},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[2132],{"type":62,"value":2133}," =>",{"type":48,"tag":216,"props":2135,"children":2136},{"style":2033},[2137],{"type":62,"value":2138}," (",{"type":48,"tag":216,"props":2140,"children":2141},{"style":255},[2142],{"type":62,"value":1873},{"type":48,"tag":216,"props":2144,"children":2145},{"class":218,"line":284},[2146,2152,2156,2161,2165,2170],{"type":48,"tag":216,"props":2147,"children":2149},{"style":2148},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[2150],{"type":62,"value":2151},"    dsn",{"type":48,"tag":216,"props":2153,"children":2154},{"style":255},[2155],{"type":62,"value":2117},{"type":48,"tag":216,"props":2157,"children":2158},{"style":2033},[2159],{"type":62,"value":2160}," env",{"type":48,"tag":216,"props":2162,"children":2163},{"style":255},[2164],{"type":62,"value":2089},{"type":48,"tag":216,"props":2166,"children":2167},{"style":2033},[2168],{"type":62,"value":2169},"SENTRY_DSN",{"type":48,"tag":216,"props":2171,"children":2172},{"style":255},[2173],{"type":62,"value":2174},",\n",{"type":48,"tag":216,"props":2176,"children":2177},{"class":218,"line":337},[2178,2183,2187,2193],{"type":48,"tag":216,"props":2179,"children":2180},{"style":2148},[2181],{"type":62,"value":2182},"    tracesSampleRate",{"type":48,"tag":216,"props":2184,"children":2185},{"style":255},[2186],{"type":62,"value":2117},{"type":48,"tag":216,"props":2188,"children":2190},{"style":2189},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2191],{"type":62,"value":2192}," 1.0",{"type":48,"tag":216,"props":2194,"children":2195},{"style":255},[2196],{"type":62,"value":2174},{"type":48,"tag":216,"props":2198,"children":2199},{"class":218,"line":345},[2200,2205,2209,2215],{"type":48,"tag":216,"props":2201,"children":2202},{"style":2148},[2203],{"type":62,"value":2204},"    enableLogs",{"type":48,"tag":216,"props":2206,"children":2207},{"style":255},[2208],{"type":62,"value":2117},{"type":48,"tag":216,"props":2210,"children":2212},{"style":2211},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[2213],{"type":62,"value":2214}," true",{"type":48,"tag":216,"props":2216,"children":2217},{"style":255},[2218],{"type":62,"value":2174},{"type":48,"tag":216,"props":2220,"children":2221},{"class":218,"line":354},[2222,2227,2231],{"type":48,"tag":216,"props":2223,"children":2224},{"style":2148},[2225],{"type":62,"value":2226},"    dataCollection",{"type":48,"tag":216,"props":2228,"children":2229},{"style":255},[2230],{"type":62,"value":2117},{"type":48,"tag":216,"props":2232,"children":2233},{"style":255},[2234],{"type":62,"value":2235}," {\n",{"type":48,"tag":216,"props":2237,"children":2238},{"class":218,"line":411},[2239],{"type":48,"tag":216,"props":2240,"children":2241},{"style":223},[2242],{"type":62,"value":2243},"      \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n",{"type":48,"tag":216,"props":2245,"children":2246},{"class":218,"line":456},[2247],{"type":48,"tag":216,"props":2248,"children":2249},{"style":223},[2250],{"type":62,"value":2251},"      \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n",{"type":48,"tag":216,"props":2253,"children":2254},{"class":218,"line":464},[2255],{"type":48,"tag":216,"props":2256,"children":2257},{"style":223},[2258],{"type":62,"value":2259},"      \u002F\u002F userInfo: false,\n",{"type":48,"tag":216,"props":2261,"children":2262},{"class":218,"line":473},[2263],{"type":48,"tag":216,"props":2264,"children":2265},{"style":223},[2266],{"type":62,"value":2267},"      \u002F\u002F httpBodies: [],\n",{"type":48,"tag":216,"props":2269,"children":2270},{"class":218,"line":518},[2271],{"type":48,"tag":216,"props":2272,"children":2273},{"style":255},[2274],{"type":62,"value":2275},"    },\n",{"type":48,"tag":216,"props":2277,"children":2278},{"class":218,"line":526},[2279,2284,2288],{"type":48,"tag":216,"props":2280,"children":2281},{"style":255},[2282],{"type":62,"value":2283},"  }",{"type":48,"tag":216,"props":2285,"children":2286},{"style":2033},[2287],{"type":62,"value":2127},{"type":48,"tag":216,"props":2289,"children":2290},{"style":255},[2291],{"type":62,"value":2174},{"type":48,"tag":216,"props":2293,"children":2294},{"class":218,"line":535},[2295],{"type":48,"tag":216,"props":2296,"children":2297},{"style":255},[2298],{"type":62,"value":2299},"  {\n",{"type":48,"tag":216,"props":2301,"children":2302},{"class":218,"line":581},[2303,2308,2313,2318,2323,2328,2332,2336,2341,2345],{"type":48,"tag":216,"props":2304,"children":2305},{"style":2130},[2306],{"type":62,"value":2307},"    async",{"type":48,"tag":216,"props":2309,"children":2310},{"style":2148},[2311],{"type":62,"value":2312}," fetch",{"type":48,"tag":216,"props":2314,"children":2315},{"style":255},[2316],{"type":62,"value":2317},"(",{"type":48,"tag":216,"props":2319,"children":2320},{"style":2109},[2321],{"type":62,"value":2322},"request",{"type":48,"tag":216,"props":2324,"children":2325},{"style":255},[2326],{"type":62,"value":2327},",",{"type":48,"tag":216,"props":2329,"children":2330},{"style":2109},[2331],{"type":62,"value":2160},{"type":48,"tag":216,"props":2333,"children":2334},{"style":255},[2335],{"type":62,"value":2327},{"type":48,"tag":216,"props":2337,"children":2338},{"style":2109},[2339],{"type":62,"value":2340}," ctx",{"type":48,"tag":216,"props":2342,"children":2343},{"style":255},[2344],{"type":62,"value":2127},{"type":48,"tag":216,"props":2346,"children":2347},{"style":255},[2348],{"type":62,"value":2235},{"type":48,"tag":216,"props":2350,"children":2351},{"class":218,"line":589},[2352,2357,2362,2367,2371,2375,2380,2384,2388],{"type":48,"tag":216,"props":2353,"children":2354},{"style":2017},[2355],{"type":62,"value":2356},"      return",{"type":48,"tag":216,"props":2358,"children":2359},{"style":255},[2360],{"type":62,"value":2361}," new",{"type":48,"tag":216,"props":2363,"children":2364},{"style":390},[2365],{"type":62,"value":2366}," Response",{"type":48,"tag":216,"props":2368,"children":2369},{"style":2148},[2370],{"type":62,"value":2317},{"type":48,"tag":216,"props":2372,"children":2373},{"style":255},[2374],{"type":62,"value":2054},{"type":48,"tag":216,"props":2376,"children":2377},{"style":239},[2378],{"type":62,"value":2379},"Hello World!",{"type":48,"tag":216,"props":2381,"children":2382},{"style":255},[2383],{"type":62,"value":2054},{"type":48,"tag":216,"props":2385,"children":2386},{"style":2148},[2387],{"type":62,"value":2127},{"type":48,"tag":216,"props":2389,"children":2390},{"style":255},[2391],{"type":62,"value":2059},{"type":48,"tag":216,"props":2393,"children":2394},{"class":218,"line":598},[2395],{"type":48,"tag":216,"props":2396,"children":2397},{"style":255},[2398],{"type":62,"value":2275},{"type":48,"tag":216,"props":2400,"children":2401},{"class":218,"line":643},[2402,2406,2411,2416,2421,2426],{"type":48,"tag":216,"props":2403,"children":2404},{"style":255},[2405],{"type":62,"value":2283},{"type":48,"tag":216,"props":2407,"children":2408},{"style":2017},[2409],{"type":62,"value":2410}," satisfies",{"type":48,"tag":216,"props":2412,"children":2413},{"style":233},[2414],{"type":62,"value":2415}," ExportedHandler",{"type":48,"tag":216,"props":2417,"children":2418},{"style":255},[2419],{"type":62,"value":2420},"\u003C",{"type":48,"tag":216,"props":2422,"children":2423},{"style":233},[2424],{"type":62,"value":2425},"Env",{"type":48,"tag":216,"props":2427,"children":2428},{"style":255},[2429],{"type":62,"value":2430},">,\n",{"type":48,"tag":216,"props":2432,"children":2433},{"class":218,"line":651},[2434,2438],{"type":48,"tag":216,"props":2435,"children":2436},{"style":2033},[2437],{"type":62,"value":2127},{"type":48,"tag":216,"props":2439,"children":2440},{"style":255},[2441],{"type":62,"value":2059},{"type":48,"tag":53,"props":2443,"children":2444},{},[2445],{"type":48,"tag":165,"props":2446,"children":2447},{},[2448],{"type":62,"value":2449},"Key points:",{"type":48,"tag":93,"props":2451,"children":2452},{},[2453,2470,2489],{"type":48,"tag":97,"props":2454,"children":2455},{},[2456,2458,2463,2465],{"type":62,"value":2457},"The first argument is a callback that receives ",{"type":48,"tag":108,"props":2459,"children":2461},{"className":2460},[],[2462],{"type":62,"value":2112},{"type":62,"value":2464}," — use this to read secrets like ",{"type":48,"tag":108,"props":2466,"children":2468},{"className":2467},[],[2469],{"type":62,"value":2169},{"type":48,"tag":97,"props":2471,"children":2472},{},[2473,2475,2480,2482,2488],{"type":62,"value":2474},"The SDK reads DSN, environment, release, debug, tunnel, and traces sample rate from ",{"type":48,"tag":108,"props":2476,"children":2478},{"className":2477},[],[2479],{"type":62,"value":2112},{"type":62,"value":2481}," automatically (see ",{"type":48,"tag":57,"props":2483,"children":2485},{"href":2484},"#environment-variables",[2486],{"type":62,"value":2487},"Environment Variables",{"type":62,"value":2127},{"type":48,"tag":97,"props":2490,"children":2491},{},[2492,2497,2499,2504,2505,2510],{"type":48,"tag":108,"props":2493,"children":2495},{"className":2494},[],[2496],{"type":62,"value":129},{"type":62,"value":2498}," wraps all exported handlers — you do not need separate wrappers for ",{"type":48,"tag":108,"props":2500,"children":2502},{"className":2501},[],[2503],{"type":62,"value":1978},{"type":62,"value":131},{"type":48,"tag":108,"props":2506,"children":2508},{"className":2507},[],[2509],{"type":62,"value":1985},{"type":62,"value":2511},", etc.",{"type":48,"tag":1791,"props":2513,"children":2515},{"id":2514},"pages-setup",[2516],{"type":62,"value":2517},"Pages Setup",{"type":48,"tag":53,"props":2519,"children":2520},{},[2521,2523,2528],{"type":62,"value":2522},"Use ",{"type":48,"tag":108,"props":2524,"children":2526},{"className":2525},[],[2527],{"type":62,"value":137},{"type":62,"value":2529}," as middleware:",{"type":48,"tag":205,"props":2531,"children":2533},{"className":2005,"code":2532,"language":2007,"meta":210,"style":210},"\u002F\u002F functions\u002F_middleware.ts\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const onRequest = Sentry.sentryPagesPlugin((context) => ({\n  dsn: context.env.SENTRY_DSN,\n  tracesSampleRate: 1.0,\n  enableLogs: true,\n  dataCollection: {\n    \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n    \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n    \u002F\u002F userInfo: false,\n    \u002F\u002F httpBodies: [],\n  },\n}));\n",[2534],{"type":48,"tag":108,"props":2535,"children":2536},{"__ignoreMap":210},[2537,2545,2584,2591,2654,2691,2711,2731,2747,2755,2763,2771,2779,2787],{"type":48,"tag":216,"props":2538,"children":2539},{"class":218,"line":219},[2540],{"type":48,"tag":216,"props":2541,"children":2542},{"style":223},[2543],{"type":62,"value":2544},"\u002F\u002F functions\u002F_middleware.ts\n",{"type":48,"tag":216,"props":2546,"children":2547},{"class":218,"line":229},[2548,2552,2556,2560,2564,2568,2572,2576,2580],{"type":48,"tag":216,"props":2549,"children":2550},{"style":2017},[2551],{"type":62,"value":2020},{"type":48,"tag":216,"props":2553,"children":2554},{"style":255},[2555],{"type":62,"value":2025},{"type":48,"tag":216,"props":2557,"children":2558},{"style":2017},[2559],{"type":62,"value":2030},{"type":48,"tag":216,"props":2561,"children":2562},{"style":2033},[2563],{"type":62,"value":2036},{"type":48,"tag":216,"props":2565,"children":2566},{"style":2017},[2567],{"type":62,"value":2041},{"type":48,"tag":216,"props":2569,"children":2570},{"style":255},[2571],{"type":62,"value":398},{"type":48,"tag":216,"props":2573,"children":2574},{"style":239},[2575],{"type":62,"value":113},{"type":48,"tag":216,"props":2577,"children":2578},{"style":255},[2579],{"type":62,"value":2054},{"type":48,"tag":216,"props":2581,"children":2582},{"style":255},[2583],{"type":62,"value":2059},{"type":48,"tag":216,"props":2585,"children":2586},{"class":218,"line":266},[2587],{"type":48,"tag":216,"props":2588,"children":2589},{"emptyLinePlaceholder":43},[2590],{"type":62,"value":272},{"type":48,"tag":216,"props":2592,"children":2593},{"class":218,"line":275},[2594,2598,2603,2608,2613,2617,2621,2625,2629,2633,2638,2642,2646,2650],{"type":48,"tag":216,"props":2595,"children":2596},{"style":2017},[2597],{"type":62,"value":2074},{"type":48,"tag":216,"props":2599,"children":2600},{"style":2130},[2601],{"type":62,"value":2602}," const",{"type":48,"tag":216,"props":2604,"children":2605},{"style":2033},[2606],{"type":62,"value":2607}," onRequest ",{"type":48,"tag":216,"props":2609,"children":2610},{"style":255},[2611],{"type":62,"value":2612},"=",{"type":48,"tag":216,"props":2614,"children":2615},{"style":2033},[2616],{"type":62,"value":2084},{"type":48,"tag":216,"props":2618,"children":2619},{"style":255},[2620],{"type":62,"value":2089},{"type":48,"tag":216,"props":2622,"children":2623},{"style":390},[2624],{"type":62,"value":137},{"type":48,"tag":216,"props":2626,"children":2627},{"style":2033},[2628],{"type":62,"value":2317},{"type":48,"tag":216,"props":2630,"children":2631},{"style":255},[2632],{"type":62,"value":2317},{"type":48,"tag":216,"props":2634,"children":2635},{"style":2109},[2636],{"type":62,"value":2637},"context",{"type":48,"tag":216,"props":2639,"children":2640},{"style":255},[2641],{"type":62,"value":2127},{"type":48,"tag":216,"props":2643,"children":2644},{"style":2130},[2645],{"type":62,"value":2133},{"type":48,"tag":216,"props":2647,"children":2648},{"style":2033},[2649],{"type":62,"value":2138},{"type":48,"tag":216,"props":2651,"children":2652},{"style":255},[2653],{"type":62,"value":1873},{"type":48,"tag":216,"props":2655,"children":2656},{"class":218,"line":284},[2657,2662,2666,2671,2675,2679,2683,2687],{"type":48,"tag":216,"props":2658,"children":2659},{"style":2148},[2660],{"type":62,"value":2661},"  dsn",{"type":48,"tag":216,"props":2663,"children":2664},{"style":255},[2665],{"type":62,"value":2117},{"type":48,"tag":216,"props":2667,"children":2668},{"style":2033},[2669],{"type":62,"value":2670}," context",{"type":48,"tag":216,"props":2672,"children":2673},{"style":255},[2674],{"type":62,"value":2089},{"type":48,"tag":216,"props":2676,"children":2677},{"style":2033},[2678],{"type":62,"value":2112},{"type":48,"tag":216,"props":2680,"children":2681},{"style":255},[2682],{"type":62,"value":2089},{"type":48,"tag":216,"props":2684,"children":2685},{"style":2033},[2686],{"type":62,"value":2169},{"type":48,"tag":216,"props":2688,"children":2689},{"style":255},[2690],{"type":62,"value":2174},{"type":48,"tag":216,"props":2692,"children":2693},{"class":218,"line":337},[2694,2699,2703,2707],{"type":48,"tag":216,"props":2695,"children":2696},{"style":2148},[2697],{"type":62,"value":2698},"  tracesSampleRate",{"type":48,"tag":216,"props":2700,"children":2701},{"style":255},[2702],{"type":62,"value":2117},{"type":48,"tag":216,"props":2704,"children":2705},{"style":2189},[2706],{"type":62,"value":2192},{"type":48,"tag":216,"props":2708,"children":2709},{"style":255},[2710],{"type":62,"value":2174},{"type":48,"tag":216,"props":2712,"children":2713},{"class":218,"line":345},[2714,2719,2723,2727],{"type":48,"tag":216,"props":2715,"children":2716},{"style":2148},[2717],{"type":62,"value":2718},"  enableLogs",{"type":48,"tag":216,"props":2720,"children":2721},{"style":255},[2722],{"type":62,"value":2117},{"type":48,"tag":216,"props":2724,"children":2725},{"style":2211},[2726],{"type":62,"value":2214},{"type":48,"tag":216,"props":2728,"children":2729},{"style":255},[2730],{"type":62,"value":2174},{"type":48,"tag":216,"props":2732,"children":2733},{"class":218,"line":354},[2734,2739,2743],{"type":48,"tag":216,"props":2735,"children":2736},{"style":2148},[2737],{"type":62,"value":2738},"  dataCollection",{"type":48,"tag":216,"props":2740,"children":2741},{"style":255},[2742],{"type":62,"value":2117},{"type":48,"tag":216,"props":2744,"children":2745},{"style":255},[2746],{"type":62,"value":2235},{"type":48,"tag":216,"props":2748,"children":2749},{"class":218,"line":411},[2750],{"type":48,"tag":216,"props":2751,"children":2752},{"style":223},[2753],{"type":62,"value":2754},"    \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n",{"type":48,"tag":216,"props":2756,"children":2757},{"class":218,"line":456},[2758],{"type":48,"tag":216,"props":2759,"children":2760},{"style":223},[2761],{"type":62,"value":2762},"    \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fcloudflare\u002Fconfiguration\u002Foptions\u002F#dataCollection\n",{"type":48,"tag":216,"props":2764,"children":2765},{"class":218,"line":464},[2766],{"type":48,"tag":216,"props":2767,"children":2768},{"style":223},[2769],{"type":62,"value":2770},"    \u002F\u002F userInfo: false,\n",{"type":48,"tag":216,"props":2772,"children":2773},{"class":218,"line":473},[2774],{"type":48,"tag":216,"props":2775,"children":2776},{"style":223},[2777],{"type":62,"value":2778},"    \u002F\u002F httpBodies: [],\n",{"type":48,"tag":216,"props":2780,"children":2781},{"class":218,"line":518},[2782],{"type":48,"tag":216,"props":2783,"children":2784},{"style":255},[2785],{"type":62,"value":2786},"  },\n",{"type":48,"tag":216,"props":2788,"children":2789},{"class":218,"line":526},[2790,2795,2800],{"type":48,"tag":216,"props":2791,"children":2792},{"style":255},[2793],{"type":62,"value":2794},"}",{"type":48,"tag":216,"props":2796,"children":2797},{"style":2033},[2798],{"type":62,"value":2799},"))",{"type":48,"tag":216,"props":2801,"children":2802},{"style":255},[2803],{"type":62,"value":2059},{"type":48,"tag":53,"props":2805,"children":2806},{},[2807],{"type":48,"tag":165,"props":2808,"children":2809},{},[2810],{"type":62,"value":2811},"Chaining multiple middlewares:",{"type":48,"tag":205,"props":2813,"children":2815},{"className":2005,"code":2814,"language":2007,"meta":210,"style":210},"import * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const onRequest = [\n  \u002F\u002F Sentry must be first\n  Sentry.sentryPagesPlugin((context) => ({\n    dsn: context.env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  })),\n  \u002F\u002F Add more middlewares here\n];\n",[2816],{"type":48,"tag":108,"props":2817,"children":2818},{"__ignoreMap":210},[2819,2858,2865,2889,2897,2941,2976,2995,3010,3018],{"type":48,"tag":216,"props":2820,"children":2821},{"class":218,"line":219},[2822,2826,2830,2834,2838,2842,2846,2850,2854],{"type":48,"tag":216,"props":2823,"children":2824},{"style":2017},[2825],{"type":62,"value":2020},{"type":48,"tag":216,"props":2827,"children":2828},{"style":255},[2829],{"type":62,"value":2025},{"type":48,"tag":216,"props":2831,"children":2832},{"style":2017},[2833],{"type":62,"value":2030},{"type":48,"tag":216,"props":2835,"children":2836},{"style":2033},[2837],{"type":62,"value":2036},{"type":48,"tag":216,"props":2839,"children":2840},{"style":2017},[2841],{"type":62,"value":2041},{"type":48,"tag":216,"props":2843,"children":2844},{"style":255},[2845],{"type":62,"value":398},{"type":48,"tag":216,"props":2847,"children":2848},{"style":239},[2849],{"type":62,"value":113},{"type":48,"tag":216,"props":2851,"children":2852},{"style":255},[2853],{"type":62,"value":2054},{"type":48,"tag":216,"props":2855,"children":2856},{"style":255},[2857],{"type":62,"value":2059},{"type":48,"tag":216,"props":2859,"children":2860},{"class":218,"line":229},[2861],{"type":48,"tag":216,"props":2862,"children":2863},{"emptyLinePlaceholder":43},[2864],{"type":62,"value":272},{"type":48,"tag":216,"props":2866,"children":2867},{"class":218,"line":266},[2868,2872,2876,2880,2884],{"type":48,"tag":216,"props":2869,"children":2870},{"style":2017},[2871],{"type":62,"value":2074},{"type":48,"tag":216,"props":2873,"children":2874},{"style":2130},[2875],{"type":62,"value":2602},{"type":48,"tag":216,"props":2877,"children":2878},{"style":2033},[2879],{"type":62,"value":2607},{"type":48,"tag":216,"props":2881,"children":2882},{"style":255},[2883],{"type":62,"value":2612},{"type":48,"tag":216,"props":2885,"children":2886},{"style":2033},[2887],{"type":62,"value":2888}," [\n",{"type":48,"tag":216,"props":2890,"children":2891},{"class":218,"line":275},[2892],{"type":48,"tag":216,"props":2893,"children":2894},{"style":223},[2895],{"type":62,"value":2896},"  \u002F\u002F Sentry must be first\n",{"type":48,"tag":216,"props":2898,"children":2899},{"class":218,"line":284},[2900,2905,2909,2913,2917,2921,2925,2929,2933,2937],{"type":48,"tag":216,"props":2901,"children":2902},{"style":2033},[2903],{"type":62,"value":2904},"  Sentry",{"type":48,"tag":216,"props":2906,"children":2907},{"style":255},[2908],{"type":62,"value":2089},{"type":48,"tag":216,"props":2910,"children":2911},{"style":390},[2912],{"type":62,"value":137},{"type":48,"tag":216,"props":2914,"children":2915},{"style":2033},[2916],{"type":62,"value":2317},{"type":48,"tag":216,"props":2918,"children":2919},{"style":255},[2920],{"type":62,"value":2317},{"type":48,"tag":216,"props":2922,"children":2923},{"style":2109},[2924],{"type":62,"value":2637},{"type":48,"tag":216,"props":2926,"children":2927},{"style":255},[2928],{"type":62,"value":2127},{"type":48,"tag":216,"props":2930,"children":2931},{"style":2130},[2932],{"type":62,"value":2133},{"type":48,"tag":216,"props":2934,"children":2935},{"style":2033},[2936],{"type":62,"value":2138},{"type":48,"tag":216,"props":2938,"children":2939},{"style":255},[2940],{"type":62,"value":1873},{"type":48,"tag":216,"props":2942,"children":2943},{"class":218,"line":337},[2944,2948,2952,2956,2960,2964,2968,2972],{"type":48,"tag":216,"props":2945,"children":2946},{"style":2148},[2947],{"type":62,"value":2151},{"type":48,"tag":216,"props":2949,"children":2950},{"style":255},[2951],{"type":62,"value":2117},{"type":48,"tag":216,"props":2953,"children":2954},{"style":2033},[2955],{"type":62,"value":2670},{"type":48,"tag":216,"props":2957,"children":2958},{"style":255},[2959],{"type":62,"value":2089},{"type":48,"tag":216,"props":2961,"children":2962},{"style":2033},[2963],{"type":62,"value":2112},{"type":48,"tag":216,"props":2965,"children":2966},{"style":255},[2967],{"type":62,"value":2089},{"type":48,"tag":216,"props":2969,"children":2970},{"style":2033},[2971],{"type":62,"value":2169},{"type":48,"tag":216,"props":2973,"children":2974},{"style":255},[2975],{"type":62,"value":2174},{"type":48,"tag":216,"props":2977,"children":2978},{"class":218,"line":345},[2979,2983,2987,2991],{"type":48,"tag":216,"props":2980,"children":2981},{"style":2148},[2982],{"type":62,"value":2182},{"type":48,"tag":216,"props":2984,"children":2985},{"style":255},[2986],{"type":62,"value":2117},{"type":48,"tag":216,"props":2988,"children":2989},{"style":2189},[2990],{"type":62,"value":2192},{"type":48,"tag":216,"props":2992,"children":2993},{"style":255},[2994],{"type":62,"value":2174},{"type":48,"tag":216,"props":2996,"children":2997},{"class":218,"line":354},[2998,3002,3006],{"type":48,"tag":216,"props":2999,"children":3000},{"style":255},[3001],{"type":62,"value":2283},{"type":48,"tag":216,"props":3003,"children":3004},{"style":2033},[3005],{"type":62,"value":2799},{"type":48,"tag":216,"props":3007,"children":3008},{"style":255},[3009],{"type":62,"value":2174},{"type":48,"tag":216,"props":3011,"children":3012},{"class":218,"line":411},[3013],{"type":48,"tag":216,"props":3014,"children":3015},{"style":223},[3016],{"type":62,"value":3017},"  \u002F\u002F Add more middlewares here\n",{"type":48,"tag":216,"props":3019,"children":3020},{"class":218,"line":456},[3021,3026],{"type":48,"tag":216,"props":3022,"children":3023},{"style":2033},[3024],{"type":62,"value":3025},"]",{"type":48,"tag":216,"props":3027,"children":3028},{"style":255},[3029],{"type":62,"value":2059},{"type":48,"tag":53,"props":3031,"children":3032},{},[3033,3046],{"type":48,"tag":165,"props":3034,"children":3035},{},[3036,3038,3044],{"type":62,"value":3037},"Using ",{"type":48,"tag":108,"props":3039,"children":3041},{"className":3040},[],[3042],{"type":62,"value":3043},"wrapRequestHandler",{"type":62,"value":3045}," directly",{"type":62,"value":3047}," (for frameworks like SvelteKit on Cloudflare Pages):",{"type":48,"tag":205,"props":3049,"children":3051},{"className":2005,"code":3050,"language":2007,"meta":210,"style":210},"import * as Sentry from \"@sentry\u002Fcloudflare\";\n\nexport const handle = ({ event, resolve }) => {\n  return Sentry.wrapRequestHandler(\n    {\n      options: {\n        dsn: event.platform.env.SENTRY_DSN,\n        tracesSampleRate: 1.0,\n      },\n      request: event.request,\n      context: event.platform.ctx,\n    },\n    () => resolve(event),\n  );\n};\n",[3052],{"type":48,"tag":108,"props":3053,"children":3054},{"__ignoreMap":210},[3055,3094,3101,3153,3177,3185,3201,3246,3266,3274,3302,3339,3346,3379,3391],{"type":48,"tag":216,"props":3056,"children":3057},{"class":218,"line":219},[3058,3062,3066,3070,3074,3078,3082,3086,3090],{"type":48,"tag":216,"props":3059,"children":3060},{"style":2017},[3061],{"type":62,"value":2020},{"type":48,"tag":216,"props":3063,"children":3064},{"style":255},[3065],{"type":62,"value":2025},{"type":48,"tag":216,"props":3067,"children":3068},{"style":2017},[3069],{"type":62,"value":2030},{"type":48,"tag":216,"props":3071,"children":3072},{"style":2033},[3073],{"type":62,"value":2036},{"type":48,"tag":216,"props":3075,"children":3076},{"style":2017},[3077],{"type":62,"value":2041},{"type":48,"tag":216,"props":3079,"children":3080},{"style":255},[3081],{"type":62,"value":398},{"type":48,"tag":216,"props":3083,"children":3084},{"style":239},[3085],{"type":62,"value":113},{"type":48,"tag":216,"props":3087,"children":3088},{"style":255},[3089],{"type":62,"value":2054},{"type":48,"tag":216,"props":3091,"children":3092},{"style":255},[3093],{"type":62,"value":2059},{"type":48,"tag":216,"props":3095,"children":3096},{"class":218,"line":229},[3097],{"type":48,"tag":216,"props":3098,"children":3099},{"emptyLinePlaceholder":43},[3100],{"type":62,"value":272},{"type":48,"tag":216,"props":3102,"children":3103},{"class":218,"line":266},[3104,3108,3112,3117,3121,3126,3131,3135,3140,3145,3149],{"type":48,"tag":216,"props":3105,"children":3106},{"style":2017},[3107],{"type":62,"value":2074},{"type":48,"tag":216,"props":3109,"children":3110},{"style":2130},[3111],{"type":62,"value":2602},{"type":48,"tag":216,"props":3113,"children":3114},{"style":2033},[3115],{"type":62,"value":3116}," handle ",{"type":48,"tag":216,"props":3118,"children":3119},{"style":255},[3120],{"type":62,"value":2612},{"type":48,"tag":216,"props":3122,"children":3123},{"style":255},[3124],{"type":62,"value":3125}," ({",{"type":48,"tag":216,"props":3127,"children":3128},{"style":2109},[3129],{"type":62,"value":3130}," event",{"type":48,"tag":216,"props":3132,"children":3133},{"style":255},[3134],{"type":62,"value":2327},{"type":48,"tag":216,"props":3136,"children":3137},{"style":2109},[3138],{"type":62,"value":3139}," resolve",{"type":48,"tag":216,"props":3141,"children":3142},{"style":255},[3143],{"type":62,"value":3144}," })",{"type":48,"tag":216,"props":3146,"children":3147},{"style":2130},[3148],{"type":62,"value":2133},{"type":48,"tag":216,"props":3150,"children":3151},{"style":255},[3152],{"type":62,"value":2235},{"type":48,"tag":216,"props":3154,"children":3155},{"class":218,"line":275},[3156,3161,3165,3169,3173],{"type":48,"tag":216,"props":3157,"children":3158},{"style":2017},[3159],{"type":62,"value":3160},"  return",{"type":48,"tag":216,"props":3162,"children":3163},{"style":2033},[3164],{"type":62,"value":2084},{"type":48,"tag":216,"props":3166,"children":3167},{"style":255},[3168],{"type":62,"value":2089},{"type":48,"tag":216,"props":3170,"children":3171},{"style":390},[3172],{"type":62,"value":3043},{"type":48,"tag":216,"props":3174,"children":3175},{"style":2148},[3176],{"type":62,"value":2098},{"type":48,"tag":216,"props":3178,"children":3179},{"class":218,"line":284},[3180],{"type":48,"tag":216,"props":3181,"children":3182},{"style":255},[3183],{"type":62,"value":3184},"    {\n",{"type":48,"tag":216,"props":3186,"children":3187},{"class":218,"line":337},[3188,3193,3197],{"type":48,"tag":216,"props":3189,"children":3190},{"style":2148},[3191],{"type":62,"value":3192},"      options",{"type":48,"tag":216,"props":3194,"children":3195},{"style":255},[3196],{"type":62,"value":2117},{"type":48,"tag":216,"props":3198,"children":3199},{"style":255},[3200],{"type":62,"value":2235},{"type":48,"tag":216,"props":3202,"children":3203},{"class":218,"line":345},[3204,3209,3213,3217,3221,3226,3230,3234,3238,3242],{"type":48,"tag":216,"props":3205,"children":3206},{"style":2148},[3207],{"type":62,"value":3208},"        dsn",{"type":48,"tag":216,"props":3210,"children":3211},{"style":255},[3212],{"type":62,"value":2117},{"type":48,"tag":216,"props":3214,"children":3215},{"style":2033},[3216],{"type":62,"value":3130},{"type":48,"tag":216,"props":3218,"children":3219},{"style":255},[3220],{"type":62,"value":2089},{"type":48,"tag":216,"props":3222,"children":3223},{"style":2033},[3224],{"type":62,"value":3225},"platform",{"type":48,"tag":216,"props":3227,"children":3228},{"style":255},[3229],{"type":62,"value":2089},{"type":48,"tag":216,"props":3231,"children":3232},{"style":2033},[3233],{"type":62,"value":2112},{"type":48,"tag":216,"props":3235,"children":3236},{"style":255},[3237],{"type":62,"value":2089},{"type":48,"tag":216,"props":3239,"children":3240},{"style":2033},[3241],{"type":62,"value":2169},{"type":48,"tag":216,"props":3243,"children":3244},{"style":255},[3245],{"type":62,"value":2174},{"type":48,"tag":216,"props":3247,"children":3248},{"class":218,"line":354},[3249,3254,3258,3262],{"type":48,"tag":216,"props":3250,"children":3251},{"style":2148},[3252],{"type":62,"value":3253},"        tracesSampleRate",{"type":48,"tag":216,"props":3255,"children":3256},{"style":255},[3257],{"type":62,"value":2117},{"type":48,"tag":216,"props":3259,"children":3260},{"style":2189},[3261],{"type":62,"value":2192},{"type":48,"tag":216,"props":3263,"children":3264},{"style":255},[3265],{"type":62,"value":2174},{"type":48,"tag":216,"props":3267,"children":3268},{"class":218,"line":411},[3269],{"type":48,"tag":216,"props":3270,"children":3271},{"style":255},[3272],{"type":62,"value":3273},"      },\n",{"type":48,"tag":216,"props":3275,"children":3276},{"class":218,"line":456},[3277,3282,3286,3290,3294,3298],{"type":48,"tag":216,"props":3278,"children":3279},{"style":2148},[3280],{"type":62,"value":3281},"      request",{"type":48,"tag":216,"props":3283,"children":3284},{"style":255},[3285],{"type":62,"value":2117},{"type":48,"tag":216,"props":3287,"children":3288},{"style":2033},[3289],{"type":62,"value":3130},{"type":48,"tag":216,"props":3291,"children":3292},{"style":255},[3293],{"type":62,"value":2089},{"type":48,"tag":216,"props":3295,"children":3296},{"style":2033},[3297],{"type":62,"value":2322},{"type":48,"tag":216,"props":3299,"children":3300},{"style":255},[3301],{"type":62,"value":2174},{"type":48,"tag":216,"props":3303,"children":3304},{"class":218,"line":464},[3305,3310,3314,3318,3322,3326,3330,3335],{"type":48,"tag":216,"props":3306,"children":3307},{"style":2148},[3308],{"type":62,"value":3309},"      context",{"type":48,"tag":216,"props":3311,"children":3312},{"style":255},[3313],{"type":62,"value":2117},{"type":48,"tag":216,"props":3315,"children":3316},{"style":2033},[3317],{"type":62,"value":3130},{"type":48,"tag":216,"props":3319,"children":3320},{"style":255},[3321],{"type":62,"value":2089},{"type":48,"tag":216,"props":3323,"children":3324},{"style":2033},[3325],{"type":62,"value":3225},{"type":48,"tag":216,"props":3327,"children":3328},{"style":255},[3329],{"type":62,"value":2089},{"type":48,"tag":216,"props":3331,"children":3332},{"style":2033},[3333],{"type":62,"value":3334},"ctx",{"type":48,"tag":216,"props":3336,"children":3337},{"style":255},[3338],{"type":62,"value":2174},{"type":48,"tag":216,"props":3340,"children":3341},{"class":218,"line":473},[3342],{"type":48,"tag":216,"props":3343,"children":3344},{"style":255},[3345],{"type":62,"value":2275},{"type":48,"tag":216,"props":3347,"children":3348},{"class":218,"line":518},[3349,3354,3358,3362,3366,3371,3375],{"type":48,"tag":216,"props":3350,"children":3351},{"style":255},[3352],{"type":62,"value":3353},"    ()",{"type":48,"tag":216,"props":3355,"children":3356},{"style":2130},[3357],{"type":62,"value":2133},{"type":48,"tag":216,"props":3359,"children":3360},{"style":390},[3361],{"type":62,"value":3139},{"type":48,"tag":216,"props":3363,"children":3364},{"style":2148},[3365],{"type":62,"value":2317},{"type":48,"tag":216,"props":3367,"children":3368},{"style":2033},[3369],{"type":62,"value":3370},"event",{"type":48,"tag":216,"props":3372,"children":3373},{"style":2148},[3374],{"type":62,"value":2127},{"type":48,"tag":216,"props":3376,"children":3377},{"style":255},[3378],{"type":62,"value":2174},{"type":48,"tag":216,"props":3380,"children":3381},{"class":218,"line":526},[3382,3387],{"type":48,"tag":216,"props":3383,"children":3384},{"style":2148},[3385],{"type":62,"value":3386},"  )",{"type":48,"tag":216,"props":3388,"children":3389},{"style":255},[3390],{"type":62,"value":2059},{"type":48,"tag":216,"props":3392,"children":3393},{"class":218,"line":535},[3394],{"type":48,"tag":216,"props":3395,"children":3396},{"style":255},[3397],{"type":62,"value":3398},"};\n",{"type":48,"tag":1791,"props":3400,"children":3402},{"id":3401},"hono-on-cloudflare-workers",[3403],{"type":62,"value":3404},"Hono on Cloudflare Workers",{"type":48,"tag":53,"props":3406,"children":3407},{},[3408,3413,3415,3420],{"type":48,"tag":165,"props":3409,"children":3410},{},[3411],{"type":62,"value":3412},"Recommended (v10.55.0+):",{"type":62,"value":3414}," Use the standalone ",{"type":48,"tag":108,"props":3416,"children":3418},{"className":3417},[],[3419],{"type":62,"value":1228},{"type":62,"value":3421}," package for Hono apps:",{"type":48,"tag":205,"props":3423,"children":3425},{"className":207,"code":3424,"language":209,"meta":210,"style":210},"npm install @sentry\u002Fhono @sentry\u002Fcloudflare\n",[3426],{"type":48,"tag":108,"props":3427,"children":3428},{"__ignoreMap":210},[3429],{"type":48,"tag":216,"props":3430,"children":3431},{"class":218,"line":219},[3432,3436,3440,3445],{"type":48,"tag":216,"props":3433,"children":3434},{"style":233},[3435],{"type":62,"value":1937},{"type":48,"tag":216,"props":3437,"children":3438},{"style":239},[3439],{"type":62,"value":1942},{"type":48,"tag":216,"props":3441,"children":3442},{"style":239},[3443],{"type":62,"value":3444}," @sentry\u002Fhono",{"type":48,"tag":216,"props":3446,"children":3447},{"style":239},[3448],{"type":62,"value":1947},{"type":48,"tag":53,"props":3450,"children":3451},{},[3452,3454,3459,3461,3466],{"type":62,"value":3453},"The ",{"type":48,"tag":108,"props":3455,"children":3457},{"className":3456},[],[3458],{"type":62,"value":113},{"type":62,"value":3460}," package is a peer dependency and must stay in sync with ",{"type":48,"tag":108,"props":3462,"children":3464},{"className":3463},[],[3465],{"type":62,"value":1228},{"type":62,"value":2089},{"type":48,"tag":205,"props":3468,"children":3470},{"className":2005,"code":3469,"language":2007,"meta":210,"style":210},"import { Hono } from \"hono\";\nimport { sentry } from \"@sentry\u002Fhono\u002Fcloudflare\";\n\ntype Bindings = { SENTRY_DSN: string };\n\nconst app = new Hono\u003C{ Bindings: Bindings }>();\n\n\u002F\u002F Initialize Sentry middleware as early as possible\napp.use(\n  sentry(app, (env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  })),\n);\n\napp.get(\"\u002F\", (ctx) => ctx.json({ message: \"Hello\" }));\n\napp.get(\"\u002Ferror\", () => {\n  throw new Error(\"Test error\");\n});\n\nexport default app;\n",[3471],{"type":48,"tag":108,"props":3472,"children":3473},{"__ignoreMap":210},[3474,3518,3559,3566,3607,3614,3670,3677,3685,3706,3747,3774,3793,3808,3819,3826,3935,3942,3991,4033,4048,4055],{"type":48,"tag":216,"props":3475,"children":3476},{"class":218,"line":219},[3477,3481,3486,3491,3496,3501,3505,3510,3514],{"type":48,"tag":216,"props":3478,"children":3479},{"style":2017},[3480],{"type":62,"value":2020},{"type":48,"tag":216,"props":3482,"children":3483},{"style":255},[3484],{"type":62,"value":3485}," {",{"type":48,"tag":216,"props":3487,"children":3488},{"style":2033},[3489],{"type":62,"value":3490}," Hono",{"type":48,"tag":216,"props":3492,"children":3493},{"style":255},[3494],{"type":62,"value":3495}," }",{"type":48,"tag":216,"props":3497,"children":3498},{"style":2017},[3499],{"type":62,"value":3500}," from",{"type":48,"tag":216,"props":3502,"children":3503},{"style":255},[3504],{"type":62,"value":398},{"type":48,"tag":216,"props":3506,"children":3507},{"style":239},[3508],{"type":62,"value":3509},"hono",{"type":48,"tag":216,"props":3511,"children":3512},{"style":255},[3513],{"type":62,"value":2054},{"type":48,"tag":216,"props":3515,"children":3516},{"style":255},[3517],{"type":62,"value":2059},{"type":48,"tag":216,"props":3519,"children":3520},{"class":218,"line":229},[3521,3525,3529,3534,3538,3542,3546,3551,3555],{"type":48,"tag":216,"props":3522,"children":3523},{"style":2017},[3524],{"type":62,"value":2020},{"type":48,"tag":216,"props":3526,"children":3527},{"style":255},[3528],{"type":62,"value":3485},{"type":48,"tag":216,"props":3530,"children":3531},{"style":2033},[3532],{"type":62,"value":3533}," sentry",{"type":48,"tag":216,"props":3535,"children":3536},{"style":255},[3537],{"type":62,"value":3495},{"type":48,"tag":216,"props":3539,"children":3540},{"style":2017},[3541],{"type":62,"value":3500},{"type":48,"tag":216,"props":3543,"children":3544},{"style":255},[3545],{"type":62,"value":398},{"type":48,"tag":216,"props":3547,"children":3548},{"style":239},[3549],{"type":62,"value":3550},"@sentry\u002Fhono\u002Fcloudflare",{"type":48,"tag":216,"props":3552,"children":3553},{"style":255},[3554],{"type":62,"value":2054},{"type":48,"tag":216,"props":3556,"children":3557},{"style":255},[3558],{"type":62,"value":2059},{"type":48,"tag":216,"props":3560,"children":3561},{"class":218,"line":266},[3562],{"type":48,"tag":216,"props":3563,"children":3564},{"emptyLinePlaceholder":43},[3565],{"type":62,"value":272},{"type":48,"tag":216,"props":3567,"children":3568},{"class":218,"line":275},[3569,3574,3579,3584,3588,3593,3597,3602],{"type":48,"tag":216,"props":3570,"children":3571},{"style":2130},[3572],{"type":62,"value":3573},"type",{"type":48,"tag":216,"props":3575,"children":3576},{"style":233},[3577],{"type":62,"value":3578}," Bindings",{"type":48,"tag":216,"props":3580,"children":3581},{"style":255},[3582],{"type":62,"value":3583}," =",{"type":48,"tag":216,"props":3585,"children":3586},{"style":255},[3587],{"type":62,"value":3485},{"type":48,"tag":216,"props":3589,"children":3590},{"style":2148},[3591],{"type":62,"value":3592}," SENTRY_DSN",{"type":48,"tag":216,"props":3594,"children":3595},{"style":255},[3596],{"type":62,"value":2117},{"type":48,"tag":216,"props":3598,"children":3599},{"style":233},[3600],{"type":62,"value":3601}," string",{"type":48,"tag":216,"props":3603,"children":3604},{"style":255},[3605],{"type":62,"value":3606}," };\n",{"type":48,"tag":216,"props":3608,"children":3609},{"class":218,"line":284},[3610],{"type":48,"tag":216,"props":3611,"children":3612},{"emptyLinePlaceholder":43},[3613],{"type":62,"value":272},{"type":48,"tag":216,"props":3615,"children":3616},{"class":218,"line":337},[3617,3622,3627,3631,3635,3639,3644,3648,3652,3656,3661,3666],{"type":48,"tag":216,"props":3618,"children":3619},{"style":2130},[3620],{"type":62,"value":3621},"const",{"type":48,"tag":216,"props":3623,"children":3624},{"style":2033},[3625],{"type":62,"value":3626}," app ",{"type":48,"tag":216,"props":3628,"children":3629},{"style":255},[3630],{"type":62,"value":2612},{"type":48,"tag":216,"props":3632,"children":3633},{"style":255},[3634],{"type":62,"value":2361},{"type":48,"tag":216,"props":3636,"children":3637},{"style":390},[3638],{"type":62,"value":3490},{"type":48,"tag":216,"props":3640,"children":3641},{"style":255},[3642],{"type":62,"value":3643},"\u003C{",{"type":48,"tag":216,"props":3645,"children":3646},{"style":2148},[3647],{"type":62,"value":3578},{"type":48,"tag":216,"props":3649,"children":3650},{"style":255},[3651],{"type":62,"value":2117},{"type":48,"tag":216,"props":3653,"children":3654},{"style":233},[3655],{"type":62,"value":3578},{"type":48,"tag":216,"props":3657,"children":3658},{"style":255},[3659],{"type":62,"value":3660}," }>",{"type":48,"tag":216,"props":3662,"children":3663},{"style":2033},[3664],{"type":62,"value":3665},"()",{"type":48,"tag":216,"props":3667,"children":3668},{"style":255},[3669],{"type":62,"value":2059},{"type":48,"tag":216,"props":3671,"children":3672},{"class":218,"line":345},[3673],{"type":48,"tag":216,"props":3674,"children":3675},{"emptyLinePlaceholder":43},[3676],{"type":62,"value":272},{"type":48,"tag":216,"props":3678,"children":3679},{"class":218,"line":354},[3680],{"type":48,"tag":216,"props":3681,"children":3682},{"style":223},[3683],{"type":62,"value":3684},"\u002F\u002F Initialize Sentry middleware as early as possible\n",{"type":48,"tag":216,"props":3686,"children":3687},{"class":218,"line":411},[3688,3693,3697,3702],{"type":48,"tag":216,"props":3689,"children":3690},{"style":2033},[3691],{"type":62,"value":3692},"app",{"type":48,"tag":216,"props":3694,"children":3695},{"style":255},[3696],{"type":62,"value":2089},{"type":48,"tag":216,"props":3698,"children":3699},{"style":390},[3700],{"type":62,"value":3701},"use",{"type":48,"tag":216,"props":3703,"children":3704},{"style":2033},[3705],{"type":62,"value":2098},{"type":48,"tag":216,"props":3707,"children":3708},{"class":218,"line":456},[3709,3714,3719,3723,3727,3731,3735,3739,3743],{"type":48,"tag":216,"props":3710,"children":3711},{"style":390},[3712],{"type":62,"value":3713},"  sentry",{"type":48,"tag":216,"props":3715,"children":3716},{"style":2033},[3717],{"type":62,"value":3718},"(app",{"type":48,"tag":216,"props":3720,"children":3721},{"style":255},[3722],{"type":62,"value":2327},{"type":48,"tag":216,"props":3724,"children":3725},{"style":255},[3726],{"type":62,"value":2138},{"type":48,"tag":216,"props":3728,"children":3729},{"style":2109},[3730],{"type":62,"value":2112},{"type":48,"tag":216,"props":3732,"children":3733},{"style":255},[3734],{"type":62,"value":2127},{"type":48,"tag":216,"props":3736,"children":3737},{"style":2130},[3738],{"type":62,"value":2133},{"type":48,"tag":216,"props":3740,"children":3741},{"style":2033},[3742],{"type":62,"value":2138},{"type":48,"tag":216,"props":3744,"children":3745},{"style":255},[3746],{"type":62,"value":1873},{"type":48,"tag":216,"props":3748,"children":3749},{"class":218,"line":464},[3750,3754,3758,3762,3766,3770],{"type":48,"tag":216,"props":3751,"children":3752},{"style":2148},[3753],{"type":62,"value":2151},{"type":48,"tag":216,"props":3755,"children":3756},{"style":255},[3757],{"type":62,"value":2117},{"type":48,"tag":216,"props":3759,"children":3760},{"style":2033},[3761],{"type":62,"value":2160},{"type":48,"tag":216,"props":3763,"children":3764},{"style":255},[3765],{"type":62,"value":2089},{"type":48,"tag":216,"props":3767,"children":3768},{"style":2033},[3769],{"type":62,"value":2169},{"type":48,"tag":216,"props":3771,"children":3772},{"style":255},[3773],{"type":62,"value":2174},{"type":48,"tag":216,"props":3775,"children":3776},{"class":218,"line":473},[3777,3781,3785,3789],{"type":48,"tag":216,"props":3778,"children":3779},{"style":2148},[3780],{"type":62,"value":2182},{"type":48,"tag":216,"props":3782,"children":3783},{"style":255},[3784],{"type":62,"value":2117},{"type":48,"tag":216,"props":3786,"children":3787},{"style":2189},[3788],{"type":62,"value":2192},{"type":48,"tag":216,"props":3790,"children":3791},{"style":255},[3792],{"type":62,"value":2174},{"type":48,"tag":216,"props":3794,"children":3795},{"class":218,"line":518},[3796,3800,3804],{"type":48,"tag":216,"props":3797,"children":3798},{"style":255},[3799],{"type":62,"value":2283},{"type":48,"tag":216,"props":3801,"children":3802},{"style":2033},[3803],{"type":62,"value":2799},{"type":48,"tag":216,"props":3805,"children":3806},{"style":255},[3807],{"type":62,"value":2174},{"type":48,"tag":216,"props":3809,"children":3810},{"class":218,"line":526},[3811,3815],{"type":48,"tag":216,"props":3812,"children":3813},{"style":2033},[3814],{"type":62,"value":2127},{"type":48,"tag":216,"props":3816,"children":3817},{"style":255},[3818],{"type":62,"value":2059},{"type":48,"tag":216,"props":3820,"children":3821},{"class":218,"line":535},[3822],{"type":48,"tag":216,"props":3823,"children":3824},{"emptyLinePlaceholder":43},[3825],{"type":62,"value":272},{"type":48,"tag":216,"props":3827,"children":3828},{"class":218,"line":581},[3829,3833,3837,3842,3846,3850,3855,3859,3863,3867,3871,3875,3879,3883,3887,3892,3896,3901,3906,3910,3914,3919,3923,3927,3931],{"type":48,"tag":216,"props":3830,"children":3831},{"style":2033},[3832],{"type":62,"value":3692},{"type":48,"tag":216,"props":3834,"children":3835},{"style":255},[3836],{"type":62,"value":2089},{"type":48,"tag":216,"props":3838,"children":3839},{"style":390},[3840],{"type":62,"value":3841},"get",{"type":48,"tag":216,"props":3843,"children":3844},{"style":2033},[3845],{"type":62,"value":2317},{"type":48,"tag":216,"props":3847,"children":3848},{"style":255},[3849],{"type":62,"value":2054},{"type":48,"tag":216,"props":3851,"children":3852},{"style":239},[3853],{"type":62,"value":3854},"\u002F",{"type":48,"tag":216,"props":3856,"children":3857},{"style":255},[3858],{"type":62,"value":2054},{"type":48,"tag":216,"props":3860,"children":3861},{"style":255},[3862],{"type":62,"value":2327},{"type":48,"tag":216,"props":3864,"children":3865},{"style":255},[3866],{"type":62,"value":2138},{"type":48,"tag":216,"props":3868,"children":3869},{"style":2109},[3870],{"type":62,"value":3334},{"type":48,"tag":216,"props":3872,"children":3873},{"style":255},[3874],{"type":62,"value":2127},{"type":48,"tag":216,"props":3876,"children":3877},{"style":2130},[3878],{"type":62,"value":2133},{"type":48,"tag":216,"props":3880,"children":3881},{"style":2033},[3882],{"type":62,"value":2340},{"type":48,"tag":216,"props":3884,"children":3885},{"style":255},[3886],{"type":62,"value":2089},{"type":48,"tag":216,"props":3888,"children":3889},{"style":390},[3890],{"type":62,"value":3891},"json",{"type":48,"tag":216,"props":3893,"children":3894},{"style":2033},[3895],{"type":62,"value":2317},{"type":48,"tag":216,"props":3897,"children":3898},{"style":255},[3899],{"type":62,"value":3900},"{",{"type":48,"tag":216,"props":3902,"children":3903},{"style":2148},[3904],{"type":62,"value":3905}," message",{"type":48,"tag":216,"props":3907,"children":3908},{"style":255},[3909],{"type":62,"value":2117},{"type":48,"tag":216,"props":3911,"children":3912},{"style":255},[3913],{"type":62,"value":398},{"type":48,"tag":216,"props":3915,"children":3916},{"style":239},[3917],{"type":62,"value":3918},"Hello",{"type":48,"tag":216,"props":3920,"children":3921},{"style":255},[3922],{"type":62,"value":2054},{"type":48,"tag":216,"props":3924,"children":3925},{"style":255},[3926],{"type":62,"value":3495},{"type":48,"tag":216,"props":3928,"children":3929},{"style":2033},[3930],{"type":62,"value":2799},{"type":48,"tag":216,"props":3932,"children":3933},{"style":255},[3934],{"type":62,"value":2059},{"type":48,"tag":216,"props":3936,"children":3937},{"class":218,"line":589},[3938],{"type":48,"tag":216,"props":3939,"children":3940},{"emptyLinePlaceholder":43},[3941],{"type":62,"value":272},{"type":48,"tag":216,"props":3943,"children":3944},{"class":218,"line":598},[3945,3949,3953,3957,3961,3965,3970,3974,3978,3983,3987],{"type":48,"tag":216,"props":3946,"children":3947},{"style":2033},[3948],{"type":62,"value":3692},{"type":48,"tag":216,"props":3950,"children":3951},{"style":255},[3952],{"type":62,"value":2089},{"type":48,"tag":216,"props":3954,"children":3955},{"style":390},[3956],{"type":62,"value":3841},{"type":48,"tag":216,"props":3958,"children":3959},{"style":2033},[3960],{"type":62,"value":2317},{"type":48,"tag":216,"props":3962,"children":3963},{"style":255},[3964],{"type":62,"value":2054},{"type":48,"tag":216,"props":3966,"children":3967},{"style":239},[3968],{"type":62,"value":3969},"\u002Ferror",{"type":48,"tag":216,"props":3971,"children":3972},{"style":255},[3973],{"type":62,"value":2054},{"type":48,"tag":216,"props":3975,"children":3976},{"style":255},[3977],{"type":62,"value":2327},{"type":48,"tag":216,"props":3979,"children":3980},{"style":255},[3981],{"type":62,"value":3982}," ()",{"type":48,"tag":216,"props":3984,"children":3985},{"style":2130},[3986],{"type":62,"value":2133},{"type":48,"tag":216,"props":3988,"children":3989},{"style":255},[3990],{"type":62,"value":2235},{"type":48,"tag":216,"props":3992,"children":3993},{"class":218,"line":643},[3994,3999,4003,4008,4012,4016,4021,4025,4029],{"type":48,"tag":216,"props":3995,"children":3996},{"style":2017},[3997],{"type":62,"value":3998},"  throw",{"type":48,"tag":216,"props":4000,"children":4001},{"style":255},[4002],{"type":62,"value":2361},{"type":48,"tag":216,"props":4004,"children":4005},{"style":390},[4006],{"type":62,"value":4007}," Error",{"type":48,"tag":216,"props":4009,"children":4010},{"style":2148},[4011],{"type":62,"value":2317},{"type":48,"tag":216,"props":4013,"children":4014},{"style":255},[4015],{"type":62,"value":2054},{"type":48,"tag":216,"props":4017,"children":4018},{"style":239},[4019],{"type":62,"value":4020},"Test error",{"type":48,"tag":216,"props":4022,"children":4023},{"style":255},[4024],{"type":62,"value":2054},{"type":48,"tag":216,"props":4026,"children":4027},{"style":2148},[4028],{"type":62,"value":2127},{"type":48,"tag":216,"props":4030,"children":4031},{"style":255},[4032],{"type":62,"value":2059},{"type":48,"tag":216,"props":4034,"children":4035},{"class":218,"line":651},[4036,4040,4044],{"type":48,"tag":216,"props":4037,"children":4038},{"style":255},[4039],{"type":62,"value":2794},{"type":48,"tag":216,"props":4041,"children":4042},{"style":2033},[4043],{"type":62,"value":2127},{"type":48,"tag":216,"props":4045,"children":4046},{"style":255},[4047],{"type":62,"value":2059},{"type":48,"tag":216,"props":4049,"children":4050},{"class":218,"line":660},[4051],{"type":48,"tag":216,"props":4052,"children":4053},{"emptyLinePlaceholder":43},[4054],{"type":62,"value":272},{"type":48,"tag":216,"props":4056,"children":4057},{"class":218,"line":705},[4058,4062,4066,4071],{"type":48,"tag":216,"props":4059,"children":4060},{"style":2017},[4061],{"type":62,"value":2074},{"type":48,"tag":216,"props":4063,"children":4064},{"style":2017},[4065],{"type":62,"value":2079},{"type":48,"tag":216,"props":4067,"children":4068},{"style":2033},[4069],{"type":62,"value":4070}," app",{"type":48,"tag":216,"props":4072,"children":4073},{"style":255},[4074],{"type":62,"value":2059},{"type":48,"tag":53,"props":4076,"children":4077},{},[4078,4079,4085],{"type":62,"value":3453},{"type":48,"tag":108,"props":4080,"children":4082},{"className":4081},[],[4083],{"type":62,"value":4084},"sentry()",{"type":62,"value":4086}," middleware automatically captures errors and creates transaction spans with route patterns.",{"type":48,"tag":53,"props":4088,"children":4089},{},[4090,4095,4097,4102,4104,4109,4111,4117],{"type":48,"tag":165,"props":4091,"children":4092},{},[4093],{"type":62,"value":4094},"Legacy approach (deprecated):",{"type":62,"value":4096}," Using ",{"type":48,"tag":108,"props":4098,"children":4100},{"className":4099},[],[4101],{"type":62,"value":113},{"type":62,"value":4103}," with ",{"type":48,"tag":108,"props":4105,"children":4107},{"className":4106},[],[4108],{"type":62,"value":129},{"type":62,"value":4110}," still works, but ",{"type":48,"tag":108,"props":4112,"children":4114},{"className":4113},[],[4115],{"type":62,"value":4116},"honoIntegration",{"type":62,"value":4118}," is deprecated:",{"type":48,"tag":205,"props":4120,"children":4122},{"className":2005,"code":4121,"language":2007,"meta":210,"style":210},"import { Hono } from \"hono\";\nimport * as Sentry from \"@sentry\u002Fcloudflare\";\n\nconst app = new Hono();\n\napp.get(\"\u002F\", (ctx) => ctx.json({ message: \"Hello\" }));\n\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  }),\n  app,\n);\n",[4123],{"type":48,"tag":108,"props":4124,"children":4125},{"__ignoreMap":210},[4126,4165,4204,4211,4242,4249,4352,4359,4386,4421,4448,4467,4482,4494],{"type":48,"tag":216,"props":4127,"children":4128},{"class":218,"line":219},[4129,4133,4137,4141,4145,4149,4153,4157,4161],{"type":48,"tag":216,"props":4130,"children":4131},{"style":2017},[4132],{"type":62,"value":2020},{"type":48,"tag":216,"props":4134,"children":4135},{"style":255},[4136],{"type":62,"value":3485},{"type":48,"tag":216,"props":4138,"children":4139},{"style":2033},[4140],{"type":62,"value":3490},{"type":48,"tag":216,"props":4142,"children":4143},{"style":255},[4144],{"type":62,"value":3495},{"type":48,"tag":216,"props":4146,"children":4147},{"style":2017},[4148],{"type":62,"value":3500},{"type":48,"tag":216,"props":4150,"children":4151},{"style":255},[4152],{"type":62,"value":398},{"type":48,"tag":216,"props":4154,"children":4155},{"style":239},[4156],{"type":62,"value":3509},{"type":48,"tag":216,"props":4158,"children":4159},{"style":255},[4160],{"type":62,"value":2054},{"type":48,"tag":216,"props":4162,"children":4163},{"style":255},[4164],{"type":62,"value":2059},{"type":48,"tag":216,"props":4166,"children":4167},{"class":218,"line":229},[4168,4172,4176,4180,4184,4188,4192,4196,4200],{"type":48,"tag":216,"props":4169,"children":4170},{"style":2017},[4171],{"type":62,"value":2020},{"type":48,"tag":216,"props":4173,"children":4174},{"style":255},[4175],{"type":62,"value":2025},{"type":48,"tag":216,"props":4177,"children":4178},{"style":2017},[4179],{"type":62,"value":2030},{"type":48,"tag":216,"props":4181,"children":4182},{"style":2033},[4183],{"type":62,"value":2036},{"type":48,"tag":216,"props":4185,"children":4186},{"style":2017},[4187],{"type":62,"value":2041},{"type":48,"tag":216,"props":4189,"children":4190},{"style":255},[4191],{"type":62,"value":398},{"type":48,"tag":216,"props":4193,"children":4194},{"style":239},[4195],{"type":62,"value":113},{"type":48,"tag":216,"props":4197,"children":4198},{"style":255},[4199],{"type":62,"value":2054},{"type":48,"tag":216,"props":4201,"children":4202},{"style":255},[4203],{"type":62,"value":2059},{"type":48,"tag":216,"props":4205,"children":4206},{"class":218,"line":266},[4207],{"type":48,"tag":216,"props":4208,"children":4209},{"emptyLinePlaceholder":43},[4210],{"type":62,"value":272},{"type":48,"tag":216,"props":4212,"children":4213},{"class":218,"line":275},[4214,4218,4222,4226,4230,4234,4238],{"type":48,"tag":216,"props":4215,"children":4216},{"style":2130},[4217],{"type":62,"value":3621},{"type":48,"tag":216,"props":4219,"children":4220},{"style":2033},[4221],{"type":62,"value":3626},{"type":48,"tag":216,"props":4223,"children":4224},{"style":255},[4225],{"type":62,"value":2612},{"type":48,"tag":216,"props":4227,"children":4228},{"style":255},[4229],{"type":62,"value":2361},{"type":48,"tag":216,"props":4231,"children":4232},{"style":390},[4233],{"type":62,"value":3490},{"type":48,"tag":216,"props":4235,"children":4236},{"style":2033},[4237],{"type":62,"value":3665},{"type":48,"tag":216,"props":4239,"children":4240},{"style":255},[4241],{"type":62,"value":2059},{"type":48,"tag":216,"props":4243,"children":4244},{"class":218,"line":284},[4245],{"type":48,"tag":216,"props":4246,"children":4247},{"emptyLinePlaceholder":43},[4248],{"type":62,"value":272},{"type":48,"tag":216,"props":4250,"children":4251},{"class":218,"line":337},[4252,4256,4260,4264,4268,4272,4276,4280,4284,4288,4292,4296,4300,4304,4308,4312,4316,4320,4324,4328,4332,4336,4340,4344,4348],{"type":48,"tag":216,"props":4253,"children":4254},{"style":2033},[4255],{"type":62,"value":3692},{"type":48,"tag":216,"props":4257,"children":4258},{"style":255},[4259],{"type":62,"value":2089},{"type":48,"tag":216,"props":4261,"children":4262},{"style":390},[4263],{"type":62,"value":3841},{"type":48,"tag":216,"props":4265,"children":4266},{"style":2033},[4267],{"type":62,"value":2317},{"type":48,"tag":216,"props":4269,"children":4270},{"style":255},[4271],{"type":62,"value":2054},{"type":48,"tag":216,"props":4273,"children":4274},{"style":239},[4275],{"type":62,"value":3854},{"type":48,"tag":216,"props":4277,"children":4278},{"style":255},[4279],{"type":62,"value":2054},{"type":48,"tag":216,"props":4281,"children":4282},{"style":255},[4283],{"type":62,"value":2327},{"type":48,"tag":216,"props":4285,"children":4286},{"style":255},[4287],{"type":62,"value":2138},{"type":48,"tag":216,"props":4289,"children":4290},{"style":2109},[4291],{"type":62,"value":3334},{"type":48,"tag":216,"props":4293,"children":4294},{"style":255},[4295],{"type":62,"value":2127},{"type":48,"tag":216,"props":4297,"children":4298},{"style":2130},[4299],{"type":62,"value":2133},{"type":48,"tag":216,"props":4301,"children":4302},{"style":2033},[4303],{"type":62,"value":2340},{"type":48,"tag":216,"props":4305,"children":4306},{"style":255},[4307],{"type":62,"value":2089},{"type":48,"tag":216,"props":4309,"children":4310},{"style":390},[4311],{"type":62,"value":3891},{"type":48,"tag":216,"props":4313,"children":4314},{"style":2033},[4315],{"type":62,"value":2317},{"type":48,"tag":216,"props":4317,"children":4318},{"style":255},[4319],{"type":62,"value":3900},{"type":48,"tag":216,"props":4321,"children":4322},{"style":2148},[4323],{"type":62,"value":3905},{"type":48,"tag":216,"props":4325,"children":4326},{"style":255},[4327],{"type":62,"value":2117},{"type":48,"tag":216,"props":4329,"children":4330},{"style":255},[4331],{"type":62,"value":398},{"type":48,"tag":216,"props":4333,"children":4334},{"style":239},[4335],{"type":62,"value":3918},{"type":48,"tag":216,"props":4337,"children":4338},{"style":255},[4339],{"type":62,"value":2054},{"type":48,"tag":216,"props":4341,"children":4342},{"style":255},[4343],{"type":62,"value":3495},{"type":48,"tag":216,"props":4345,"children":4346},{"style":2033},[4347],{"type":62,"value":2799},{"type":48,"tag":216,"props":4349,"children":4350},{"style":255},[4351],{"type":62,"value":2059},{"type":48,"tag":216,"props":4353,"children":4354},{"class":218,"line":345},[4355],{"type":48,"tag":216,"props":4356,"children":4357},{"emptyLinePlaceholder":43},[4358],{"type":62,"value":272},{"type":48,"tag":216,"props":4360,"children":4361},{"class":218,"line":354},[4362,4366,4370,4374,4378,4382],{"type":48,"tag":216,"props":4363,"children":4364},{"style":2017},[4365],{"type":62,"value":2074},{"type":48,"tag":216,"props":4367,"children":4368},{"style":2017},[4369],{"type":62,"value":2079},{"type":48,"tag":216,"props":4371,"children":4372},{"style":2033},[4373],{"type":62,"value":2084},{"type":48,"tag":216,"props":4375,"children":4376},{"style":255},[4377],{"type":62,"value":2089},{"type":48,"tag":216,"props":4379,"children":4380},{"style":390},[4381],{"type":62,"value":129},{"type":48,"tag":216,"props":4383,"children":4384},{"style":2033},[4385],{"type":62,"value":2098},{"type":48,"tag":216,"props":4387,"children":4388},{"class":218,"line":411},[4389,4393,4397,4401,4405,4409,4413,4417],{"type":48,"tag":216,"props":4390,"children":4391},{"style":255},[4392],{"type":62,"value":2106},{"type":48,"tag":216,"props":4394,"children":4395},{"style":2109},[4396],{"type":62,"value":2112},{"type":48,"tag":216,"props":4398,"children":4399},{"style":255},[4400],{"type":62,"value":2117},{"type":48,"tag":216,"props":4402,"children":4403},{"style":233},[4404],{"type":62,"value":2122},{"type":48,"tag":216,"props":4406,"children":4407},{"style":255},[4408],{"type":62,"value":2127},{"type":48,"tag":216,"props":4410,"children":4411},{"style":2130},[4412],{"type":62,"value":2133},{"type":48,"tag":216,"props":4414,"children":4415},{"style":2033},[4416],{"type":62,"value":2138},{"type":48,"tag":216,"props":4418,"children":4419},{"style":255},[4420],{"type":62,"value":1873},{"type":48,"tag":216,"props":4422,"children":4423},{"class":218,"line":456},[4424,4428,4432,4436,4440,4444],{"type":48,"tag":216,"props":4425,"children":4426},{"style":2148},[4427],{"type":62,"value":2151},{"type":48,"tag":216,"props":4429,"children":4430},{"style":255},[4431],{"type":62,"value":2117},{"type":48,"tag":216,"props":4433,"children":4434},{"style":2033},[4435],{"type":62,"value":2160},{"type":48,"tag":216,"props":4437,"children":4438},{"style":255},[4439],{"type":62,"value":2089},{"type":48,"tag":216,"props":4441,"children":4442},{"style":2033},[4443],{"type":62,"value":2169},{"type":48,"tag":216,"props":4445,"children":4446},{"style":255},[4447],{"type":62,"value":2174},{"type":48,"tag":216,"props":4449,"children":4450},{"class":218,"line":464},[4451,4455,4459,4463],{"type":48,"tag":216,"props":4452,"children":4453},{"style":2148},[4454],{"type":62,"value":2182},{"type":48,"tag":216,"props":4456,"children":4457},{"style":255},[4458],{"type":62,"value":2117},{"type":48,"tag":216,"props":4460,"children":4461},{"style":2189},[4462],{"type":62,"value":2192},{"type":48,"tag":216,"props":4464,"children":4465},{"style":255},[4466],{"type":62,"value":2174},{"type":48,"tag":216,"props":4468,"children":4469},{"class":218,"line":473},[4470,4474,4478],{"type":48,"tag":216,"props":4471,"children":4472},{"style":255},[4473],{"type":62,"value":2283},{"type":48,"tag":216,"props":4475,"children":4476},{"style":2033},[4477],{"type":62,"value":2127},{"type":48,"tag":216,"props":4479,"children":4480},{"style":255},[4481],{"type":62,"value":2174},{"type":48,"tag":216,"props":4483,"children":4484},{"class":218,"line":518},[4485,4490],{"type":48,"tag":216,"props":4486,"children":4487},{"style":2033},[4488],{"type":62,"value":4489},"  app",{"type":48,"tag":216,"props":4491,"children":4492},{"style":255},[4493],{"type":62,"value":2174},{"type":48,"tag":216,"props":4495,"children":4496},{"class":218,"line":526},[4497,4501],{"type":48,"tag":216,"props":4498,"children":4499},{"style":2033},[4500],{"type":62,"value":2127},{"type":48,"tag":216,"props":4502,"children":4503},{"style":255},[4504],{"type":62,"value":2059},{"type":48,"tag":1791,"props":4506,"children":4508},{"id":4507},"set-up-the-sentry_dsn-secret",[4509],{"type":62,"value":4510},"Set Up the SENTRY_DSN Secret",{"type":48,"tag":53,"props":4512,"children":4513},{},[4514],{"type":62,"value":4515},"Store your DSN as a Cloudflare secret — do not hardcode it:",{"type":48,"tag":205,"props":4517,"children":4519},{"className":207,"code":4518,"language":209,"meta":210,"style":210},"# Local development: add to .dev.vars\necho 'SENTRY_DSN=\"https:\u002F\u002FexamplePublicKey@o0.ingest.sentry.io\u002F0\"' >> .dev.vars\n\n# Production: set as a secret\nnpx wrangler secret put SENTRY_DSN\n",[4520],{"type":48,"tag":108,"props":4521,"children":4522},{"__ignoreMap":210},[4523,4531,4563,4570,4578],{"type":48,"tag":216,"props":4524,"children":4525},{"class":218,"line":219},[4526],{"type":48,"tag":216,"props":4527,"children":4528},{"style":223},[4529],{"type":62,"value":4530},"# Local development: add to .dev.vars\n",{"type":48,"tag":216,"props":4532,"children":4533},{"class":218,"line":229},[4534,4539,4543,4548,4553,4558],{"type":48,"tag":216,"props":4535,"children":4536},{"style":390},[4537],{"type":62,"value":4538},"echo",{"type":48,"tag":216,"props":4540,"children":4541},{"style":255},[4542],{"type":62,"value":324},{"type":48,"tag":216,"props":4544,"children":4545},{"style":239},[4546],{"type":62,"value":4547},"SENTRY_DSN=\"https:\u002F\u002FexamplePublicKey@o0.ingest.sentry.io\u002F0\"",{"type":48,"tag":216,"props":4549,"children":4550},{"style":255},[4551],{"type":62,"value":4552},"'",{"type":48,"tag":216,"props":4554,"children":4555},{"style":255},[4556],{"type":62,"value":4557}," >>",{"type":48,"tag":216,"props":4559,"children":4560},{"style":239},[4561],{"type":62,"value":4562}," .dev.vars\n",{"type":48,"tag":216,"props":4564,"children":4565},{"class":218,"line":266},[4566],{"type":48,"tag":216,"props":4567,"children":4568},{"emptyLinePlaceholder":43},[4569],{"type":62,"value":272},{"type":48,"tag":216,"props":4571,"children":4572},{"class":218,"line":275},[4573],{"type":48,"tag":216,"props":4574,"children":4575},{"style":223},[4576],{"type":62,"value":4577},"# Production: set as a secret\n",{"type":48,"tag":216,"props":4579,"children":4580},{"class":218,"line":284},[4581,4586,4591,4596,4601],{"type":48,"tag":216,"props":4582,"children":4583},{"style":233},[4584],{"type":62,"value":4585},"npx",{"type":48,"tag":216,"props":4587,"children":4588},{"style":239},[4589],{"type":62,"value":4590}," wrangler",{"type":48,"tag":216,"props":4592,"children":4593},{"style":239},[4594],{"type":62,"value":4595}," secret",{"type":48,"tag":216,"props":4597,"children":4598},{"style":239},[4599],{"type":62,"value":4600}," put",{"type":48,"tag":216,"props":4602,"children":4603},{"style":239},[4604],{"type":62,"value":4605}," SENTRY_DSN\n",{"type":48,"tag":53,"props":4607,"children":4608},{},[4609,4611,4616],{"type":62,"value":4610},"Add the binding to your ",{"type":48,"tag":108,"props":4612,"children":4614},{"className":4613},[],[4615],{"type":62,"value":2425},{"type":62,"value":4617}," type:",{"type":48,"tag":205,"props":4619,"children":4621},{"className":2005,"code":4620,"language":2007,"meta":210,"style":210},"interface Env {\n  SENTRY_DSN: string;\n  \u002F\u002F ... other bindings\n}\n",[4622],{"type":48,"tag":108,"props":4623,"children":4624},{"__ignoreMap":210},[4625,4641,4661,4669],{"type":48,"tag":216,"props":4626,"children":4627},{"class":218,"line":219},[4628,4633,4637],{"type":48,"tag":216,"props":4629,"children":4630},{"style":2130},[4631],{"type":62,"value":4632},"interface",{"type":48,"tag":216,"props":4634,"children":4635},{"style":233},[4636],{"type":62,"value":2122},{"type":48,"tag":216,"props":4638,"children":4639},{"style":255},[4640],{"type":62,"value":2235},{"type":48,"tag":216,"props":4642,"children":4643},{"class":218,"line":229},[4644,4649,4653,4657],{"type":48,"tag":216,"props":4645,"children":4646},{"style":2148},[4647],{"type":62,"value":4648},"  SENTRY_DSN",{"type":48,"tag":216,"props":4650,"children":4651},{"style":255},[4652],{"type":62,"value":2117},{"type":48,"tag":216,"props":4654,"children":4655},{"style":233},[4656],{"type":62,"value":3601},{"type":48,"tag":216,"props":4658,"children":4659},{"style":255},[4660],{"type":62,"value":2059},{"type":48,"tag":216,"props":4662,"children":4663},{"class":218,"line":266},[4664],{"type":48,"tag":216,"props":4665,"children":4666},{"style":223},[4667],{"type":62,"value":4668},"  \u002F\u002F ... other bindings\n",{"type":48,"tag":216,"props":4670,"children":4671},{"class":218,"line":275},[4672],{"type":48,"tag":216,"props":4673,"children":4674},{"style":255},[4675],{"type":62,"value":1889},{"type":48,"tag":1791,"props":4677,"children":4679},{"id":4678},"source-maps-setup",[4680],{"type":62,"value":4681},"Source Maps Setup",{"type":48,"tag":53,"props":4683,"children":4684},{},[4685],{"type":62,"value":4686},"Source maps make production stack traces readable. Most Cloudflare projects build with Vite via Wrangler — wire the Sentry Vite plugin so maps upload on build:",{"type":48,"tag":205,"props":4688,"children":4690},{"className":207,"code":4689,"language":209,"meta":210,"style":210},"npm install @sentry\u002Fvite-plugin --save-dev\n",[4691],{"type":48,"tag":108,"props":4692,"children":4693},{"__ignoreMap":210},[4694],{"type":48,"tag":216,"props":4695,"children":4696},{"class":218,"line":219},[4697,4701,4705,4710],{"type":48,"tag":216,"props":4698,"children":4699},{"style":233},[4700],{"type":62,"value":1937},{"type":48,"tag":216,"props":4702,"children":4703},{"style":239},[4704],{"type":62,"value":1942},{"type":48,"tag":216,"props":4706,"children":4707},{"style":239},[4708],{"type":62,"value":4709}," @sentry\u002Fvite-plugin",{"type":48,"tag":216,"props":4711,"children":4712},{"style":239},[4713],{"type":62,"value":4714}," --save-dev\n",{"type":48,"tag":205,"props":4716,"children":4718},{"className":2005,"code":4717,"language":2007,"meta":210,"style":210},"import { defineConfig } from \"vite\";\nimport { sentryVitePlugin } from \"@sentry\u002Fvite-plugin\";\n\nexport default defineConfig({\n  build: {\n    sourcemap: true,\n  },\n  plugins: [\n    sentryVitePlugin({\n      org: \"___ORG_SLUG___\",\n      project: \"___PROJECT_SLUG___\",\n      authToken: process.env.SENTRY_AUTH_TOKEN,\n    }),\n  ],\n});\n",[4719],{"type":48,"tag":108,"props":4720,"children":4721},{"__ignoreMap":210},[4722,4763,4804,4811,4834,4850,4870,4877,4893,4909,4938,4967,5005,5021,5033],{"type":48,"tag":216,"props":4723,"children":4724},{"class":218,"line":219},[4725,4729,4733,4738,4742,4746,4750,4755,4759],{"type":48,"tag":216,"props":4726,"children":4727},{"style":2017},[4728],{"type":62,"value":2020},{"type":48,"tag":216,"props":4730,"children":4731},{"style":255},[4732],{"type":62,"value":3485},{"type":48,"tag":216,"props":4734,"children":4735},{"style":2033},[4736],{"type":62,"value":4737}," defineConfig",{"type":48,"tag":216,"props":4739,"children":4740},{"style":255},[4741],{"type":62,"value":3495},{"type":48,"tag":216,"props":4743,"children":4744},{"style":2017},[4745],{"type":62,"value":3500},{"type":48,"tag":216,"props":4747,"children":4748},{"style":255},[4749],{"type":62,"value":398},{"type":48,"tag":216,"props":4751,"children":4752},{"style":239},[4753],{"type":62,"value":4754},"vite",{"type":48,"tag":216,"props":4756,"children":4757},{"style":255},[4758],{"type":62,"value":2054},{"type":48,"tag":216,"props":4760,"children":4761},{"style":255},[4762],{"type":62,"value":2059},{"type":48,"tag":216,"props":4764,"children":4765},{"class":218,"line":229},[4766,4770,4774,4779,4783,4787,4791,4796,4800],{"type":48,"tag":216,"props":4767,"children":4768},{"style":2017},[4769],{"type":62,"value":2020},{"type":48,"tag":216,"props":4771,"children":4772},{"style":255},[4773],{"type":62,"value":3485},{"type":48,"tag":216,"props":4775,"children":4776},{"style":2033},[4777],{"type":62,"value":4778}," sentryVitePlugin",{"type":48,"tag":216,"props":4780,"children":4781},{"style":255},[4782],{"type":62,"value":3495},{"type":48,"tag":216,"props":4784,"children":4785},{"style":2017},[4786],{"type":62,"value":3500},{"type":48,"tag":216,"props":4788,"children":4789},{"style":255},[4790],{"type":62,"value":398},{"type":48,"tag":216,"props":4792,"children":4793},{"style":239},[4794],{"type":62,"value":4795},"@sentry\u002Fvite-plugin",{"type":48,"tag":216,"props":4797,"children":4798},{"style":255},[4799],{"type":62,"value":2054},{"type":48,"tag":216,"props":4801,"children":4802},{"style":255},[4803],{"type":62,"value":2059},{"type":48,"tag":216,"props":4805,"children":4806},{"class":218,"line":266},[4807],{"type":48,"tag":216,"props":4808,"children":4809},{"emptyLinePlaceholder":43},[4810],{"type":62,"value":272},{"type":48,"tag":216,"props":4812,"children":4813},{"class":218,"line":275},[4814,4818,4822,4826,4830],{"type":48,"tag":216,"props":4815,"children":4816},{"style":2017},[4817],{"type":62,"value":2074},{"type":48,"tag":216,"props":4819,"children":4820},{"style":2017},[4821],{"type":62,"value":2079},{"type":48,"tag":216,"props":4823,"children":4824},{"style":390},[4825],{"type":62,"value":4737},{"type":48,"tag":216,"props":4827,"children":4828},{"style":2033},[4829],{"type":62,"value":2317},{"type":48,"tag":216,"props":4831,"children":4832},{"style":255},[4833],{"type":62,"value":1873},{"type":48,"tag":216,"props":4835,"children":4836},{"class":218,"line":284},[4837,4842,4846],{"type":48,"tag":216,"props":4838,"children":4839},{"style":2148},[4840],{"type":62,"value":4841},"  build",{"type":48,"tag":216,"props":4843,"children":4844},{"style":255},[4845],{"type":62,"value":2117},{"type":48,"tag":216,"props":4847,"children":4848},{"style":255},[4849],{"type":62,"value":2235},{"type":48,"tag":216,"props":4851,"children":4852},{"class":218,"line":337},[4853,4858,4862,4866],{"type":48,"tag":216,"props":4854,"children":4855},{"style":2148},[4856],{"type":62,"value":4857},"    sourcemap",{"type":48,"tag":216,"props":4859,"children":4860},{"style":255},[4861],{"type":62,"value":2117},{"type":48,"tag":216,"props":4863,"children":4864},{"style":2211},[4865],{"type":62,"value":2214},{"type":48,"tag":216,"props":4867,"children":4868},{"style":255},[4869],{"type":62,"value":2174},{"type":48,"tag":216,"props":4871,"children":4872},{"class":218,"line":345},[4873],{"type":48,"tag":216,"props":4874,"children":4875},{"style":255},[4876],{"type":62,"value":2786},{"type":48,"tag":216,"props":4878,"children":4879},{"class":218,"line":354},[4880,4885,4889],{"type":48,"tag":216,"props":4881,"children":4882},{"style":2148},[4883],{"type":62,"value":4884},"  plugins",{"type":48,"tag":216,"props":4886,"children":4887},{"style":255},[4888],{"type":62,"value":2117},{"type":48,"tag":216,"props":4890,"children":4891},{"style":2033},[4892],{"type":62,"value":2888},{"type":48,"tag":216,"props":4894,"children":4895},{"class":218,"line":411},[4896,4901,4905],{"type":48,"tag":216,"props":4897,"children":4898},{"style":390},[4899],{"type":62,"value":4900},"    sentryVitePlugin",{"type":48,"tag":216,"props":4902,"children":4903},{"style":2033},[4904],{"type":62,"value":2317},{"type":48,"tag":216,"props":4906,"children":4907},{"style":255},[4908],{"type":62,"value":1873},{"type":48,"tag":216,"props":4910,"children":4911},{"class":218,"line":456},[4912,4917,4921,4925,4930,4934],{"type":48,"tag":216,"props":4913,"children":4914},{"style":2148},[4915],{"type":62,"value":4916},"      org",{"type":48,"tag":216,"props":4918,"children":4919},{"style":255},[4920],{"type":62,"value":2117},{"type":48,"tag":216,"props":4922,"children":4923},{"style":255},[4924],{"type":62,"value":398},{"type":48,"tag":216,"props":4926,"children":4927},{"style":239},[4928],{"type":62,"value":4929},"___ORG_SLUG___",{"type":48,"tag":216,"props":4931,"children":4932},{"style":255},[4933],{"type":62,"value":2054},{"type":48,"tag":216,"props":4935,"children":4936},{"style":255},[4937],{"type":62,"value":2174},{"type":48,"tag":216,"props":4939,"children":4940},{"class":218,"line":464},[4941,4946,4950,4954,4959,4963],{"type":48,"tag":216,"props":4942,"children":4943},{"style":2148},[4944],{"type":62,"value":4945},"      project",{"type":48,"tag":216,"props":4947,"children":4948},{"style":255},[4949],{"type":62,"value":2117},{"type":48,"tag":216,"props":4951,"children":4952},{"style":255},[4953],{"type":62,"value":398},{"type":48,"tag":216,"props":4955,"children":4956},{"style":239},[4957],{"type":62,"value":4958},"___PROJECT_SLUG___",{"type":48,"tag":216,"props":4960,"children":4961},{"style":255},[4962],{"type":62,"value":2054},{"type":48,"tag":216,"props":4964,"children":4965},{"style":255},[4966],{"type":62,"value":2174},{"type":48,"tag":216,"props":4968,"children":4969},{"class":218,"line":473},[4970,4975,4979,4984,4988,4992,4996,5001],{"type":48,"tag":216,"props":4971,"children":4972},{"style":2148},[4973],{"type":62,"value":4974},"      authToken",{"type":48,"tag":216,"props":4976,"children":4977},{"style":255},[4978],{"type":62,"value":2117},{"type":48,"tag":216,"props":4980,"children":4981},{"style":2033},[4982],{"type":62,"value":4983}," process",{"type":48,"tag":216,"props":4985,"children":4986},{"style":255},[4987],{"type":62,"value":2089},{"type":48,"tag":216,"props":4989,"children":4990},{"style":2033},[4991],{"type":62,"value":2112},{"type":48,"tag":216,"props":4993,"children":4994},{"style":255},[4995],{"type":62,"value":2089},{"type":48,"tag":216,"props":4997,"children":4998},{"style":2033},[4999],{"type":62,"value":5000},"SENTRY_AUTH_TOKEN",{"type":48,"tag":216,"props":5002,"children":5003},{"style":255},[5004],{"type":62,"value":2174},{"type":48,"tag":216,"props":5006,"children":5007},{"class":218,"line":518},[5008,5013,5017],{"type":48,"tag":216,"props":5009,"children":5010},{"style":255},[5011],{"type":62,"value":5012},"    }",{"type":48,"tag":216,"props":5014,"children":5015},{"style":2033},[5016],{"type":62,"value":2127},{"type":48,"tag":216,"props":5018,"children":5019},{"style":255},[5020],{"type":62,"value":2174},{"type":48,"tag":216,"props":5022,"children":5023},{"class":218,"line":526},[5024,5029],{"type":48,"tag":216,"props":5025,"children":5026},{"style":2033},[5027],{"type":62,"value":5028},"  ]",{"type":48,"tag":216,"props":5030,"children":5031},{"style":255},[5032],{"type":62,"value":2174},{"type":48,"tag":216,"props":5034,"children":5035},{"class":218,"line":535},[5036,5040,5044],{"type":48,"tag":216,"props":5037,"children":5038},{"style":255},[5039],{"type":62,"value":2794},{"type":48,"tag":216,"props":5041,"children":5042},{"style":2033},[5043],{"type":62,"value":2127},{"type":48,"tag":216,"props":5045,"children":5046},{"style":255},[5047],{"type":62,"value":2059},{"type":48,"tag":53,"props":5049,"children":5050},{},[5051,5056,5058,5068,5070,5076],{"type":48,"tag":108,"props":5052,"children":5054},{"className":5053},[],[5055],{"type":62,"value":5000},{"type":62,"value":5057}," is a build-time secret. For creating the token and wiring it into CI, see ",{"type":48,"tag":57,"props":5059,"children":5061},{"href":5060},"..\u002Fsentry-source-maps\u002FSKILL.md",[5062],{"type":48,"tag":108,"props":5063,"children":5065},{"className":5064},[],[5066],{"type":62,"value":5067},"sentry-source-maps",{"type":62,"value":5069},". The ",{"type":48,"tag":108,"props":5071,"children":5073},{"className":5072},[],[5074],{"type":62,"value":5075},"npx @sentry\u002Fwizard@latest -i sourcemaps",{"type":62,"value":5077}," shortcut noted above automates this setup.",{"type":48,"tag":190,"props":5079,"children":5080},{},[],{"type":48,"tag":1712,"props":5082,"children":5084},{"id":5083},"automatic-release-detection",[5085],{"type":62,"value":5086},"Automatic Release Detection",{"type":48,"tag":53,"props":5088,"children":5089},{},[5090],{"type":62,"value":5091},"The SDK can automatically detect the release version via Cloudflare's version metadata binding:",{"type":48,"tag":53,"props":5093,"children":5094},{},[5095],{"type":48,"tag":165,"props":5096,"children":5097},{},[5098],{"type":62,"value":1823},{"type":48,"tag":205,"props":5100,"children":5102},{"className":1826,"code":5101,"language":1828,"meta":210,"style":210},"[version_metadata]\nbinding = \"CF_VERSION_METADATA\"\n",[5103],{"type":48,"tag":108,"props":5104,"children":5105},{"__ignoreMap":210},[5106,5114],{"type":48,"tag":216,"props":5107,"children":5108},{"class":218,"line":219},[5109],{"type":48,"tag":216,"props":5110,"children":5111},{},[5112],{"type":62,"value":5113},"[version_metadata]\n",{"type":48,"tag":216,"props":5115,"children":5116},{"class":218,"line":229},[5117],{"type":48,"tag":216,"props":5118,"children":5119},{},[5120],{"type":62,"value":5121},"binding = \"CF_VERSION_METADATA\"\n",{"type":48,"tag":53,"props":5123,"children":5124},{},[5125],{"type":62,"value":5126},"Release priority (highest to lowest):",{"type":48,"tag":5128,"props":5129,"children":5130},"ol",{},[5131,5148,5159],{"type":48,"tag":97,"props":5132,"children":5133},{},[5134,5140,5142],{"type":48,"tag":108,"props":5135,"children":5137},{"className":5136},[],[5138],{"type":62,"value":5139},"release",{"type":62,"value":5141}," option passed to ",{"type":48,"tag":108,"props":5143,"children":5145},{"className":5144},[],[5146],{"type":62,"value":5147},"Sentry.init()",{"type":48,"tag":97,"props":5149,"children":5150},{},[5151,5157],{"type":48,"tag":108,"props":5152,"children":5154},{"className":5153},[],[5155],{"type":62,"value":5156},"SENTRY_RELEASE",{"type":62,"value":5158}," environment variable",{"type":48,"tag":97,"props":5160,"children":5161},{},[5162,5168],{"type":48,"tag":108,"props":5163,"children":5165},{"className":5164},[],[5166],{"type":62,"value":5167},"CF_VERSION_METADATA.id",{"type":62,"value":5169}," binding",{"type":48,"tag":190,"props":5171,"children":5172},{},[],{"type":48,"tag":1712,"props":5174,"children":5176},{"id":5175},"for-each-agreed-feature",[5177],{"type":62,"value":5178},"For Each Agreed Feature",{"type":48,"tag":53,"props":5180,"children":5181},{},[5182],{"type":62,"value":5183},"Load the corresponding reference file and follow its steps:",{"type":48,"tag":1158,"props":5185,"children":5186},{},[5187,5207],{"type":48,"tag":1162,"props":5188,"children":5189},{},[5190],{"type":48,"tag":1166,"props":5191,"children":5192},{},[5193,5197,5202],{"type":48,"tag":1170,"props":5194,"children":5195},{},[5196],{"type":62,"value":1558},{"type":48,"tag":1170,"props":5198,"children":5199},{},[5200],{"type":62,"value":5201},"Reference file",{"type":48,"tag":1170,"props":5203,"children":5204},{},[5205],{"type":62,"value":5206},"Load when...",{"type":48,"tag":1181,"props":5208,"children":5209},{},[5210,5231,5252,5280,5309],{"type":48,"tag":1166,"props":5211,"children":5212},{},[5213,5217,5226],{"type":48,"tag":1188,"props":5214,"children":5215},{},[5216],{"type":62,"value":1437},{"type":48,"tag":1188,"props":5218,"children":5219},{},[5220],{"type":48,"tag":108,"props":5221,"children":5223},{"className":5222},[],[5224],{"type":62,"value":5225},"references\u002Ferror-monitoring.md",{"type":48,"tag":1188,"props":5227,"children":5228},{},[5229],{"type":62,"value":5230},"Always (baseline) — unhandled exceptions, manual capture, scopes, enrichment",{"type":48,"tag":1166,"props":5232,"children":5233},{},[5234,5238,5247],{"type":48,"tag":1188,"props":5235,"children":5236},{},[5237],{"type":62,"value":1448},{"type":48,"tag":1188,"props":5239,"children":5240},{},[5241],{"type":48,"tag":108,"props":5242,"children":5244},{"className":5243},[],[5245],{"type":62,"value":5246},"references\u002Ftracing.md",{"type":48,"tag":1188,"props":5248,"children":5249},{},[5250],{"type":62,"value":5251},"HTTP request tracing, outbound fetch spans, D1 query spans, distributed tracing",{"type":48,"tag":1166,"props":5253,"children":5254},{},[5255,5259,5268],{"type":48,"tag":1188,"props":5256,"children":5257},{},[5258],{"type":62,"value":1471},{"type":48,"tag":1188,"props":5260,"children":5261},{},[5262],{"type":48,"tag":108,"props":5263,"children":5265},{"className":5264},[],[5266],{"type":62,"value":5267},"references\u002Flogging.md",{"type":48,"tag":1188,"props":5269,"children":5270},{},[5271,5273,5278],{"type":62,"value":5272},"Structured logs via ",{"type":48,"tag":108,"props":5274,"children":5276},{"className":5275},[],[5277],{"type":62,"value":1479},{"type":62,"value":5279},", log-to-trace correlation",{"type":48,"tag":1166,"props":5281,"children":5282},{},[5283,5287,5296],{"type":48,"tag":1188,"props":5284,"children":5285},{},[5286],{"type":62,"value":1490},{"type":48,"tag":1188,"props":5288,"children":5289},{},[5290],{"type":48,"tag":108,"props":5291,"children":5293},{"className":5292},[],[5294],{"type":62,"value":5295},"references\u002Fcrons.md",{"type":48,"tag":1188,"props":5297,"children":5298},{},[5299,5301,5307],{"type":62,"value":5300},"Scheduled handler monitoring, ",{"type":48,"tag":108,"props":5302,"children":5304},{"className":5303},[],[5305],{"type":62,"value":5306},"withMonitor",{"type":62,"value":5308},", check-in API",{"type":48,"tag":1166,"props":5310,"children":5311},{},[5312,5316,5325],{"type":48,"tag":1188,"props":5313,"children":5314},{},[5315],{"type":62,"value":1512},{"type":48,"tag":1188,"props":5317,"children":5318},{},[5319],{"type":48,"tag":108,"props":5320,"children":5322},{"className":5321},[],[5323],{"type":62,"value":5324},"references\u002Fdurable-objects.md",{"type":48,"tag":1188,"props":5326,"children":5327},{},[5328],{"type":62,"value":5329},"Instrument Durable Object classes for error capture and spans",{"type":48,"tag":53,"props":5331,"children":5332},{},[5333],{"type":62,"value":5334},"For each feature: read the reference file, follow its steps exactly, and verify before moving on.",{"type":48,"tag":190,"props":5336,"children":5337},{},[],{"type":48,"tag":86,"props":5339,"children":5341},{"id":5340},"configuration-reference",[5342],{"type":62,"value":5343},"Configuration Reference",{"type":48,"tag":1712,"props":5345,"children":5347},{"id":5346},"sentryinit-options",[5348,5353],{"type":48,"tag":108,"props":5349,"children":5351},{"className":5350},[],[5352],{"type":62,"value":5147},{"type":62,"value":5354}," Options",{"type":48,"tag":1158,"props":5356,"children":5357},{},[5358,5384],{"type":48,"tag":1162,"props":5359,"children":5360},{},[5361],{"type":48,"tag":1166,"props":5362,"children":5363},{},[5364,5369,5374,5379],{"type":48,"tag":1170,"props":5365,"children":5366},{},[5367],{"type":62,"value":5368},"Option",{"type":48,"tag":1170,"props":5370,"children":5371},{},[5372],{"type":62,"value":5373},"Type",{"type":48,"tag":1170,"props":5375,"children":5376},{},[5377],{"type":62,"value":5378},"Default",{"type":48,"tag":1170,"props":5380,"children":5381},{},[5382],{"type":62,"value":5383},"Notes",{"type":48,"tag":1181,"props":5385,"children":5386},{},[5387,5426,5456,5491,5567,5607,5640,5678,5717,5757,5792,5821,5850,5879,5910,5943],{"type":48,"tag":1166,"props":5388,"children":5389},{},[5390,5399,5408,5413],{"type":48,"tag":1188,"props":5391,"children":5392},{},[5393],{"type":48,"tag":108,"props":5394,"children":5396},{"className":5395},[],[5397],{"type":62,"value":5398},"dsn",{"type":48,"tag":1188,"props":5400,"children":5401},{},[5402],{"type":48,"tag":108,"props":5403,"children":5405},{"className":5404},[],[5406],{"type":62,"value":5407},"string",{"type":48,"tag":1188,"props":5409,"children":5410},{},[5411],{"type":62,"value":5412},"—",{"type":48,"tag":1188,"props":5414,"children":5415},{},[5416,5418,5424],{"type":62,"value":5417},"Required. Read from ",{"type":48,"tag":108,"props":5419,"children":5421},{"className":5420},[],[5422],{"type":62,"value":5423},"env.SENTRY_DSN",{"type":62,"value":5425}," automatically if not set",{"type":48,"tag":1166,"props":5427,"children":5428},{},[5429,5438,5447,5451],{"type":48,"tag":1188,"props":5430,"children":5431},{},[5432],{"type":48,"tag":108,"props":5433,"children":5435},{"className":5434},[],[5436],{"type":62,"value":5437},"tracesSampleRate",{"type":48,"tag":1188,"props":5439,"children":5440},{},[5441],{"type":48,"tag":108,"props":5442,"children":5444},{"className":5443},[],[5445],{"type":62,"value":5446},"number",{"type":48,"tag":1188,"props":5448,"children":5449},{},[5450],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5452,"children":5453},{},[5454],{"type":62,"value":5455},"0–1; 1.0 in dev, lower in prod recommended",{"type":48,"tag":1166,"props":5457,"children":5458},{},[5459,5468,5477,5481],{"type":48,"tag":1188,"props":5460,"children":5461},{},[5462],{"type":48,"tag":108,"props":5463,"children":5465},{"className":5464},[],[5466],{"type":62,"value":5467},"tracesSampler",{"type":48,"tag":1188,"props":5469,"children":5470},{},[5471],{"type":48,"tag":108,"props":5472,"children":5474},{"className":5473},[],[5475],{"type":62,"value":5476},"function",{"type":48,"tag":1188,"props":5478,"children":5479},{},[5480],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5482,"children":5483},{},[5484,5486],{"type":62,"value":5485},"Dynamic sampling function; mutually exclusive with ",{"type":48,"tag":108,"props":5487,"children":5489},{"className":5488},[],[5490],{"type":62,"value":5437},{"type":48,"tag":1166,"props":5492,"children":5493},{},[5494,5503,5512,5517],{"type":48,"tag":1188,"props":5495,"children":5496},{},[5497],{"type":48,"tag":108,"props":5498,"children":5500},{"className":5499},[],[5501],{"type":62,"value":5502},"dataCollection",{"type":48,"tag":1188,"props":5504,"children":5505},{},[5506],{"type":48,"tag":108,"props":5507,"children":5509},{"className":5508},[],[5510],{"type":62,"value":5511},"object",{"type":48,"tag":1188,"props":5513,"children":5514},{},[5515],{"type":62,"value":5516},"conservative unless set",{"type":48,"tag":1188,"props":5518,"children":5519},{},[5520,5522,5528,5529,5535,5537,5543,5545,5551,5553,5559,5561],{"type":62,"value":5521},"Controls what data the SDK captures (",{"type":48,"tag":108,"props":5523,"children":5525},{"className":5524},[],[5526],{"type":62,"value":5527},"userInfo",{"type":62,"value":131},{"type":48,"tag":108,"props":5530,"children":5532},{"className":5531},[],[5533],{"type":62,"value":5534},"httpBodies",{"type":62,"value":5536},", etc.). When omitted, falls back to ",{"type":48,"tag":108,"props":5538,"children":5540},{"className":5539},[],[5541],{"type":62,"value":5542},"sendDefaultPii",{"type":62,"value":5544}," (default ",{"type":48,"tag":108,"props":5546,"children":5548},{"className":5547},[],[5549],{"type":62,"value":5550},"false",{"type":62,"value":5552},"); passing the object — even ",{"type":48,"tag":108,"props":5554,"children":5556},{"className":5555},[],[5557],{"type":62,"value":5558},"{}",{"type":62,"value":5560}," — enables permissive defaults. See ",{"type":48,"tag":57,"props":5562,"children":5564},{"href":5563},"#data-collection-reference",[5565],{"type":62,"value":5566},"Data Collection Reference",{"type":48,"tag":1166,"props":5568,"children":5569},{},[5570,5578,5587,5595],{"type":48,"tag":1188,"props":5571,"children":5572},{},[5573],{"type":48,"tag":108,"props":5574,"children":5576},{"className":5575},[],[5577],{"type":62,"value":5542},{"type":48,"tag":1188,"props":5579,"children":5580},{},[5581],{"type":48,"tag":108,"props":5582,"children":5584},{"className":5583},[],[5585],{"type":62,"value":5586},"boolean",{"type":48,"tag":1188,"props":5588,"children":5589},{},[5590],{"type":48,"tag":108,"props":5591,"children":5593},{"className":5592},[],[5594],{"type":62,"value":5550},{"type":48,"tag":1188,"props":5596,"children":5597},{},[5598,5600,5605],{"type":62,"value":5599},"Legacy. Prefer ",{"type":48,"tag":108,"props":5601,"children":5603},{"className":5602},[],[5604],{"type":62,"value":5502},{"type":62,"value":5606}," for control over captured data",{"type":48,"tag":1166,"props":5608,"children":5609},{},[5610,5619,5627,5635],{"type":48,"tag":1188,"props":5611,"children":5612},{},[5613],{"type":48,"tag":108,"props":5614,"children":5616},{"className":5615},[],[5617],{"type":62,"value":5618},"enableLogs",{"type":48,"tag":1188,"props":5620,"children":5621},{},[5622],{"type":48,"tag":108,"props":5623,"children":5625},{"className":5624},[],[5626],{"type":62,"value":5586},{"type":48,"tag":1188,"props":5628,"children":5629},{},[5630],{"type":48,"tag":108,"props":5631,"children":5633},{"className":5632},[],[5634],{"type":62,"value":5550},{"type":48,"tag":1188,"props":5636,"children":5637},{},[5638],{"type":62,"value":5639},"Enable Sentry Logs product",{"type":48,"tag":1166,"props":5641,"children":5642},{},[5643,5652,5660,5665],{"type":48,"tag":1188,"props":5644,"children":5645},{},[5646],{"type":48,"tag":108,"props":5647,"children":5649},{"className":5648},[],[5650],{"type":62,"value":5651},"environment",{"type":48,"tag":1188,"props":5653,"children":5654},{},[5655],{"type":48,"tag":108,"props":5656,"children":5658},{"className":5657},[],[5659],{"type":62,"value":5407},{"type":48,"tag":1188,"props":5661,"children":5662},{},[5663],{"type":62,"value":5664},"auto",{"type":48,"tag":1188,"props":5666,"children":5667},{},[5668,5670,5676],{"type":62,"value":5669},"Read from ",{"type":48,"tag":108,"props":5671,"children":5673},{"className":5672},[],[5674],{"type":62,"value":5675},"env.SENTRY_ENVIRONMENT",{"type":62,"value":5677}," if not set",{"type":48,"tag":1166,"props":5679,"children":5680},{},[5681,5689,5697,5701],{"type":48,"tag":1188,"props":5682,"children":5683},{},[5684],{"type":48,"tag":108,"props":5685,"children":5687},{"className":5686},[],[5688],{"type":62,"value":5139},{"type":48,"tag":1188,"props":5690,"children":5691},{},[5692],{"type":48,"tag":108,"props":5693,"children":5695},{"className":5694},[],[5696],{"type":62,"value":5407},{"type":48,"tag":1188,"props":5698,"children":5699},{},[5700],{"type":62,"value":5664},{"type":48,"tag":1188,"props":5702,"children":5703},{},[5704,5706,5711,5712],{"type":62,"value":5705},"Detected from ",{"type":48,"tag":108,"props":5707,"children":5709},{"className":5708},[],[5710],{"type":62,"value":5167},{"type":62,"value":1352},{"type":48,"tag":108,"props":5713,"children":5715},{"className":5714},[],[5716],{"type":62,"value":5156},{"type":48,"tag":1166,"props":5718,"children":5719},{},[5720,5729,5737,5745],{"type":48,"tag":1188,"props":5721,"children":5722},{},[5723],{"type":48,"tag":108,"props":5724,"children":5726},{"className":5725},[],[5727],{"type":62,"value":5728},"debug",{"type":48,"tag":1188,"props":5730,"children":5731},{},[5732],{"type":48,"tag":108,"props":5733,"children":5735},{"className":5734},[],[5736],{"type":62,"value":5586},{"type":48,"tag":1188,"props":5738,"children":5739},{},[5740],{"type":48,"tag":108,"props":5741,"children":5743},{"className":5742},[],[5744],{"type":62,"value":5550},{"type":48,"tag":1188,"props":5746,"children":5747},{},[5748,5749,5755],{"type":62,"value":5669},{"type":48,"tag":108,"props":5750,"children":5752},{"className":5751},[],[5753],{"type":62,"value":5754},"env.SENTRY_DEBUG",{"type":62,"value":5756}," if not set. Log SDK activity to console",{"type":48,"tag":1166,"props":5758,"children":5759},{},[5760,5769,5777,5781],{"type":48,"tag":1188,"props":5761,"children":5762},{},[5763],{"type":48,"tag":108,"props":5764,"children":5766},{"className":5765},[],[5767],{"type":62,"value":5768},"tunnel",{"type":48,"tag":1188,"props":5770,"children":5771},{},[5772],{"type":48,"tag":108,"props":5773,"children":5775},{"className":5774},[],[5776],{"type":62,"value":5407},{"type":48,"tag":1188,"props":5778,"children":5779},{},[5780],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5782,"children":5783},{},[5784,5785,5791],{"type":62,"value":5669},{"type":48,"tag":108,"props":5786,"children":5788},{"className":5787},[],[5789],{"type":62,"value":5790},"env.SENTRY_TUNNEL",{"type":62,"value":5677},{"type":48,"tag":1166,"props":5793,"children":5794},{},[5795,5804,5812,5816],{"type":48,"tag":1188,"props":5796,"children":5797},{},[5798],{"type":48,"tag":108,"props":5799,"children":5801},{"className":5800},[],[5802],{"type":62,"value":5803},"beforeSend",{"type":48,"tag":1188,"props":5805,"children":5806},{},[5807],{"type":48,"tag":108,"props":5808,"children":5810},{"className":5809},[],[5811],{"type":62,"value":5476},{"type":48,"tag":1188,"props":5813,"children":5814},{},[5815],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5817,"children":5818},{},[5819],{"type":62,"value":5820},"Filter\u002Fmodify error events before sending",{"type":48,"tag":1166,"props":5822,"children":5823},{},[5824,5833,5841,5845],{"type":48,"tag":1188,"props":5825,"children":5826},{},[5827],{"type":48,"tag":108,"props":5828,"children":5830},{"className":5829},[],[5831],{"type":62,"value":5832},"beforeSendTransaction",{"type":48,"tag":1188,"props":5834,"children":5835},{},[5836],{"type":48,"tag":108,"props":5837,"children":5839},{"className":5838},[],[5840],{"type":62,"value":5476},{"type":48,"tag":1188,"props":5842,"children":5843},{},[5844],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5846,"children":5847},{},[5848],{"type":62,"value":5849},"Filter\u002Fmodify transaction events before sending",{"type":48,"tag":1166,"props":5851,"children":5852},{},[5853,5862,5870,5874],{"type":48,"tag":1188,"props":5854,"children":5855},{},[5856],{"type":48,"tag":108,"props":5857,"children":5859},{"className":5858},[],[5860],{"type":62,"value":5861},"beforeSendLog",{"type":48,"tag":1188,"props":5863,"children":5864},{},[5865],{"type":48,"tag":108,"props":5866,"children":5868},{"className":5867},[],[5869],{"type":62,"value":5476},{"type":48,"tag":1188,"props":5871,"children":5872},{},[5873],{"type":62,"value":5412},{"type":48,"tag":1188,"props":5875,"children":5876},{},[5877],{"type":62,"value":5878},"Filter\u002Fmodify log entries before sending",{"type":48,"tag":1166,"props":5880,"children":5881},{},[5882,5891,5900,5905],{"type":48,"tag":1188,"props":5883,"children":5884},{},[5885],{"type":48,"tag":108,"props":5886,"children":5888},{"className":5887},[],[5889],{"type":62,"value":5890},"tracePropagationTargets",{"type":48,"tag":1188,"props":5892,"children":5893},{},[5894],{"type":48,"tag":108,"props":5895,"children":5897},{"className":5896},[],[5898],{"type":62,"value":5899},"(string|RegExp)[]",{"type":48,"tag":1188,"props":5901,"children":5902},{},[5903],{"type":62,"value":5904},"all URLs",{"type":48,"tag":1188,"props":5906,"children":5907},{},[5908],{"type":62,"value":5909},"Control which outbound requests get trace headers",{"type":48,"tag":1166,"props":5911,"children":5912},{},[5913,5922,5930,5938],{"type":48,"tag":1188,"props":5914,"children":5915},{},[5916],{"type":48,"tag":108,"props":5917,"children":5919},{"className":5918},[],[5920],{"type":62,"value":5921},"skipOpenTelemetrySetup",{"type":48,"tag":1188,"props":5923,"children":5924},{},[5925],{"type":48,"tag":108,"props":5926,"children":5928},{"className":5927},[],[5929],{"type":62,"value":5586},{"type":48,"tag":1188,"props":5931,"children":5932},{},[5933],{"type":48,"tag":108,"props":5934,"children":5936},{"className":5935},[],[5937],{"type":62,"value":5550},{"type":48,"tag":1188,"props":5939,"children":5940},{},[5941],{"type":62,"value":5942},"Opt-out of OpenTelemetry compatibility tracer",{"type":48,"tag":1166,"props":5944,"children":5945},{},[5946,5955,5964,5972],{"type":48,"tag":1188,"props":5947,"children":5948},{},[5949],{"type":48,"tag":108,"props":5950,"children":5952},{"className":5951},[],[5953],{"type":62,"value":5954},"instrumentPrototypeMethods",{"type":48,"tag":1188,"props":5956,"children":5957},{},[5958],{"type":48,"tag":108,"props":5959,"children":5961},{"className":5960},[],[5962],{"type":62,"value":5963},"boolean | string[]",{"type":48,"tag":1188,"props":5965,"children":5966},{},[5967],{"type":48,"tag":108,"props":5968,"children":5970},{"className":5969},[],[5971],{"type":62,"value":5550},{"type":48,"tag":1188,"props":5973,"children":5974},{},[5975],{"type":62,"value":5976},"Durable Object: instrument prototype methods for RPC spans",{"type":48,"tag":1712,"props":5978,"children":5980},{"id":5979},"data-collection-reference",[5981],{"type":62,"value":5566},{"type":48,"tag":205,"props":5983,"children":5985},{"className":2005,"code":5984,"language":2007,"meta":210,"style":210},"dataCollection: {\n  \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n  \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fconfiguration\u002Foptions\u002F#dataCollection\n  \u002F\u002F userInfo: false,\n  \u002F\u002F httpBodies: [],\n},\n",[5986],{"type":48,"tag":108,"props":5987,"children":5988},{"__ignoreMap":210},[5989,6004,6012,6020,6028,6036],{"type":48,"tag":216,"props":5990,"children":5991},{"class":218,"line":219},[5992,5996,6000],{"type":48,"tag":216,"props":5993,"children":5994},{"style":233},[5995],{"type":62,"value":5502},{"type":48,"tag":216,"props":5997,"children":5998},{"style":255},[5999],{"type":62,"value":2117},{"type":48,"tag":216,"props":6001,"children":6002},{"style":255},[6003],{"type":62,"value":2235},{"type":48,"tag":216,"props":6005,"children":6006},{"class":218,"line":229},[6007],{"type":48,"tag":216,"props":6008,"children":6009},{"style":223},[6010],{"type":62,"value":6011},"  \u002F\u002F To disable sending user data and HTTP bodies, uncomment the lines below. For more info visit:\n",{"type":48,"tag":216,"props":6013,"children":6014},{"class":218,"line":266},[6015],{"type":48,"tag":216,"props":6016,"children":6017},{"style":223},[6018],{"type":62,"value":6019},"  \u002F\u002F https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fconfiguration\u002Foptions\u002F#dataCollection\n",{"type":48,"tag":216,"props":6021,"children":6022},{"class":218,"line":275},[6023],{"type":48,"tag":216,"props":6024,"children":6025},{"style":223},[6026],{"type":62,"value":6027},"  \u002F\u002F userInfo: false,\n",{"type":48,"tag":216,"props":6029,"children":6030},{"class":218,"line":284},[6031],{"type":48,"tag":216,"props":6032,"children":6033},{"style":223},[6034],{"type":62,"value":6035},"  \u002F\u002F httpBodies: [],\n",{"type":48,"tag":216,"props":6037,"children":6038},{"class":218,"line":337},[6039],{"type":48,"tag":216,"props":6040,"children":6041},{"style":255},[6042],{"type":62,"value":6043},"},\n",{"type":48,"tag":1712,"props":6045,"children":6047},{"id":6046},"environment-variables-read-from-env",[6048,6050,6055],{"type":62,"value":6049},"Environment Variables (Read from ",{"type":48,"tag":108,"props":6051,"children":6053},{"className":6052},[],[6054],{"type":62,"value":2112},{"type":62,"value":2127},{"type":48,"tag":53,"props":6057,"children":6058},{},[6059,6061,6066],{"type":62,"value":6060},"The SDK reads these from the Cloudflare ",{"type":48,"tag":108,"props":6062,"children":6064},{"className":6063},[],[6065],{"type":62,"value":2112},{"type":62,"value":6067}," object automatically:",{"type":48,"tag":1158,"props":6069,"children":6070},{},[6071,6087],{"type":48,"tag":1162,"props":6072,"children":6073},{},[6074],{"type":48,"tag":1166,"props":6075,"children":6076},{},[6077,6082],{"type":48,"tag":1170,"props":6078,"children":6079},{},[6080],{"type":62,"value":6081},"Variable",{"type":48,"tag":1170,"props":6083,"children":6084},{},[6085],{"type":62,"value":6086},"Purpose",{"type":48,"tag":1181,"props":6088,"children":6089},{},[6090,6106,6122,6153,6170,6202,6219],{"type":48,"tag":1166,"props":6091,"children":6092},{},[6093,6101],{"type":48,"tag":1188,"props":6094,"children":6095},{},[6096],{"type":48,"tag":108,"props":6097,"children":6099},{"className":6098},[],[6100],{"type":62,"value":2169},{"type":48,"tag":1188,"props":6102,"children":6103},{},[6104],{"type":62,"value":6105},"DSN for Sentry init",{"type":48,"tag":1166,"props":6107,"children":6108},{},[6109,6117],{"type":48,"tag":1188,"props":6110,"children":6111},{},[6112],{"type":48,"tag":108,"props":6113,"children":6115},{"className":6114},[],[6116],{"type":62,"value":5156},{"type":48,"tag":1188,"props":6118,"children":6119},{},[6120],{"type":62,"value":6121},"Release version string",{"type":48,"tag":1166,"props":6123,"children":6124},{},[6125,6134],{"type":48,"tag":1188,"props":6126,"children":6127},{},[6128],{"type":48,"tag":108,"props":6129,"children":6131},{"className":6130},[],[6132],{"type":62,"value":6133},"SENTRY_ENVIRONMENT",{"type":48,"tag":1188,"props":6135,"children":6136},{},[6137,6139,6145,6146,6152],{"type":62,"value":6138},"Environment name (",{"type":48,"tag":108,"props":6140,"children":6142},{"className":6141},[],[6143],{"type":62,"value":6144},"production",{"type":62,"value":131},{"type":48,"tag":108,"props":6147,"children":6149},{"className":6148},[],[6150],{"type":62,"value":6151},"staging",{"type":62,"value":2127},{"type":48,"tag":1166,"props":6154,"children":6155},{},[6156,6165],{"type":48,"tag":1188,"props":6157,"children":6158},{},[6159],{"type":48,"tag":108,"props":6160,"children":6162},{"className":6161},[],[6163],{"type":62,"value":6164},"SENTRY_TRACES_SAMPLE_RATE",{"type":48,"tag":1188,"props":6166,"children":6167},{},[6168],{"type":62,"value":6169},"Traces sample rate (parsed as float)",{"type":48,"tag":1166,"props":6171,"children":6172},{},[6173,6182],{"type":48,"tag":1188,"props":6174,"children":6175},{},[6176],{"type":48,"tag":108,"props":6177,"children":6179},{"className":6178},[],[6180],{"type":62,"value":6181},"SENTRY_DEBUG",{"type":48,"tag":1188,"props":6183,"children":6184},{},[6185,6187,6193,6195,6201],{"type":62,"value":6186},"Enable debug mode (",{"type":48,"tag":108,"props":6188,"children":6190},{"className":6189},[],[6191],{"type":62,"value":6192},"\"true\"",{"type":62,"value":6194}," \u002F ",{"type":48,"tag":108,"props":6196,"children":6198},{"className":6197},[],[6199],{"type":62,"value":6200},"\"1\"",{"type":62,"value":2127},{"type":48,"tag":1166,"props":6203,"children":6204},{},[6205,6214],{"type":48,"tag":1188,"props":6206,"children":6207},{},[6208],{"type":48,"tag":108,"props":6209,"children":6211},{"className":6210},[],[6212],{"type":62,"value":6213},"SENTRY_TUNNEL",{"type":48,"tag":1188,"props":6215,"children":6216},{},[6217],{"type":62,"value":6218},"Tunnel URL for event proxying",{"type":48,"tag":1166,"props":6220,"children":6221},{},[6222,6231],{"type":48,"tag":1188,"props":6223,"children":6224},{},[6225],{"type":48,"tag":108,"props":6226,"children":6228},{"className":6227},[],[6229],{"type":62,"value":6230},"CF_VERSION_METADATA",{"type":48,"tag":1188,"props":6232,"children":6233},{},[6234],{"type":62,"value":6235},"Cloudflare version metadata binding (auto-detected release)",{"type":48,"tag":1712,"props":6237,"children":6239},{"id":6238},"default-integrations",[6240],{"type":62,"value":6241},"Default Integrations",{"type":48,"tag":53,"props":6243,"children":6244},{},[6245,6247,6253],{"type":62,"value":6246},"These are registered automatically by ",{"type":48,"tag":108,"props":6248,"children":6250},{"className":6249},[],[6251],{"type":62,"value":6252},"getDefaultIntegrations()",{"type":62,"value":2117},{"type":48,"tag":1158,"props":6255,"children":6256},{},[6257,6272],{"type":48,"tag":1162,"props":6258,"children":6259},{},[6260],{"type":48,"tag":1166,"props":6261,"children":6262},{},[6263,6268],{"type":48,"tag":1170,"props":6264,"children":6265},{},[6266],{"type":62,"value":6267},"Integration",{"type":48,"tag":1170,"props":6269,"children":6270},{},[6271],{"type":62,"value":6086},{"type":48,"tag":1181,"props":6273,"children":6274},{},[6275,6292,6309,6326,6351,6376,6412,6429],{"type":48,"tag":1166,"props":6276,"children":6277},{},[6278,6287],{"type":48,"tag":1188,"props":6279,"children":6280},{},[6281],{"type":48,"tag":108,"props":6282,"children":6284},{"className":6283},[],[6285],{"type":62,"value":6286},"dedupeIntegration",{"type":48,"tag":1188,"props":6288,"children":6289},{},[6290],{"type":62,"value":6291},"Prevent duplicate events (disabled for Workflows)",{"type":48,"tag":1166,"props":6293,"children":6294},{},[6295,6304],{"type":48,"tag":1188,"props":6296,"children":6297},{},[6298],{"type":48,"tag":108,"props":6299,"children":6301},{"className":6300},[],[6302],{"type":62,"value":6303},"inboundFiltersIntegration",{"type":48,"tag":1188,"props":6305,"children":6306},{},[6307],{"type":62,"value":6308},"Filter events by type, message, URL",{"type":48,"tag":1166,"props":6310,"children":6311},{},[6312,6321],{"type":48,"tag":1188,"props":6313,"children":6314},{},[6315],{"type":48,"tag":108,"props":6316,"children":6318},{"className":6317},[],[6319],{"type":62,"value":6320},"functionToStringIntegration",{"type":48,"tag":1188,"props":6322,"children":6323},{},[6324],{"type":62,"value":6325},"Preserve original function names",{"type":48,"tag":1166,"props":6327,"children":6328},{},[6329,6338],{"type":48,"tag":1188,"props":6330,"children":6331},{},[6332],{"type":48,"tag":108,"props":6333,"children":6335},{"className":6334},[],[6336],{"type":62,"value":6337},"linkedErrorsIntegration",{"type":48,"tag":1188,"props":6339,"children":6340},{},[6341,6343,6349],{"type":62,"value":6342},"Follow ",{"type":48,"tag":108,"props":6344,"children":6346},{"className":6345},[],[6347],{"type":62,"value":6348},"cause",{"type":62,"value":6350}," chains in errors",{"type":48,"tag":1166,"props":6352,"children":6353},{},[6354,6363],{"type":48,"tag":1188,"props":6355,"children":6356},{},[6357],{"type":48,"tag":108,"props":6358,"children":6360},{"className":6359},[],[6361],{"type":62,"value":6362},"fetchIntegration",{"type":48,"tag":1188,"props":6364,"children":6365},{},[6366,6368,6374],{"type":62,"value":6367},"Trace outbound ",{"type":48,"tag":108,"props":6369,"children":6371},{"className":6370},[],[6372],{"type":62,"value":6373},"fetch()",{"type":62,"value":6375}," calls, create breadcrumbs",{"type":48,"tag":1166,"props":6377,"children":6378},{},[6379,6387],{"type":48,"tag":1188,"props":6380,"children":6381},{},[6382],{"type":48,"tag":108,"props":6383,"children":6385},{"className":6384},[],[6386],{"type":62,"value":4116},{"type":48,"tag":1188,"props":6388,"children":6389},{},[6390,6395,6397,6402,6404,6410],{"type":48,"tag":165,"props":6391,"children":6392},{},[6393],{"type":62,"value":6394},"Deprecated in v10.55.0",{"type":62,"value":6396}," — use ",{"type":48,"tag":108,"props":6398,"children":6400},{"className":6399},[],[6401],{"type":62,"value":1228},{"type":62,"value":6403}," package instead. Auto-capture Hono ",{"type":48,"tag":108,"props":6405,"children":6407},{"className":6406},[],[6408],{"type":62,"value":6409},"onError",{"type":62,"value":6411}," exceptions",{"type":48,"tag":1166,"props":6413,"children":6414},{},[6415,6424],{"type":48,"tag":1188,"props":6416,"children":6417},{},[6418],{"type":48,"tag":108,"props":6419,"children":6421},{"className":6420},[],[6422],{"type":62,"value":6423},"requestDataIntegration",{"type":48,"tag":1188,"props":6425,"children":6426},{},[6427],{"type":62,"value":6428},"Attach request data to events",{"type":48,"tag":1166,"props":6430,"children":6431},{},[6432,6441],{"type":48,"tag":1188,"props":6433,"children":6434},{},[6435],{"type":48,"tag":108,"props":6436,"children":6438},{"className":6437},[],[6439],{"type":62,"value":6440},"consoleIntegration",{"type":48,"tag":1188,"props":6442,"children":6443},{},[6444,6446,6452],{"type":62,"value":6445},"Capture ",{"type":48,"tag":108,"props":6447,"children":6449},{"className":6448},[],[6450],{"type":62,"value":6451},"console.*",{"type":62,"value":6453}," calls as breadcrumbs",{"type":48,"tag":190,"props":6455,"children":6456},{},[],{"type":48,"tag":86,"props":6458,"children":6460},{"id":6459},"verification",[6461],{"type":62,"value":6462},"Verification",{"type":48,"tag":53,"props":6464,"children":6465},{},[6466],{"type":62,"value":6467},"After setup, verify Sentry is working:",{"type":48,"tag":205,"props":6469,"children":6471},{"className":2005,"code":6470,"language":2007,"meta":210,"style":210},"\u002F\u002F Add temporarily to your fetch handler, then remove\nexport default Sentry.withSentry(\n  (env: Env) => ({\n    dsn: env.SENTRY_DSN,\n    tracesSampleRate: 1.0,\n  }),\n  {\n    async fetch(request, env, ctx) {\n      throw new Error(\"Sentry test error — delete me\");\n    },\n  } satisfies ExportedHandler\u003CEnv>,\n);\n",[6472],{"type":48,"tag":108,"props":6473,"children":6474},{"__ignoreMap":210},[6475,6483,6510,6545,6572,6591,6606,6613,6656,6697,6704,6731],{"type":48,"tag":216,"props":6476,"children":6477},{"class":218,"line":219},[6478],{"type":48,"tag":216,"props":6479,"children":6480},{"style":223},[6481],{"type":62,"value":6482},"\u002F\u002F Add temporarily to your fetch handler, then remove\n",{"type":48,"tag":216,"props":6484,"children":6485},{"class":218,"line":229},[6486,6490,6494,6498,6502,6506],{"type":48,"tag":216,"props":6487,"children":6488},{"style":2017},[6489],{"type":62,"value":2074},{"type":48,"tag":216,"props":6491,"children":6492},{"style":2017},[6493],{"type":62,"value":2079},{"type":48,"tag":216,"props":6495,"children":6496},{"style":2033},[6497],{"type":62,"value":2084},{"type":48,"tag":216,"props":6499,"children":6500},{"style":255},[6501],{"type":62,"value":2089},{"type":48,"tag":216,"props":6503,"children":6504},{"style":390},[6505],{"type":62,"value":129},{"type":48,"tag":216,"props":6507,"children":6508},{"style":2033},[6509],{"type":62,"value":2098},{"type":48,"tag":216,"props":6511,"children":6512},{"class":218,"line":266},[6513,6517,6521,6525,6529,6533,6537,6541],{"type":48,"tag":216,"props":6514,"children":6515},{"style":255},[6516],{"type":62,"value":2106},{"type":48,"tag":216,"props":6518,"children":6519},{"style":2109},[6520],{"type":62,"value":2112},{"type":48,"tag":216,"props":6522,"children":6523},{"style":255},[6524],{"type":62,"value":2117},{"type":48,"tag":216,"props":6526,"children":6527},{"style":233},[6528],{"type":62,"value":2122},{"type":48,"tag":216,"props":6530,"children":6531},{"style":255},[6532],{"type":62,"value":2127},{"type":48,"tag":216,"props":6534,"children":6535},{"style":2130},[6536],{"type":62,"value":2133},{"type":48,"tag":216,"props":6538,"children":6539},{"style":2033},[6540],{"type":62,"value":2138},{"type":48,"tag":216,"props":6542,"children":6543},{"style":255},[6544],{"type":62,"value":1873},{"type":48,"tag":216,"props":6546,"children":6547},{"class":218,"line":275},[6548,6552,6556,6560,6564,6568],{"type":48,"tag":216,"props":6549,"children":6550},{"style":2148},[6551],{"type":62,"value":2151},{"type":48,"tag":216,"props":6553,"children":6554},{"style":255},[6555],{"type":62,"value":2117},{"type":48,"tag":216,"props":6557,"children":6558},{"style":2033},[6559],{"type":62,"value":2160},{"type":48,"tag":216,"props":6561,"children":6562},{"style":255},[6563],{"type":62,"value":2089},{"type":48,"tag":216,"props":6565,"children":6566},{"style":2033},[6567],{"type":62,"value":2169},{"type":48,"tag":216,"props":6569,"children":6570},{"style":255},[6571],{"type":62,"value":2174},{"type":48,"tag":216,"props":6573,"children":6574},{"class":218,"line":284},[6575,6579,6583,6587],{"type":48,"tag":216,"props":6576,"children":6577},{"style":2148},[6578],{"type":62,"value":2182},{"type":48,"tag":216,"props":6580,"children":6581},{"style":255},[6582],{"type":62,"value":2117},{"type":48,"tag":216,"props":6584,"children":6585},{"style":2189},[6586],{"type":62,"value":2192},{"type":48,"tag":216,"props":6588,"children":6589},{"style":255},[6590],{"type":62,"value":2174},{"type":48,"tag":216,"props":6592,"children":6593},{"class":218,"line":337},[6594,6598,6602],{"type":48,"tag":216,"props":6595,"children":6596},{"style":255},[6597],{"type":62,"value":2283},{"type":48,"tag":216,"props":6599,"children":6600},{"style":2033},[6601],{"type":62,"value":2127},{"type":48,"tag":216,"props":6603,"children":6604},{"style":255},[6605],{"type":62,"value":2174},{"type":48,"tag":216,"props":6607,"children":6608},{"class":218,"line":345},[6609],{"type":48,"tag":216,"props":6610,"children":6611},{"style":255},[6612],{"type":62,"value":2299},{"type":48,"tag":216,"props":6614,"children":6615},{"class":218,"line":354},[6616,6620,6624,6628,6632,6636,6640,6644,6648,6652],{"type":48,"tag":216,"props":6617,"children":6618},{"style":2130},[6619],{"type":62,"value":2307},{"type":48,"tag":216,"props":6621,"children":6622},{"style":2148},[6623],{"type":62,"value":2312},{"type":48,"tag":216,"props":6625,"children":6626},{"style":255},[6627],{"type":62,"value":2317},{"type":48,"tag":216,"props":6629,"children":6630},{"style":2109},[6631],{"type":62,"value":2322},{"type":48,"tag":216,"props":6633,"children":6634},{"style":255},[6635],{"type":62,"value":2327},{"type":48,"tag":216,"props":6637,"children":6638},{"style":2109},[6639],{"type":62,"value":2160},{"type":48,"tag":216,"props":6641,"children":6642},{"style":255},[6643],{"type":62,"value":2327},{"type":48,"tag":216,"props":6645,"children":6646},{"style":2109},[6647],{"type":62,"value":2340},{"type":48,"tag":216,"props":6649,"children":6650},{"style":255},[6651],{"type":62,"value":2127},{"type":48,"tag":216,"props":6653,"children":6654},{"style":255},[6655],{"type":62,"value":2235},{"type":48,"tag":216,"props":6657,"children":6658},{"class":218,"line":411},[6659,6664,6668,6672,6676,6680,6685,6689,6693],{"type":48,"tag":216,"props":6660,"children":6661},{"style":2017},[6662],{"type":62,"value":6663},"      throw",{"type":48,"tag":216,"props":6665,"children":6666},{"style":255},[6667],{"type":62,"value":2361},{"type":48,"tag":216,"props":6669,"children":6670},{"style":390},[6671],{"type":62,"value":4007},{"type":48,"tag":216,"props":6673,"children":6674},{"style":2148},[6675],{"type":62,"value":2317},{"type":48,"tag":216,"props":6677,"children":6678},{"style":255},[6679],{"type":62,"value":2054},{"type":48,"tag":216,"props":6681,"children":6682},{"style":239},[6683],{"type":62,"value":6684},"Sentry test error — delete me",{"type":48,"tag":216,"props":6686,"children":6687},{"style":255},[6688],{"type":62,"value":2054},{"type":48,"tag":216,"props":6690,"children":6691},{"style":2148},[6692],{"type":62,"value":2127},{"type":48,"tag":216,"props":6694,"children":6695},{"style":255},[6696],{"type":62,"value":2059},{"type":48,"tag":216,"props":6698,"children":6699},{"class":218,"line":456},[6700],{"type":48,"tag":216,"props":6701,"children":6702},{"style":255},[6703],{"type":62,"value":2275},{"type":48,"tag":216,"props":6705,"children":6706},{"class":218,"line":464},[6707,6711,6715,6719,6723,6727],{"type":48,"tag":216,"props":6708,"children":6709},{"style":255},[6710],{"type":62,"value":2283},{"type":48,"tag":216,"props":6712,"children":6713},{"style":2017},[6714],{"type":62,"value":2410},{"type":48,"tag":216,"props":6716,"children":6717},{"style":233},[6718],{"type":62,"value":2415},{"type":48,"tag":216,"props":6720,"children":6721},{"style":255},[6722],{"type":62,"value":2420},{"type":48,"tag":216,"props":6724,"children":6725},{"style":233},[6726],{"type":62,"value":2425},{"type":48,"tag":216,"props":6728,"children":6729},{"style":255},[6730],{"type":62,"value":2430},{"type":48,"tag":216,"props":6732,"children":6733},{"class":218,"line":473},[6734,6738],{"type":48,"tag":216,"props":6735,"children":6736},{"style":2033},[6737],{"type":62,"value":2127},{"type":48,"tag":216,"props":6739,"children":6740},{"style":255},[6741],{"type":62,"value":2059},{"type":48,"tag":53,"props":6743,"children":6744},{},[6745,6747,6754],{"type":62,"value":6746},"Deploy and trigger the route, then check your ",{"type":48,"tag":57,"props":6748,"children":6751},{"href":6749,"rel":6750},"https:\u002F\u002Fsentry.io\u002Fissues\u002F",[183],[6752],{"type":62,"value":6753},"Sentry Issues dashboard",{"type":62,"value":6755}," — the error should appear within ~30 seconds.",{"type":48,"tag":53,"props":6757,"children":6758},{},[6759],{"type":48,"tag":165,"props":6760,"children":6761},{},[6762],{"type":62,"value":6763},"Verification checklist:",{"type":48,"tag":1158,"props":6765,"children":6766},{},[6767,6783],{"type":48,"tag":1162,"props":6768,"children":6769},{},[6770],{"type":48,"tag":1166,"props":6771,"children":6772},{},[6773,6778],{"type":48,"tag":1170,"props":6774,"children":6775},{},[6776],{"type":62,"value":6777},"Check",{"type":48,"tag":1170,"props":6779,"children":6780},{},[6781],{"type":62,"value":6782},"How",{"type":48,"tag":1181,"props":6784,"children":6785},{},[6786,6799,6812,6825,6846],{"type":48,"tag":1166,"props":6787,"children":6788},{},[6789,6794],{"type":48,"tag":1188,"props":6790,"children":6791},{},[6792],{"type":62,"value":6793},"Errors captured",{"type":48,"tag":1188,"props":6795,"children":6796},{},[6797],{"type":62,"value":6798},"Throw in a fetch handler, verify in Sentry",{"type":48,"tag":1166,"props":6800,"children":6801},{},[6802,6807],{"type":48,"tag":1188,"props":6803,"children":6804},{},[6805],{"type":62,"value":6806},"Tracing working",{"type":48,"tag":1188,"props":6808,"children":6809},{},[6810],{"type":62,"value":6811},"Check Performance tab for HTTP spans",{"type":48,"tag":1166,"props":6813,"children":6814},{},[6815,6820],{"type":48,"tag":1188,"props":6816,"children":6817},{},[6818],{"type":62,"value":6819},"Source maps working",{"type":48,"tag":1188,"props":6821,"children":6822},{},[6823],{"type":62,"value":6824},"Check stack trace shows readable file\u002Fline names",{"type":48,"tag":1166,"props":6826,"children":6827},{},[6828,6833],{"type":48,"tag":1188,"props":6829,"children":6830},{},[6831],{"type":62,"value":6832},"D1 spans (if configured)",{"type":48,"tag":1188,"props":6834,"children":6835},{},[6836,6838,6844],{"type":62,"value":6837},"Run a D1 query, check for ",{"type":48,"tag":108,"props":6839,"children":6841},{"className":6840},[],[6842],{"type":62,"value":6843},"db.query",{"type":62,"value":6845}," spans",{"type":48,"tag":1166,"props":6847,"children":6848},{},[6849,6854],{"type":48,"tag":1188,"props":6850,"children":6851},{},[6852],{"type":62,"value":6853},"Scheduled monitoring (if configured)",{"type":48,"tag":1188,"props":6855,"children":6856},{},[6857],{"type":62,"value":6858},"Trigger a cron, check Crons dashboard",{"type":48,"tag":190,"props":6860,"children":6861},{},[],{"type":48,"tag":86,"props":6863,"children":6865},{"id":6864},"phase-4-cross-link",[6866],{"type":62,"value":6867},"Phase 4: Cross-Link",{"type":48,"tag":53,"props":6869,"children":6870},{},[6871],{"type":62,"value":6872},"After completing Cloudflare setup, check for companion services:",{"type":48,"tag":205,"props":6874,"children":6876},{"className":207,"code":6875,"language":209,"meta":210,"style":210},"# Check for companion frontend\nls frontend\u002F web\u002F client\u002F ui\u002F 2>\u002Fdev\u002Fnull\ncat package.json 2>\u002Fdev\u002Fnull | grep -E '\"react\"|\"vue\"|\"svelte\"|\"next\"|\"astro\"'\n\n# Check for companion backend in adjacent directories\nls ..\u002Fbackend ..\u002Fserver ..\u002Fapi 2>\u002Fdev\u002Fnull\ncat ..\u002Fgo.mod ..\u002Frequirements.txt ..\u002FGemfile 2>\u002Fdev\u002Fnull | head -3\n",[6877],{"type":48,"tag":108,"props":6878,"children":6879},{"__ignoreMap":210},[6880,6887,6919,6963,6970,6978,7008],{"type":48,"tag":216,"props":6881,"children":6882},{"class":218,"line":219},[6883],{"type":48,"tag":216,"props":6884,"children":6885},{"style":223},[6886],{"type":62,"value":1072},{"type":48,"tag":216,"props":6888,"children":6889},{"class":218,"line":229},[6890,6894,6898,6902,6906,6911,6915],{"type":48,"tag":216,"props":6891,"children":6892},{"style":233},[6893],{"type":62,"value":236},{"type":48,"tag":216,"props":6895,"children":6896},{"style":239},[6897],{"type":62,"value":1085},{"type":48,"tag":216,"props":6899,"children":6900},{"style":239},[6901],{"type":62,"value":1090},{"type":48,"tag":216,"props":6903,"children":6904},{"style":239},[6905],{"type":62,"value":1095},{"type":48,"tag":216,"props":6907,"children":6908},{"style":239},[6909],{"type":62,"value":6910}," ui\u002F",{"type":48,"tag":216,"props":6912,"children":6913},{"style":255},[6914],{"type":62,"value":258},{"type":48,"tag":216,"props":6916,"children":6917},{"style":239},[6918],{"type":62,"value":263},{"type":48,"tag":216,"props":6920,"children":6921},{"class":218,"line":266},[6922,6926,6930,6934,6938,6942,6946,6950,6954,6959],{"type":48,"tag":216,"props":6923,"children":6924},{"style":233},[6925],{"type":62,"value":290},{"type":48,"tag":216,"props":6927,"children":6928},{"style":239},[6929],{"type":62,"value":295},{"type":48,"tag":216,"props":6931,"children":6932},{"style":255},[6933],{"type":62,"value":258},{"type":48,"tag":216,"props":6935,"children":6936},{"style":239},[6937],{"type":62,"value":304},{"type":48,"tag":216,"props":6939,"children":6940},{"style":255},[6941],{"type":62,"value":309},{"type":48,"tag":216,"props":6943,"children":6944},{"style":233},[6945],{"type":62,"value":314},{"type":48,"tag":216,"props":6947,"children":6948},{"style":239},[6949],{"type":62,"value":319},{"type":48,"tag":216,"props":6951,"children":6952},{"style":255},[6953],{"type":62,"value":324},{"type":48,"tag":216,"props":6955,"children":6956},{"style":239},[6957],{"type":62,"value":6958},"\"react\"|\"vue\"|\"svelte\"|\"next\"|\"astro\"",{"type":48,"tag":216,"props":6960,"children":6961},{"style":255},[6962],{"type":62,"value":334},{"type":48,"tag":216,"props":6964,"children":6965},{"class":218,"line":275},[6966],{"type":48,"tag":216,"props":6967,"children":6968},{"emptyLinePlaceholder":43},[6969],{"type":62,"value":272},{"type":48,"tag":216,"props":6971,"children":6972},{"class":218,"line":284},[6973],{"type":48,"tag":216,"props":6974,"children":6975},{"style":223},[6976],{"type":62,"value":6977},"# Check for companion backend in adjacent directories\n",{"type":48,"tag":216,"props":6979,"children":6980},{"class":218,"line":337},[6981,6985,6990,6995,7000,7004],{"type":48,"tag":216,"props":6982,"children":6983},{"style":233},[6984],{"type":62,"value":236},{"type":48,"tag":216,"props":6986,"children":6987},{"style":239},[6988],{"type":62,"value":6989}," ..\u002Fbackend",{"type":48,"tag":216,"props":6991,"children":6992},{"style":239},[6993],{"type":62,"value":6994}," ..\u002Fserver",{"type":48,"tag":216,"props":6996,"children":6997},{"style":239},[6998],{"type":62,"value":6999}," ..\u002Fapi",{"type":48,"tag":216,"props":7001,"children":7002},{"style":255},[7003],{"type":62,"value":258},{"type":48,"tag":216,"props":7005,"children":7006},{"style":239},[7007],{"type":62,"value":263},{"type":48,"tag":216,"props":7009,"children":7010},{"class":218,"line":345},[7011,7015,7020,7025,7030,7034,7038,7042,7047],{"type":48,"tag":216,"props":7012,"children":7013},{"style":233},[7014],{"type":62,"value":290},{"type":48,"tag":216,"props":7016,"children":7017},{"style":239},[7018],{"type":62,"value":7019}," ..\u002Fgo.mod",{"type":48,"tag":216,"props":7021,"children":7022},{"style":239},[7023],{"type":62,"value":7024}," ..\u002Frequirements.txt",{"type":48,"tag":216,"props":7026,"children":7027},{"style":239},[7028],{"type":62,"value":7029}," ..\u002FGemfile",{"type":48,"tag":216,"props":7031,"children":7032},{"style":255},[7033],{"type":62,"value":258},{"type":48,"tag":216,"props":7035,"children":7036},{"style":239},[7037],{"type":62,"value":304},{"type":48,"tag":216,"props":7039,"children":7040},{"style":255},[7041],{"type":62,"value":309},{"type":48,"tag":216,"props":7043,"children":7044},{"style":233},[7045],{"type":62,"value":7046}," head",{"type":48,"tag":216,"props":7048,"children":7049},{"style":239},[7050],{"type":62,"value":7051}," -3\n",{"type":48,"tag":53,"props":7053,"children":7054},{},[7055],{"type":62,"value":7056},"If a frontend is found, suggest the matching SDK skill:",{"type":48,"tag":1158,"props":7058,"children":7059},{},[7060,7076],{"type":48,"tag":1162,"props":7061,"children":7062},{},[7063],{"type":48,"tag":1166,"props":7064,"children":7065},{},[7066,7071],{"type":48,"tag":1170,"props":7067,"children":7068},{},[7069],{"type":62,"value":7070},"Frontend detected",{"type":48,"tag":1170,"props":7072,"children":7073},{},[7074],{"type":62,"value":7075},"Suggest skill",{"type":48,"tag":1181,"props":7077,"children":7078},{},[7079,7096,7113,7130],{"type":48,"tag":1166,"props":7080,"children":7081},{},[7082,7087],{"type":48,"tag":1188,"props":7083,"children":7084},{},[7085],{"type":62,"value":7086},"React",{"type":48,"tag":1188,"props":7088,"children":7089},{},[7090],{"type":48,"tag":108,"props":7091,"children":7093},{"className":7092},[],[7094],{"type":62,"value":7095},"sentry-react-sdk",{"type":48,"tag":1166,"props":7097,"children":7098},{},[7099,7104],{"type":48,"tag":1188,"props":7100,"children":7101},{},[7102],{"type":62,"value":7103},"Next.js",{"type":48,"tag":1188,"props":7105,"children":7106},{},[7107],{"type":48,"tag":108,"props":7108,"children":7110},{"className":7109},[],[7111],{"type":62,"value":7112},"sentry-nextjs-sdk",{"type":48,"tag":1166,"props":7114,"children":7115},{},[7116,7121],{"type":48,"tag":1188,"props":7117,"children":7118},{},[7119],{"type":62,"value":7120},"Svelte\u002FSvelteKit",{"type":48,"tag":1188,"props":7122,"children":7123},{},[7124],{"type":48,"tag":108,"props":7125,"children":7127},{"className":7126},[],[7128],{"type":62,"value":7129},"sentry-svelte-sdk",{"type":48,"tag":1166,"props":7131,"children":7132},{},[7133,7138],{"type":48,"tag":1188,"props":7134,"children":7135},{},[7136],{"type":62,"value":7137},"Vue\u002FNuxt",{"type":48,"tag":1188,"props":7139,"children":7140},{},[7141,7143],{"type":62,"value":7142},"See ",{"type":48,"tag":57,"props":7144,"children":7147},{"href":7145,"rel":7146},"https:\u002F\u002Fdocs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F",[183],[7148],{"type":62,"value":7149},"docs.sentry.io\u002Fplatforms\u002Fjavascript\u002Fguides\u002Fvue\u002F",{"type":48,"tag":53,"props":7151,"children":7152},{},[7153],{"type":62,"value":7154},"If a backend is found in a different directory:",{"type":48,"tag":1158,"props":7156,"children":7157},{},[7158,7173],{"type":48,"tag":1162,"props":7159,"children":7160},{},[7161],{"type":48,"tag":1166,"props":7162,"children":7163},{},[7164,7169],{"type":48,"tag":1170,"props":7165,"children":7166},{},[7167],{"type":62,"value":7168},"Backend detected",{"type":48,"tag":1170,"props":7170,"children":7171},{},[7172],{"type":62,"value":7075},{"type":48,"tag":1181,"props":7174,"children":7175},{},[7176,7200,7231,7255],{"type":48,"tag":1166,"props":7177,"children":7178},{},[7179,7191],{"type":48,"tag":1188,"props":7180,"children":7181},{},[7182,7184,7190],{"type":62,"value":7183},"Go (",{"type":48,"tag":108,"props":7185,"children":7187},{"className":7186},[],[7188],{"type":62,"value":7189},"go.mod",{"type":62,"value":2127},{"type":48,"tag":1188,"props":7192,"children":7193},{},[7194],{"type":48,"tag":108,"props":7195,"children":7197},{"className":7196},[],[7198],{"type":62,"value":7199},"sentry-go-sdk",{"type":48,"tag":1166,"props":7201,"children":7202},{},[7203,7222],{"type":48,"tag":1188,"props":7204,"children":7205},{},[7206,7208,7214,7215,7221],{"type":62,"value":7207},"Python (",{"type":48,"tag":108,"props":7209,"children":7211},{"className":7210},[],[7212],{"type":62,"value":7213},"requirements.txt",{"type":62,"value":131},{"type":48,"tag":108,"props":7216,"children":7218},{"className":7217},[],[7219],{"type":62,"value":7220},"pyproject.toml",{"type":62,"value":2127},{"type":48,"tag":1188,"props":7223,"children":7224},{},[7225],{"type":48,"tag":108,"props":7226,"children":7228},{"className":7227},[],[7229],{"type":62,"value":7230},"sentry-python-sdk",{"type":48,"tag":1166,"props":7232,"children":7233},{},[7234,7246],{"type":48,"tag":1188,"props":7235,"children":7236},{},[7237,7239,7245],{"type":62,"value":7238},"Ruby (",{"type":48,"tag":108,"props":7240,"children":7242},{"className":7241},[],[7243],{"type":62,"value":7244},"Gemfile",{"type":62,"value":2127},{"type":48,"tag":1188,"props":7247,"children":7248},{},[7249],{"type":48,"tag":108,"props":7250,"children":7252},{"className":7251},[],[7253],{"type":62,"value":7254},"sentry-ruby-sdk",{"type":48,"tag":1166,"props":7256,"children":7257},{},[7258,7263],{"type":48,"tag":1188,"props":7259,"children":7260},{},[7261],{"type":62,"value":7262},"Node.js (Express, Fastify)",{"type":48,"tag":1188,"props":7264,"children":7265},{},[7266],{"type":48,"tag":108,"props":7267,"children":7269},{"className":7268},[],[7270],{"type":62,"value":7271},"sentry-node-sdk",{"type":48,"tag":53,"props":7273,"children":7274},{},[7275,7277,7282],{"type":62,"value":7276},"Connecting frontend and backend with linked Sentry projects enables ",{"type":48,"tag":165,"props":7278,"children":7279},{},[7280],{"type":62,"value":7281},"distributed tracing",{"type":62,"value":7283}," — stack traces that span your browser, Cloudflare Worker, and backend API in a single trace view.",{"type":48,"tag":190,"props":7285,"children":7286},{},[],{"type":48,"tag":86,"props":7288,"children":7290},{"id":7289},"troubleshooting",[7291],{"type":62,"value":7292},"Troubleshooting",{"type":48,"tag":1158,"props":7294,"children":7295},{},[7296,7317],{"type":48,"tag":1162,"props":7297,"children":7298},{},[7299],{"type":48,"tag":1166,"props":7300,"children":7301},{},[7302,7307,7312],{"type":48,"tag":1170,"props":7303,"children":7304},{},[7305],{"type":62,"value":7306},"Issue",{"type":48,"tag":1170,"props":7308,"children":7309},{},[7310],{"type":62,"value":7311},"Cause",{"type":48,"tag":1170,"props":7313,"children":7314},{},[7315],{"type":62,"value":7316},"Solution",{"type":48,"tag":1181,"props":7318,"children":7319},{},[7320,7367,7414,7454,7493,7530,7561,7642,7672,7713],{"type":48,"tag":1166,"props":7321,"children":7322},{},[7323,7328,7341],{"type":48,"tag":1188,"props":7324,"children":7325},{},[7326],{"type":62,"value":7327},"Events not appearing",{"type":48,"tag":1188,"props":7329,"children":7330},{},[7331,7333,7339],{"type":62,"value":7332},"DSN not set or ",{"type":48,"tag":108,"props":7334,"children":7336},{"className":7335},[],[7337],{"type":62,"value":7338},"debug: false",{"type":62,"value":7340}," hiding errors",{"type":48,"tag":1188,"props":7342,"children":7343},{},[7344,7346,7352,7354,7359,7361],{"type":62,"value":7345},"Set ",{"type":48,"tag":108,"props":7347,"children":7349},{"className":7348},[],[7350],{"type":62,"value":7351},"debug: true",{"type":62,"value":7353}," temporarily in init options; verify ",{"type":48,"tag":108,"props":7355,"children":7357},{"className":7356},[],[7358],{"type":62,"value":2169},{"type":62,"value":7360}," secret is set with ",{"type":48,"tag":108,"props":7362,"children":7364},{"className":7363},[],[7365],{"type":62,"value":7366},"wrangler secret list",{"type":48,"tag":1166,"props":7368,"children":7369},{},[7370,7379,7384],{"type":48,"tag":1188,"props":7371,"children":7372},{},[7373],{"type":48,"tag":108,"props":7374,"children":7376},{"className":7375},[],[7377],{"type":62,"value":7378},"AsyncLocalStorage is not defined",{"type":48,"tag":1188,"props":7380,"children":7381},{},[7382],{"type":62,"value":7383},"Missing compatibility flag",{"type":48,"tag":1188,"props":7385,"children":7386},{},[7387,7389,7394,7395,7400,7402,7407,7409],{"type":62,"value":7388},"Add ",{"type":48,"tag":108,"props":7390,"children":7392},{"className":7391},[],[7393],{"type":62,"value":1350},{"type":62,"value":1352},{"type":48,"tag":108,"props":7396,"children":7398},{"className":7397},[],[7399],{"type":62,"value":1358},{"type":62,"value":7401}," to ",{"type":48,"tag":108,"props":7403,"children":7405},{"className":7404},[],[7406],{"type":62,"value":883},{"type":62,"value":7408}," in ",{"type":48,"tag":108,"props":7410,"children":7412},{"className":7411},[],[7413],{"type":62,"value":1629},{"type":48,"tag":1166,"props":7415,"children":7416},{},[7417,7422,7427],{"type":48,"tag":1188,"props":7418,"children":7419},{},[7420],{"type":62,"value":7421},"Stack traces show minified code",{"type":48,"tag":1188,"props":7423,"children":7424},{},[7425],{"type":62,"value":7426},"Source maps not uploaded",{"type":48,"tag":1188,"props":7428,"children":7429},{},[7430,7432,7437,7439,7445,7447,7452],{"type":62,"value":7431},"Configure ",{"type":48,"tag":108,"props":7433,"children":7435},{"className":7434},[],[7436],{"type":62,"value":4795},{"type":62,"value":7438}," or run ",{"type":48,"tag":108,"props":7440,"children":7442},{"className":7441},[],[7443],{"type":62,"value":7444},"npx @sentry\u002Fwizard -i sourcemaps",{"type":62,"value":7446},"; verify ",{"type":48,"tag":108,"props":7448,"children":7450},{"className":7449},[],[7451],{"type":62,"value":5000},{"type":62,"value":7453}," in CI",{"type":48,"tag":1166,"props":7455,"children":7456},{},[7457,7462,7467],{"type":48,"tag":1188,"props":7458,"children":7459},{},[7460],{"type":62,"value":7461},"Events lost on short-lived requests",{"type":48,"tag":1188,"props":7463,"children":7464},{},[7465],{"type":62,"value":7466},"SDK not flushing before worker terminates",{"type":48,"tag":1188,"props":7468,"children":7469},{},[7470,7472,7477,7478,7483,7485,7491],{"type":62,"value":7471},"Ensure ",{"type":48,"tag":108,"props":7473,"children":7475},{"className":7474},[],[7476],{"type":62,"value":129},{"type":62,"value":1352},{"type":48,"tag":108,"props":7479,"children":7481},{"className":7480},[],[7482],{"type":62,"value":137},{"type":62,"value":7484}," wraps your handler — they use ",{"type":48,"tag":108,"props":7486,"children":7488},{"className":7487},[],[7489],{"type":62,"value":7490},"ctx.waitUntil()",{"type":62,"value":7492}," to flush",{"type":48,"tag":1166,"props":7494,"children":7495},{},[7496,7501,7506],{"type":48,"tag":1188,"props":7497,"children":7498},{},[7499],{"type":62,"value":7500},"Hono errors not captured",{"type":48,"tag":1188,"props":7502,"children":7503},{},[7504],{"type":62,"value":7505},"Hono app not instrumented",{"type":48,"tag":1188,"props":7507,"children":7508},{},[7509,7510,7515,7517,7522,7524],{"type":62,"value":2522},{"type":48,"tag":108,"props":7511,"children":7513},{"className":7512},[],[7514],{"type":62,"value":3550},{"type":62,"value":7516}," — import ",{"type":48,"tag":108,"props":7518,"children":7520},{"className":7519},[],[7521],{"type":62,"value":8},{"type":62,"value":7523}," middleware and call ",{"type":48,"tag":108,"props":7525,"children":7527},{"className":7526},[],[7528],{"type":62,"value":7529},"app.use(sentry(app, options))",{"type":48,"tag":1166,"props":7531,"children":7532},{},[7533,7538,7543],{"type":48,"tag":1188,"props":7534,"children":7535},{},[7536],{"type":62,"value":7537},"Durable Object errors missing",{"type":48,"tag":1188,"props":7539,"children":7540},{},[7541],{"type":62,"value":7542},"DO class not instrumented",{"type":48,"tag":1188,"props":7544,"children":7545},{},[7546,7548,7554,7556],{"type":62,"value":7547},"Wrap class with ",{"type":48,"tag":108,"props":7549,"children":7551},{"className":7550},[],[7552],{"type":62,"value":7553},"Sentry.instrumentDurableObjectWithSentry()",{"type":62,"value":7555}," — see ",{"type":48,"tag":108,"props":7557,"children":7559},{"className":7558},[],[7560],{"type":62,"value":5324},{"type":48,"tag":1166,"props":7562,"children":7563},{},[7564,7569,7587],{"type":48,"tag":1188,"props":7565,"children":7566},{},[7567],{"type":62,"value":7568},"D1 queries not creating spans",{"type":48,"tag":1188,"props":7570,"children":7571},{},[7572,7574,7579,7581,7586],{"type":62,"value":7573},"Handler not wrapped with ",{"type":48,"tag":108,"props":7575,"children":7577},{"className":7576},[],[7578],{"type":62,"value":129},{"type":62,"value":7580},", or querying a non-",{"type":48,"tag":108,"props":7582,"children":7584},{"className":7583},[],[7585],{"type":62,"value":2112},{"type":62,"value":5169},{"type":48,"tag":1188,"props":7588,"children":7589},{},[7590,7592,7597,7599,7604,7606,7611,7613,7619,7620,7626,7627,7633,7634,7640],{"type":62,"value":7591},"D1 bindings on ",{"type":48,"tag":108,"props":7593,"children":7595},{"className":7594},[],[7596],{"type":62,"value":2112},{"type":62,"value":7598}," are auto-instrumented by ",{"type":48,"tag":108,"props":7600,"children":7602},{"className":7601},[],[7603],{"type":62,"value":129},{"type":62,"value":7605}," (v10.57.0+) — no manual wrapping needed (",{"type":48,"tag":108,"props":7607,"children":7609},{"className":7608},[],[7610],{"type":62,"value":152},{"type":62,"value":7612}," is deprecated). All query methods (",{"type":48,"tag":108,"props":7614,"children":7616},{"className":7615},[],[7617],{"type":62,"value":7618},"prepare",{"type":62,"value":131},{"type":48,"tag":108,"props":7621,"children":7623},{"className":7622},[],[7624],{"type":62,"value":7625},"batch",{"type":62,"value":131},{"type":48,"tag":108,"props":7628,"children":7630},{"className":7629},[],[7631],{"type":62,"value":7632},"exec",{"type":62,"value":131},{"type":48,"tag":108,"props":7635,"children":7637},{"className":7636},[],[7638],{"type":62,"value":7639},"withSession",{"type":62,"value":7641},") are traced in v10.61.0+",{"type":48,"tag":1166,"props":7643,"children":7644},{},[7645,7650,7660],{"type":48,"tag":1188,"props":7646,"children":7647},{},[7648],{"type":62,"value":7649},"Scheduled handler not monitored",{"type":48,"tag":1188,"props":7651,"children":7652},{},[7653,7658],{"type":48,"tag":108,"props":7654,"children":7656},{"className":7655},[],[7657],{"type":62,"value":129},{"type":62,"value":7659}," not wrapping the handler",{"type":48,"tag":1188,"props":7661,"children":7662},{},[7663,7664,7670],{"type":62,"value":7471},{"type":48,"tag":108,"props":7665,"children":7667},{"className":7666},[],[7668],{"type":62,"value":7669},"export default Sentry.withSentry(...)",{"type":62,"value":7671}," wraps your entire exported handler object",{"type":48,"tag":1166,"props":7673,"children":7674},{},[7675,7680,7690],{"type":48,"tag":1188,"props":7676,"children":7677},{},[7678],{"type":62,"value":7679},"Release not auto-detected",{"type":48,"tag":1188,"props":7681,"children":7682},{},[7683,7688],{"type":48,"tag":108,"props":7684,"children":7686},{"className":7685},[],[7687],{"type":62,"value":6230},{"type":62,"value":7689}," binding not configured",{"type":48,"tag":1188,"props":7691,"children":7692},{},[7693,7694,7700,7701,7707,7708],{"type":62,"value":7388},{"type":48,"tag":108,"props":7695,"children":7697},{"className":7696},[],[7698],{"type":62,"value":7699},"[version_metadata]",{"type":62,"value":4103},{"type":48,"tag":108,"props":7702,"children":7704},{"className":7703},[],[7705],{"type":62,"value":7706},"binding = \"CF_VERSION_METADATA\"",{"type":62,"value":7401},{"type":48,"tag":108,"props":7709,"children":7711},{"className":7710},[],[7712],{"type":62,"value":1629},{"type":48,"tag":1166,"props":7714,"children":7715},{},[7716,7721,7726],{"type":48,"tag":1188,"props":7717,"children":7718},{},[7719],{"type":62,"value":7720},"Duplicate events in Workflows",{"type":48,"tag":1188,"props":7722,"children":7723},{},[7724],{"type":62,"value":7725},"Dedupe integration filtering step failures",{"type":48,"tag":1188,"props":7727,"children":7728},{},[7729,7731],{"type":62,"value":7730},"SDK automatically disables dedupe for Workflows; verify you use ",{"type":48,"tag":108,"props":7732,"children":7734},{"className":7733},[],[7735],{"type":62,"value":1320},{"type":48,"tag":7737,"props":7738,"children":7739},"style",{},[7740],{"type":62,"value":7741},"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":7743,"total":7921},[7744,7769,7783,7798,7812,7829,7845,7859,7869,7880,7890,7908],{"slug":7745,"name":7745,"fn":7746,"description":7747,"org":7748,"tags":7749,"stars":7766,"repoUrl":7767,"updatedAt":7768},"xcodebuildmcp","build and test Apple apps with XcodeBuildMCP","Official skill for XcodeBuildMCP. Use when doing iOS\u002FmacOS\u002FwatchOS\u002FtvOS\u002FvisionOS work (build, test, run, debug, log, UI automation).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7750,7753,7756,7759,7760,7763],{"name":7751,"slug":7752,"type":16},"Debugging","debugging",{"name":7754,"slug":7755,"type":16},"iOS","ios",{"name":7757,"slug":7758,"type":16},"macOS","macos",{"name":9,"slug":8,"type":16},{"name":7761,"slug":7762,"type":16},"Testing","testing",{"name":7764,"slug":7765,"type":16},"Xcode","xcode",6176,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002FXcodeBuildMCP","2026-04-06T18:13:34.8719",{"slug":7770,"name":7770,"fn":7771,"description":7772,"org":7773,"tags":7774,"stars":7766,"repoUrl":7767,"updatedAt":7782},"xcodebuildmcp-cli","build and test Apple apps via CLI","Official skill for the XcodeBuildMCP CLI. Use when doing iOS\u002FmacOS\u002FwatchOS\u002FtvOS\u002FvisionOS work (build, test, run, debug, log, UI automation).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7775,7778,7779,7780,7781],{"name":7776,"slug":7777,"type":16},"CLI","cli",{"name":7754,"slug":7755,"type":16},{"name":7757,"slug":7758,"type":16},{"name":7761,"slug":7762,"type":16},{"name":7764,"slug":7765,"type":16},"2026-04-06T18:13:36.13414",{"slug":7784,"name":7784,"fn":7785,"description":7786,"org":7787,"tags":7788,"stars":7795,"repoUrl":7796,"updatedAt":7797},"agents-md","maintain project instruction files","Creates and maintains concise AGENTS.md and CLAUDE.md project instruction files. Use when asked to create AGENTS.md, update AGENTS.md, maintain agent docs, set up CLAUDE.md, document repository agent conventions, or keep coding-agent instructions minimal and reference-backed.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7789,7792],{"name":7790,"slug":7791,"type":16},"Documentation","documentation",{"name":7793,"slug":7794,"type":16},"Engineering","engineering",861,"https:\u002F\u002Fgithub.com\u002Fgetsentry\u002Fskills","2026-05-15T06:16:29.695991",{"slug":7799,"name":7799,"fn":7800,"description":7801,"org":7802,"tags":7803,"stars":7795,"repoUrl":7796,"updatedAt":7811},"blog-writing-guide","write and review engineering blog posts","Write, review, and improve blog posts for the Sentry engineering blog following Sentry's specific writing standards, voice, and quality bar. Use this skill whenever someone asks to write a blog post, draft a technical article, review blog content, improve a draft, write a product announcement, create an engineering deep-dive, or produce any written content destined for the Sentry blog or developer audience. Also trigger when the user mentions \"blog post,\" \"blog draft,\" \"write-up,\" \"announcement post,\" \"engineering post,\" \"deep dive,\" \"postmortem,\" or asks for help with technical writing for Sentry. Even if the user just says \"help me write about [feature\u002Ftopic]\" — if it sounds like it could become a Sentry blog post, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7804,7807,7808],{"name":7805,"slug":7806,"type":16},"Communications","communications",{"name":9,"slug":8,"type":16},{"name":7809,"slug":7810,"type":16},"Technical Writing","technical-writing","2026-05-15T06:16:33.38217",{"slug":7813,"name":7813,"fn":7814,"description":7815,"org":7816,"tags":7817,"stars":7795,"repoUrl":7796,"updatedAt":7828},"brand-guidelines","write copy following Sentry brand guidelines","Write copy following Sentry brand guidelines. Use when writing UI text, error messages, empty states, onboarding flows, 404 pages, documentation, marketing copy, or any user-facing content. Covers both Plain Speech (default) and Sentry Voice tones.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7818,7821,7824,7825],{"name":7819,"slug":7820,"type":16},"Branding","branding",{"name":7822,"slug":7823,"type":16},"Content Creation","content-creation",{"name":9,"slug":8,"type":16},{"name":7826,"slug":7827,"type":16},"UX Copy","ux-copy","2026-05-15T06:16:22.395707",{"slug":7830,"name":7830,"fn":7831,"description":7832,"org":7833,"tags":7834,"stars":7795,"repoUrl":7796,"updatedAt":7844},"claude-settings-audit","generate Claude Code settings permissions","Analyze a repository to generate recommended Claude Code settings.json permissions. Use when setting up a new project, auditing existing settings, or determining which read-only bash commands to allow. Detects tech stack, build tools, and monorepo structure.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7835,7838,7841],{"name":7836,"slug":7837,"type":16},"Claude Code","claude-code",{"name":7839,"slug":7840,"type":16},"Configuration","configuration",{"name":7842,"slug":7843,"type":16},"Security","security","2026-05-15T06:16:44.335977",{"slug":7846,"name":7846,"fn":7847,"description":7848,"org":7849,"tags":7850,"stars":7795,"repoUrl":7796,"updatedAt":7858},"code-review","perform code reviews for Sentry projects","Perform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing feedback on code quality. Covers security, performance, testing, and design review.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7851,7853,7854,7857],{"name":7852,"slug":7846,"type":16},"Code Review",{"name":7793,"slug":7794,"type":16},{"name":7855,"slug":7856,"type":16},"Performance","performance",{"name":7842,"slug":7843,"type":16},"2026-05-15T06:16:35.824864",{"slug":7860,"name":7860,"fn":7861,"description":7862,"org":7863,"tags":7864,"stars":7795,"repoUrl":7796,"updatedAt":7868},"code-simplifier","simplify and refine source code","Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to \"simplify code\", \"clean up code\", \"refactor for clarity\", \"improve readability\", or review recently modified code for elegance. Focuses on project-specific best practices.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7865],{"name":7866,"slug":7867,"type":16},"Code Analysis","code-analysis","2026-05-15T06:16:32.127981",{"slug":7870,"name":7870,"fn":7871,"description":7872,"org":7873,"tags":7874,"stars":7795,"repoUrl":7796,"updatedAt":7879},"commit","create commits with Sentry conventions","Use for every request to commit changes or draft a commit message. Creates Sentry-style conventional commits with issue references.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7875,7878],{"name":7876,"slug":7877,"type":16},"Git","git",{"name":9,"slug":8,"type":16},"2026-07-18T05:15:10.723937",{"slug":7881,"name":7881,"fn":7882,"description":7883,"org":7884,"tags":7885,"stars":7795,"repoUrl":7796,"updatedAt":7889},"create-branch","create git branches for Sentry workflows","Create a git branch following Sentry naming conventions. Use when asked to \"create a branch\", \"new branch\", \"start a branch\", \"make a branch\", \"switch to a new branch\", or when starting new work on the default branch.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7886,7887,7888],{"name":7793,"slug":7794,"type":16},{"name":7876,"slug":7877,"type":16},{"name":9,"slug":8,"type":16},"2026-05-15T06:16:39.458431",{"slug":7891,"name":7891,"fn":7892,"description":7893,"org":7894,"tags":7895,"stars":7795,"repoUrl":7796,"updatedAt":7907},"django-access-review","review Django access control and IDOR","Django access control and IDOR security review. Use when reviewing Django views, DRF viewsets, ORM queries, or any Python\u002FDjango code handling user authorization. Trigger keywords: \"IDOR\", \"access control\", \"authorization\", \"Django permissions\", \"object permissions\", \"tenant isolation\", \"broken access\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7896,7899,7900,7903,7906],{"name":7897,"slug":7898,"type":16},"Access Control","access-control",{"name":7866,"slug":7867,"type":16},{"name":7901,"slug":7902,"type":16},"Django","django",{"name":7904,"slug":7905,"type":16},"Python","python",{"name":7842,"slug":7843,"type":16},"2026-05-15T06:16:43.098698",{"slug":7909,"name":7909,"fn":7910,"description":7911,"org":7912,"tags":7913,"stars":7795,"repoUrl":7796,"updatedAt":7920},"django-perf-review","review and optimize Django performance","Django performance code review. Use when asked to \"review Django performance\", \"find N+1 queries\", \"optimize Django\", \"check queryset performance\", \"database performance\", \"Django ORM issues\", or audit Django code for performance problems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7914,7915,7918,7919],{"name":7852,"slug":7846,"type":16},{"name":7916,"slug":7917,"type":16},"Database","database",{"name":7901,"slug":7902,"type":16},{"name":7855,"slug":7856,"type":16},"2026-05-15T06:16:24.832813",88,{"items":7923,"total":784},[7924,7940,7953,7961,7973,7987,8002],{"slug":7925,"name":7925,"fn":7926,"description":7927,"org":7928,"tags":7929,"stars":27,"repoUrl":28,"updatedAt":7939},"sentry-android-sdk","setup Sentry SDK for Android","Full Sentry SDK setup for Android. Use when asked to \"add Sentry to Android\", \"install sentry-android\", \"setup Sentry in Android\", or configure error monitoring, tracing, profiling, session replay, or logging for Android applications. Supports Kotlin and Java codebases.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7930,7933,7934,7935,7938],{"name":7931,"slug":7932,"type":16},"Android","android",{"name":7751,"slug":7752,"type":16},{"name":14,"slug":15,"type":16},{"name":7936,"slug":7937,"type":16},"SDK","sdk",{"name":9,"slug":8,"type":16},"2026-07-12T06:08:32.396344",{"slug":7941,"name":7941,"fn":7942,"description":7943,"org":7944,"tags":7945,"stars":27,"repoUrl":28,"updatedAt":7952},"sentry-browser-sdk","setup Sentry error monitoring for browser applications","Full Sentry SDK setup for browser JavaScript. Use when asked to \"add Sentry to a website\", \"install @sentry\u002Fbrowser\", or configure error monitoring, tracing, session replay, or logging for vanilla JavaScript, jQuery, static sites, or WordPress.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7946,7947,7950,7951],{"name":7751,"slug":7752,"type":16},{"name":7948,"slug":7949,"type":16},"JavaScript","javascript",{"name":18,"slug":19,"type":16},{"name":9,"slug":8,"type":16},"2026-07-18T05:47:44.437436",{"slug":4,"name":4,"fn":5,"description":6,"org":7954,"tags":7955,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7956,7957,7958,7959,7960],{"name":21,"slug":22,"type":16},{"name":25,"slug":26,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"slug":7962,"name":7962,"fn":7963,"description":7964,"org":7965,"tags":7966,"stars":27,"repoUrl":28,"updatedAt":7972},"sentry-cocoa-sdk","integrate Sentry SDK into Apple applications","Full Sentry SDK setup for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). Use when asked to \"add Sentry to iOS\", \"add Sentry to Swift\", \"install sentry-cocoa\", or configure error monitoring, tracing, profiling, session replay, logging, or metrics for Apple applications. Supports SwiftUI and UIKit.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7967,7968,7969,7970,7971],{"name":7754,"slug":7755,"type":16},{"name":7757,"slug":7758,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-11T05:52:57.042493",{"slug":7974,"name":7974,"fn":7975,"description":7976,"org":7977,"tags":7978,"stars":27,"repoUrl":28,"updatedAt":7986},"sentry-dotnet-sdk","setup Sentry SDK for .NET","Full Sentry SDK setup for .NET. Use when asked to \"add Sentry to .NET\", \"install Sentry for C#\", or configure error monitoring, tracing, profiling, logging, or crons for ASP.NET Core, MAUI, WPF, WinForms, Blazor, Azure Functions, or any other .NET application.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7979,7982,7983,7984,7985],{"name":7980,"slug":7981,"type":16},".NET","net",{"name":7751,"slug":7752,"type":16},{"name":14,"slug":15,"type":16},{"name":7936,"slug":7937,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T06:08:33.793148",{"slug":7988,"name":7988,"fn":7989,"description":7990,"org":7991,"tags":7992,"stars":27,"repoUrl":28,"updatedAt":8001},"sentry-elixir-sdk","setup Sentry SDK for Elixir","Full Sentry SDK setup for Elixir. Use when asked to \"add Sentry to Elixir\", \"install sentry for Elixir\", or configure error monitoring, tracing, logging, or crons for Elixir, Phoenix, or Plug applications. Supports Phoenix, Plug, LiveView, Oban, and Quantum.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[7993,7996,7999,8000],{"name":7994,"slug":7995,"type":16},"Backend","backend",{"name":7997,"slug":7998,"type":16},"Elixir","elixir",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-11T05:53:11.69581",{"slug":8003,"name":8003,"fn":8004,"description":8005,"org":8006,"tags":8007,"stars":27,"repoUrl":28,"updatedAt":8014},"sentry-fix-issues","fix production issues with Sentry","Find and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sentry. Methodically analyzes stack traces, breadcrumbs, traces, and context to identify root causes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[8008,8009,8012,8013],{"name":7751,"slug":7752,"type":16},{"name":8010,"slug":8011,"type":16},"Incident Response","incident-response",{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},"2026-07-12T06:08:35.550824"]