Table of Contents

Class EmailEmbeddingTelemetry

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

Reports what embedding one message cost and how it ended.

public sealed class EmailEmbeddingTelemetry
Inheritance
EmailEmbeddingTelemetry
Inherited Members

Remarks

The outcome tag is the whole point of the instrument. "The worker ran" says nothing an operator can act on, while the difference between no profile being active, a declaration disagreeing with the one that was activated, and a provider refusing is three different things to go and do.

Nothing recorded here is mail or derived from it. The tags are an outcome name and a provider failure classification, both of them MailFathom's own closed sets, and the values are a count and a duration — never a message identity, a passage, or a vector, each of which would open a time series per message.

Constructors

EmailEmbeddingTelemetry()

Initializes the instruments every embedded message reports through.

Methods

RecordEmbeddedMessage(StoredEmailEmbeddingRun, TimeSpan)

Records one message's turn at being embedded.