Table of Contents

Class HealthMetrics

Namespace
Excalibur.Dispatch.Resilience.Polly
Assembly
Excalibur.Dispatch.Resilience.Polly.dll

Health metrics for system monitoring.

public sealed class HealthMetrics
Inheritance
HealthMetrics
Inherited Members
Extension Methods

Properties

CpuUsagePercent

Gets the CPU usage percentage (0-100).

public double CpuUsagePercent { get; init; }

Property Value

double

The instantaneous CPU utilization percentage for the monitored node.

ErrorRate

Gets the error rate (0.0-1.0).

public double ErrorRate { get; init; }

Property Value

double

The ratio of failed operations to total operations in the sampling window.

MemoryUsagePercent

Gets the memory usage percentage (0-100).

public double MemoryUsagePercent { get; init; }

Property Value

double

The percentage of memory currently consumed by the workload.

Timestamp

Gets the timestamp when these metrics were collected.

public DateTimeOffset Timestamp { get; init; }

Property Value

DateTimeOffset

The UTC timestamp representing when the metrics snapshot was captured.