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
timeProviderTimeProviderStamps each observation.
loggerILogger<AiProviderHealthTracker>Records a transition between two states, in the role and the classification alone.
Exceptions
- ArgumentNullException
Thrown when
timeProviderorloggeris null.