Table of Contents

Method RecordPass

Namespace
MailFathom.Infrastructure.Observability
Assembly
MailFathom.Infrastructure.dll

RecordPass(EmbeddingGenerationUpkeepResult)

Records one bounded upkeep pass: its sweep, its switch, and what it removed.

public void RecordPass(EmbeddingGenerationUpkeepResult result)

Parameters

result EmbeddingGenerationUpkeepResult

What the pass produced.

Remarks

The switch is a counter rather than a state, because what an operator asks of it afterwards is when it happened and how many have — and a gauge of the current generation would publish an identifier, which is a dimension of unbounded cardinality for a value one log line already carries.

Exceptions

ArgumentNullException

Thrown when result is null.