What problem does it solve?
Production errors in Convex apps—server function failures, client JS/React crashes, OCC and scale signals—are hard to observe without sending data to third-party monitoring services. This Skill sets up Sentinel so errors are captured into a table in your own deployment, redacted at write time.
Core Features & Use Cases
- Self-hosted error capture: Install
@convex-dev/sentinel via app.use(sentinel) in convex/convex.config.ts so error data never leaves your own deployment.
- Client SDK wiring: Add a React error boundary plus
window.onerror/unhandledrejection handlers and breadcrumbs to capture client-side crashes.
- Default-on redaction: Secret key names and value patterns are redacted at write time with a default-deny policy, so raw secrets are never stored.
- Use Case: After deploying a Convex app to production, read recent errors with the Convex CLI (
convex data, run-once-query), react to new ones via the monitor's prod_error event, and optionally enable a self-healing cron that triages recurring errors and hands them to ai-runner to open a fix PR.
Quick Start
Set up Sentinel error capture in my Convex deployment by installing the component, wiring the React client SDK, and showing me how to query recent production errors.