Table of Contents

Class PipelineHealthStatus

Namespace
Pipelinez.Core.Operational
Assembly
Pipelinez.dll

Represents a health snapshot for a pipeline.

public sealed class PipelineHealthStatus
Inheritance
PipelineHealthStatus
Inherited Members

Constructors

PipelineHealthStatus(string, PipelineHealthState, IReadOnlyList<string>, DateTimeOffset, PipelineStatus, PipelinePerformanceSnapshot, PipelineFaultState?)

Initializes a new health status snapshot.

public PipelineHealthStatus(string pipelineName, PipelineHealthState state, IReadOnlyList<string> reasons, DateTimeOffset observedAtUtc, PipelineStatus runtimeStatus, PipelinePerformanceSnapshot performance, PipelineFaultState? lastPipelineFault = null)

Parameters

pipelineName string
state PipelineHealthState
reasons IReadOnlyList<string>
observedAtUtc DateTimeOffset
runtimeStatus PipelineStatus
performance PipelinePerformanceSnapshot
lastPipelineFault PipelineFaultState

Properties

LastPipelineFault

Gets the last pipeline-level fault, if one has occurred.

public PipelineFaultState? LastPipelineFault { get; }

Property Value

PipelineFaultState

ObservedAtUtc

Gets the time the health snapshot was observed.

public DateTimeOffset ObservedAtUtc { get; }

Property Value

DateTimeOffset

Performance

Gets the performance snapshot used to evaluate health.

public PipelinePerformanceSnapshot Performance { get; }

Property Value

PipelinePerformanceSnapshot

PipelineName

Gets the pipeline name.

public string PipelineName { get; }

Property Value

string

Reason

Gets a single formatted health reason string, when available.

public string? Reason { get; }

Property Value

string

Reasons

Gets the list of reasons contributing to the health state.

public IReadOnlyList<string> Reasons { get; }

Property Value

IReadOnlyList<string>

RuntimeStatus

Gets the runtime status snapshot used to evaluate health.

public PipelineStatus RuntimeStatus { get; }

Property Value

PipelineStatus

State

Gets the current health state.

public PipelineHealthState State { get; }

Property Value

PipelineHealthState