Sentry Cookbook

Code breaks. These recipes fix it.

Recipes

Debugging | Intermediate | 15-20 minutes

Debugging undefined properties in React Native with Sentry Logs

Use Sentry Logs to determine whether an undefined property is a first-render timing issue in your React Native app or actually missing from your backend API response.

LogsSession ReplayTracing React NativeNode.js
Debugging | Beginner | 10-15 minutes

Fixing production issues in Cursor using the Sentry MCP server and Seer

Use the Sentry MCP server in Cursor to pull issues from your projects, trigger Seer root cause analysis, and apply fixes directly in your IDE — no copy-pasting stack traces required.

SeerTracingError Monitoring
Monitoring | Beginner | 10-15 minutes

Monitoring your MCP server with Sentry

Wrap your MCP server with a single function call to get full visibility into client activity, transport distribution, tool and resource performance, and errors — including the silent ones MCP hides from you.

AI ObservabilityTracingError Monitoring Node.jsPython
Workflow | Intermediate | ~2 hours

Build a performance bot with Sentry + Claude

Use Sentry span data to detect slow requests, send trace context to Claude for root cause analysis, and open GitHub pull requests with fixes — on a schedule, without anyone having to ask.

TracingPerformance Node.jsPython
Debugging | Intermediate | 20-30 minutes

Replacing console.log with structured, trace-connected logging using LogTape and Sentry

Move from noisy string logs to structured, queryable, trace-connected events that help you debug production issues across your entire stack.

LogsTracingSession Replay JavaScriptNode.js
Performance | Intermediate | 20-30 minutes

Tracking and fixing checkout performance in React Native with Sentry tracing

Instrument tracing for a React Native app with a Python backend to find slow HTTP requests in your checkout flow, fix them, and set up alerts and dashboards to stay on top of regressions.

TracingAlertsDashboards React NativePython

Fix it

Get started with the only application monitoring platform that empowers developers to fix application problems without compromising on velocity.