Skip to content

Add error notification (Slack, Discord) #17

Description

@Mr-DooSun

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions