Class EmailEmbeddingBackfillTelemetry.PassScope
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
Carries one bounded upkeep pass from the span that opens it to the result that ends it.
public sealed class EmailEmbeddingBackfillTelemetry.PassScope : IDisposable
- Inheritance
-
EmailEmbeddingBackfillTelemetry.PassScope
- Implements
- Inherited Members
Remarks
A pass that reached no result is published with an error status and no outcome, which is what an unresolved concurrency conflict and an unexpected failure both produce. Neither has a word among the outcomes, because every one of those is a state the sweep itself reached.
Methods
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- Ended(EmbeddingGenerationUpkeepResult)
Records how the pass ended and what it moved.