Observability
Current Stack
- Pino logger through
@salesarc/observability - Sentry initialization during API startup
- correlation IDs on API requests
What the API Logs
- request completion summaries
- webhook failures
- cron sweep summaries
- integration errors that should be visible in production
Practical Rules
- never log raw tokens
- keep PII out of structured logs where possible
- log failures with enough context to debug the tenant or provider involved
Written byDhruv Doshi