Method Report
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
Report(MailAccountId, string, MailboxContentVolume)
Publishes what one folder run moved, and records the limits it reached.
public void Report(MailAccountId accountId, string folderAlias, MailboxContentVolume volume)
Parameters
accountIdMailAccountIdThe account the run belonged to.
folderAliasstringMailFathom's own name for the folder the run worked.
volumeMailboxContentVolumeThe byte volume and limits the run reported.
Remarks
A run that moved nothing still publishes its measured total, because a deployment whose ingestion has stopped is exactly the one whose level somebody needs to be able to read. The log lines are emitted only for a limit that was actually reached, so an ordinary run adds nothing an operator has to skip past.
Exceptions
- ArgumentNullException
Thrown when
folderAliasorvolumeis null.