Monitoring & Logging
Quick links: Frontend • Backend
Backend
Firebase:
- Use Functions logs for OAuth flows, refresh sweeps, and publish calls.
- Add structured logs around token exchanges and error paths.
- Error Logging: Check
errorLogscollection in Firestore for detailed API error tracking with request context and user information.
Stripe:
- Monitor webhook delivery dashboard for failures.
Related frontend: see Frontend
Frontend
Web:
- Add server logs for
/api/*routes; Next.jsconsoleoutput appears in platform logs.
Metrics (future):
- Track connected accounts per provider, subscription statuses, and publish success rates.