Problem
When errors occur in production, there is no automated notification mechanism to alert the team through common communication channels. Issues may go undetected until users report them.
Proposed Solution
Add an error notification system:
- Webhook integration for Slack and Discord
- Configurable severity thresholds (e.g., only notify on 5xx errors or critical exceptions)
- Rate limiting to prevent notification storms
- Integration with the existing exception middleware for automatic triggering
- Channel routing (e.g., critical → #alerts, warnings → #monitoring)
Area
Core (_core)
Alternatives Considered
- External APM tools only (Sentry, Datadog): adds cost and external dependency — basic webhook notifications are complementary and free
- Email notifications: slower feedback loop than instant messaging
Problem
When errors occur in production, there is no automated notification mechanism to alert the team through common communication channels. Issues may go undetected until users report them.
Proposed Solution
Add an error notification system:
Area
Core (_core)
Alternatives Considered