Table of Contents

Method RecordScheduleDispatch

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

RecordScheduleDispatch(JobScheduleDispatch)

Records what a pass decided about one schedule, and how many occasions that decision passed over.

public void RecordScheduleDispatch(JobScheduleDispatch dispatch)

Parameters

dispatch JobScheduleDispatch

What the pass decided.

Remarks

The skipped occasions carry their own instrument rather than being a dimension of the decisions, because a decision is one event and the occasions it stepped over are a count that can be any number. Both are broken down by the outcome, which is what separates the two reasons an occasion is skipped: a process that was down over it, and a queue that was full or a previous run that was still going. Neither carries the schedule's own identity — it is composed of an account and a rule name, which is a dimension that grows with the configuration.

Exceptions

ArgumentNullException

Thrown when dispatch is null.