Interface IMailAnsweringRunTelemetry
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
Publishes one answering run as the operation somebody asked for, beside the request it happened inside.
public interface IMailAnsweringRunTelemetry
Remarks
The half of the record that is not durable, and the half that answers a different question. The durable entry says which messages a run read, months later and on a deployment exporting nothing; this says how long a run took, how much it considered, and how it ended, correlated with the tool call it happened inside — which is what makes diagnosing this feature the same act as diagnosing everything else the process does.
A port rather than a call into a tracing API, because starting a span is infrastructure: the application states that a run began and ended and what it did, and an adapter decides which registry that reaches. It is also what keeps the signal's privacy rule in one place, since nothing above the adapter can attach a tag to it.
Methods
- BeginRun(MailAnsweringRunObservation)
Opens the report of one run, and publishes it when the returned scope is disposed.