717 B
717 B
05: Observability Setup
What to build: JSON structured logging and NTFY alerts for errors/warnings. Logs include context (request ID, user ID); alerts include severity and topic.
Blocked by: 03 (FastAPI Application Foundation)
Status: ready-for-agent
- JSON structured logging configured (timestamp, level, message, context)
- Request ID injected into all log entries
- User ID included in logs where applicable
- NTFY integration: API pushes errors/warnings to configurable topics
- Alert severity levels implemented (info, warning, error, critical)
- NTFY alerts include context (e.g., "Database connection failures")
- Logging and alerts tested in staging environment