Triatu Sentry
Quick start
- •Use env vars for DSN and project metadata.
- •Capture errors in Server Actions, route handlers, and background tasks.
- •Avoid PII in events; scrub or tag carefully.
Workflow
- •Define env vars (
SENTRY_DSN,SENTRY_ENVIRONMENT,SENTRY_RELEASE, sampling rates). - •Decide scope: server, client, edge.
- •Define what to capture: errors, traces, and key transactions.
- •Add tags: feature, use case, room id (no PII).
- •Add alert rules for spikes and critical errors.
- •Document exceptions and redaction rules.
Guardrails
- •Never commit DSN or API keys in the repo.
- •Avoid logging user email, full prompts, or raw payloads.
- •Use sampling for traces to control cost and noise.
References
- •
docs/OBSERVABILITY.md - •
docs/SECURITY.md - •
docs/DEVELOPMENT.md