Table of Contents

Class ErrorStatistics

Namespace
DotCompute.Abstractions.Health
Assembly
DotCompute.Abstractions.dll

Error statistics result.

public sealed class ErrorStatistics
Inheritance
ErrorStatistics
Inherited Members

Properties

ErrorRate

Gets the error rate (errors / operations).

public double ErrorRate { get; }

Property Value

double

ErrorsByType

Gets error counts grouped by exception type.

public IReadOnlyDictionary<string, long>? ErrorsByType { get; init; }

Property Value

IReadOnlyDictionary<string, long>

LastError

Gets the most recent error, if any.

public Exception? LastError { get; init; }

Property Value

Exception

LastErrorTime

Gets the timestamp of the last error, if any.

public DateTimeOffset? LastErrorTime { get; init; }

Property Value

DateTimeOffset?

Timestamp

Gets the timestamp of the measurement.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

TotalErrors

Gets the total number of errors.

public long TotalErrors { get; init; }

Property Value

long

TotalOperations

Gets the total number of operations (including errors).

public long TotalOperations { get; init; }

Property Value

long