Table of Contents

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

accountId MailAccountId

The account the run belonged to.

folderAlias string

MailFathom's own name for the folder the run worked.

volume MailboxContentVolume

The 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 folderAlias or volume is null.