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
ErrorsByType
Gets error counts grouped by exception type.
public IReadOnlyDictionary<string, long>? ErrorsByType { get; init; }
Property Value
LastError
Gets the most recent error, if any.
public Exception? LastError { get; init; }
Property Value
LastErrorTime
Gets the timestamp of the last error, if any.
public DateTimeOffset? LastErrorTime { get; init; }
Property Value
Timestamp
Gets the timestamp of the measurement.
public DateTimeOffset Timestamp { get; init; }
Property Value
TotalErrors
Gets the total number of errors.
public long TotalErrors { get; init; }
Property Value
TotalOperations
Gets the total number of operations (including errors).
public long TotalOperations { get; init; }