Method RecordEmbeddedMessage
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
RecordEmbeddedMessage(StoredEmailEmbeddingRun, TimeSpan)
Records one message's turn at being embedded.
public void RecordEmbeddedMessage(StoredEmailEmbeddingRun run, TimeSpan elapsed)
Parameters
runStoredEmailEmbeddingRunHow the turn ended and how much it produced.
elapsedTimeSpanHow long the turn took, including the provider calls inside it.
Exceptions
- ArgumentNullException
Thrown when
runis null.