Combining errors, logs and delivery metrics to make safer notification rollback decisions
The piece argues that production failure alerts should identify failing notification deliveries, the release responsible, and whether the previous release still delivers successfully, since a stack trace alone leaves on-call engineers guessing about rollback. It proposes a design where captured errors, structured logs, and delivery-failure metrics are gathered by one polling worker and correlated by request or trace ID. The author stresses separating code rollback from potentially unsafe replay of notification jobs, which could cause duplicate customer messages. It also notes that exception alerts miss stalled work, so the earlier signal should track eligible attempts and work waiting beyond a delivery objective, illustrated with a hypothetical 99.9% success SLO. The article additionally recommends heartbeat monitoring to catch silent failures of the polling worker itself.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in