Sentry Cloudflare SDK
Skill Verified ActiveFull Sentry SDK setup for Cloudflare Workers and Pages. Use when asked to "add Sentry to Cloudflare Workers", "install @sentry/cloudflare", or configure error monitoring, tracing, logging, crons, or AI monitoring for Cloudflare Workers, Pages, Durable Objects, Queues, Workflows, or Hono on Cloudflare.
To guide users through the complete setup of Sentry error monitoring, tracing, and other observability features within Cloudflare Workers and Pages projects, ensuring proper configuration and integration.
Features
- Automated Sentry SDK setup for Cloudflare Workers and Pages
- Guidance on configuring error monitoring, tracing, and logging
- Support for Durable Objects, Queues, Workflows, and D1 databases
- Instructions for source map generation and upload
- Automatic detection of project type and framework for tailored recommendations
Use Cases
- When asked to add Sentry to a Cloudflare Workers or Pages project
- When needing to configure error monitoring, tracing, or logging for Cloudflare services
- When integrating Sentry with specific Cloudflare features like Durable Objects or D1
- When setting up source maps for readable stack traces in production
Non-Goals
- Configuring Sentry for non-Cloudflare environments
- General Cloudflare Worker or Page development unrelated to Sentry
- Troubleshooting general Sentry backend issues
- Providing Sentry SDK runtime support beyond initial setup guidance
Workflow
- Detect project type and existing Sentry setup
- Recommend Sentry features (error monitoring, tracing, etc.)
- Guide through compatibility flag setup (`nodejs_als`)
- Provide installation commands (`npm install @sentry/cloudflare`)
- Show setup code for Workers (`withSentry`), Pages (`sentryPagesPlugin`), Hono, DOs, D1
- Instruct on setting up Sentry DSN and auth tokens
- Guide through source map configuration
- Provide verification steps and troubleshooting advice
Prerequisites
- Cloudflare account and Worker/Pages project
- Node.js and npm/pnpm/yarn
- Wrangler CLI installed
- Sentry account and project with DSN
Execution
- info:Pinned dependenciesWhile the skill mentions installing packages like `@sentry/cloudflare`, explicit version pinning or lockfile details are not provided in the documentation.
Installation
First, add the marketplace
/plugin marketplace add getsentry/sentry-for-ai/plugin install sentry-for-ai@sentry-plugin-marketplaceQuality Score
VerifiedTrust Signals
Similar Extensions
Sentry Python SDK
100Full Sentry SDK setup for Python. Use when asked to "add Sentry to Python", "install sentry-sdk", "setup Sentry in Python", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for Python applications. Supports Django, Flask, FastAPI, Celery, Starlette, AIOHTTP, Tornado, and more.
Sentry Node Sdk
99Full Sentry SDK setup for Node.js, Bun, and Deno. Use when asked to "add Sentry to Node.js", "add Sentry to Bun", "add Sentry to Deno", "install @sentry/node", "@sentry/bun", or "@sentry/deno", or configure error monitoring, tracing, logging, profiling, metrics, crons, or AI monitoring for server-side JavaScript/TypeScript runtimes.
Sentry Nestjs Sdk
99Full Sentry SDK setup for NestJS. Use when asked to "add Sentry to NestJS", "install @sentry/nestjs", "setup Sentry in NestJS", or configure error monitoring, tracing, profiling, logging, metrics, crons, or AI monitoring for NestJS applications. Supports Express and Fastify adapters, GraphQL, microservices, WebSockets, and background jobs.
Azure Monitor Query Py
100Azure Monitor Query SDK for Python. Use for querying Log Analytics workspaces and Azure Monitor metrics. Triggers: "azure-monitor-query", "LogsQueryClient", "MetricsQueryClient", "Log Analytics", "Kusto queries", "Azure metrics".
Ops Fires
100Production incidents dashboard. Reads ECS health, Sentry errors, CI failures. Offers to dispatch fix agents for active fires.
Sentry Tanstack Start Sdk
100Full Sentry SDK setup for TanStack Start React. Use when asked to "add Sentry to TanStack Start", "install @sentry/tanstackstart-react", or configure error monitoring, tracing, session replay, logs, or user feedback in a TanStack Start React app.