Interface IMailboxDrainTelemetry
- Namespace
- MailFathom.Application.Observability
- Assembly
- MailFathom.Application.dll
Publishes how far a held account's source has been emptied, and what the gate is keeping on it.
public interface IMailboxDrainTelemetry
Remarks
The counts are the only way an operator learns how far a switch has got, because what a client sees about a held message is nothing at all: its presence on the source is not a property a person acts on. So this reports the work rather than the mail — drained, held back and for which reason, and failed — and carries no subject, address, folder path, or anything else derived from a message.
The account is a dimension because a deployment holds several and an operator switches them one at a time. The counters are one replica's, like every instrument here: a dashboard sums them across replicas, and one account's drain runs under one lease at a time so the sum is the account's.
Methods
- Report(MailAccountId, MailboxDrainReport)
Records what one pass over an account's source did.