Skip to content

Add outbox message age monitoring #46

Description

@Sarmkadan

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

  1. In OutboxProcessor, query the oldest unprocessed message timestamp each cycle
  2. Log a warning when the oldest message exceeds a configurable threshold (default 5 minutes)
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions