Table of Contents

Constructor AiProviderHealthTracker

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

AiProviderHealthTracker(TimeProvider, ILogger<AiProviderHealthTracker>)

Initializes a tracker that has observed nothing yet, and the instrument it publishes through.

public AiProviderHealthTracker(TimeProvider timeProvider, ILogger<AiProviderHealthTracker> logger)

Parameters

timeProvider TimeProvider

Stamps each observation.

logger ILogger<AiProviderHealthTracker>

Records a transition between two states, in the role and the classification alone.

Exceptions

ArgumentNullException

Thrown when timeProvider or logger is null.