# Monitoring

## Health Endpoints

| Service | Check |
| --- | --- |
| Core | `GET /health` |
| Identity | `GET /health` |
| Frontend | HTTP 200 on apex |
| Keycloak | Admin/realm availability on `auth.` host |

## Logs

- Application logs via Docker / configured `LOG_LEVEL`
- Nginx access/error logs on edge host
- Celery worker/beat logs for outbox and SSL tasks

## Suggested Alerts (minimum)

- Container restart loops
- Postgres / Redis down
- Certificate expiry < 14 days
- OTP/SMS provider error rate spike
- Outbox `failed` growth

## Related Documents

- [Production](production.md)
- [Disaster Recovery](disaster-recovery.md)
