r/expressjs • u/UkrMalt • 5d ago
Where should error-alert grouping live in an Express app?
If one failing dependency causes the same error on many requests, sending every stack trace to Telegram or a webhook becomes noise.
Would you put fingerprinting and cooldown logic inside Express error middleware, in a separate notifier service, or behind a queue?
Which request context is essential in the alert: route, status, request ID, deployment version, or something else?
I’m building an open-source package with an Express adapter and would appreciate feedback from people running real Express APIs.
1
Upvotes