Roosevelt Docs

Monitoring

Observability stack, error tracking en alerts

Monitoring

Stack Overzicht

ComponentServiceStatus
Error TrackingSentry✅ Active
UptimeBetterStack⚙️ Configured
PerformanceSentry Web Vitals✅ Active
DatabaseSupabase Dashboard✅ Native
WorkflowGitHub Actions✅ Native

Sentry

Sentry vangt runtime errors op in de web, portal en API apps.

DSN ophalen (via MCP)

// Gebruik altijd de MCP tool, nooit handmatig invoeren:
mcp__sentry__find_dsns("roosevelt", "roosevelt-ops")

Environment Variables

NEXT_PUBLIC_SENTRY_DSN=https://...@sentry.io/...
SENTRY_ORG=roosevelt
SENTRY_PROJECT=roosevelt-ops

Logging

Caddy schrijft logs naar /var/log/caddy/:

tail -f /var/log/caddy/roosevelt-dev.log | jq .

Log structuur (JSON):

{
  "ts": 1234567890,
  "logger": "http.log.access",
  "request": { "method": "GET", "uri": "/api/health" },
  "status": 200,
  "duration": 0.002
}

Health Checks

Elk endpoint heeft een /health route:

curl https://api.roosevelt.dev/health
# → 200 OK
 
curl https://roosevelt.dev/health
# → 200 OK (Caddy handler)

On this page