Skip to content

Class RuntimeHealthReport

Namespace: Cephalon.Engine.Runtime
Assembly: Cephalon.Engine.dll

Captures the health result for a runtime liveness or readiness probe.

public sealed record RuntimeHealthReport : IEquatable<RuntimeHealthReport>

objectRuntimeHealthReport

IEquatable<RuntimeHealthReport>

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

RuntimeHealthReport(string, RuntimeHealthState, string, RuntimeStatus, int, RuntimeFailureInfo?, IReadOnlyList<DependencyHealthReport>, string?, DateTimeOffset?)

Section titled “ RuntimeHealthReport(string, RuntimeHealthState, string, RuntimeStatus, int, RuntimeFailureInfo?, IReadOnlyList<DependencyHealthReport>, string?, DateTimeOffset?)”

Captures the health result for a runtime liveness or readiness probe.

public RuntimeHealthReport(string Probe, RuntimeHealthState State, string Description, RuntimeStatus RuntimeStatus, int RestartCount, RuntimeFailureInfo? LastFailure, IReadOnlyList<DependencyHealthReport> Dependencies, string? ActiveWindow = null, DateTimeOffset? ActiveWindowEndsAtUtc = null)

Probe string

The probe name that produced the report.

State RuntimeHealthState

The evaluated runtime health state.

Description string

A human-readable description of the evaluated state.

RuntimeStatus RuntimeStatus

The runtime lifecycle status at the time of evaluation.

RestartCount int

The number of completed manual restarts.

LastFailure RuntimeFailureInfo?

The last runtime failure when one is available.

Dependencies IReadOnlyList<DependencyHealthReport>

The dependency-health reports visible during evaluation.

ActiveWindow string?

The active policy-driven lifecycle window, such as startup warmup, shutdown drain, or restart backoff.

ActiveWindowEndsAtUtc DateTimeOffset?

The UTC timestamp when the active lifecycle window ends, if applicable.

The active policy-driven lifecycle window, such as startup warmup, shutdown drain, or restart backoff.

public string? ActiveWindow { get; init; }

string?

The UTC timestamp when the active lifecycle window ends, if applicable.

public DateTimeOffset? ActiveWindowEndsAtUtc { get; init; }

DateTimeOffset?

The dependency-health reports visible during evaluation.

public IReadOnlyList<DependencyHealthReport> Dependencies { get; init; }

IReadOnlyList<DependencyHealthReport>

A human-readable description of the evaluated state.

public string Description { get; init; }

string

Gets a value indicating whether the report represents a healthy state.

public bool IsHealthy { get; }

bool

The last runtime failure when one is available.

public RuntimeFailureInfo? LastFailure { get; init; }

RuntimeFailureInfo?

The probe name that produced the report.

public string Probe { get; init; }

string

The number of completed manual restarts.

public int RestartCount { get; init; }

int

The runtime lifecycle status at the time of evaluation.

public RuntimeStatus RuntimeStatus { get; init; }

RuntimeStatus

The evaluated runtime health state.

public RuntimeHealthState State { get; init; }

RuntimeHealthState