Summary
There is no alert when outbox messages are stuck and growing old. A metric for the oldest unprocessed message would help detect processing failures.
What to do
- In
OutboxProcessor, query the oldest unprocessed message timestamp each cycle
- Log a warning when the oldest message exceeds a configurable threshold (default 5 minutes)
- Add
OldestMessageAge to the health check data
Files to reference
src/Processing/OutboxProcessor.cs - polling loop
src/Health/OutboxHealthCheck.cs - health check
Simple monitoring addition.
Summary
There is no alert when outbox messages are stuck and growing old. A metric for the oldest unprocessed message would help detect processing failures.
What to do
OutboxProcessor, query the oldest unprocessed message timestamp each cycleOldestMessageAgeto the health check dataFiles to reference
src/Processing/OutboxProcessor.cs- polling loopsrc/Health/OutboxHealthCheck.cs- health checkSimple monitoring addition.