Monitoring
Application monitoring, error tracking, and health checks.
Health Checks
# API Health
GET /api/health
# Response
{
"status": "ok",
"info": {
"database": { "status": "up" }
}
}
Sentry Integration
SENTRY_DSN=https://key@sentry.io/project-id
SENTRY_TRACES_SAMPLE_RATE=0.1
SENTRY_HTTP_TRACING_ENABLED=true
SENTRY_POSTGRES_TRACING_ENABLED=true
Sentry captures:
- Unhandled exceptions
- API performance traces
- Database query performance
- Frontend errors