10 lines
626 B
Markdown
10 lines
626 B
Markdown
# Sentry as a Product (Shipped)
|
|
|
|
> **Note:** This spec was implemented in May 2026.
|
|
|
|
## Architecture
|
|
- Sentry is automatically provisioned for every new project (`lib/integrations/sentry.ts`).
|
|
- Environment variables (`NEXT_PUBLIC_SENTRY_DSN` and `SENTRY_AUTH_TOKEN`) are injected into the Coolify app.
|
|
- The AI has access to `project_recent_errors`, `project_error_detail`, and `project_error_resolve` MCP tools to automatically read, diagnose, and fix exceptions directly from the Sentry API.
|
|
- If unhandled exceptions are firing, the AI is prompted at the start of a conversation to address them (`app/api/chat/route.ts`).
|