Skip to content

Add channel routing for error notifications (Slack, Discord) #286

Description

@Mr-DooSun

Problem

The base error-notification feature (#17) sends Slack/Discord webhooks on
qualifying exceptions, but routes everything to a single configured target.
Teams usually want severity-based fan-out so noisy warnings and true incidents
don't land in the same channel.

Proposed Solution

Build on top of the notification infra from #17:

  • Route by severity, e.g. critical → #alerts, warnings → #monitoring
  • Configurable mapping via settings/env (keep the single-target default when unset)
  • Reuse the existing Protocol + Selector adapters and the severity threshold
    already introduced in Add error notification (Slack, Discord) #17 — this is routing on top, not a new transport

Notes

  • Deferred from Add error notification (Slack, Discord) #17 to keep the base notification PR focused.
  • No new domain/table expected; likely just settings + a small routing layer
    in front of the existing webhook adapter(s).

Area

Core (_core)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions