Class PipelineOperationalSnapshot
- Namespace
- Pipelinez.Core.Operational
- Assembly
- Pipelinez.dll
Represents an operator-focused runtime snapshot for a pipeline.
public sealed class PipelineOperationalSnapshot
- Inheritance
-
PipelineOperationalSnapshot
- Inherited Members
Constructors
PipelineOperationalSnapshot(PipelineStatus, PipelinePerformanceSnapshot, PipelineHealthStatus, DateTimeOffset, PipelineFaultState?, DateTimeOffset?, DateTimeOffset?)
Initializes a new operational snapshot.
public PipelineOperationalSnapshot(PipelineStatus status, PipelinePerformanceSnapshot performance, PipelineHealthStatus health, DateTimeOffset observedAtUtc, PipelineFaultState? lastPipelineFault = null, DateTimeOffset? lastRecordCompletedAtUtc = null, DateTimeOffset? lastDeadLetteredAtUtc = null)
Parameters
statusPipelineStatusperformancePipelinePerformanceSnapshothealthPipelineHealthStatusobservedAtUtcDateTimeOffsetlastPipelineFaultPipelineFaultStatelastRecordCompletedAtUtcDateTimeOffset?lastDeadLetteredAtUtcDateTimeOffset?
Properties
Health
Gets the health snapshot.
public PipelineHealthStatus Health { get; }
Property Value
LastDeadLetteredAtUtc
Gets the last dead-lettered record time, if one exists.
public DateTimeOffset? LastDeadLetteredAtUtc { get; }
Property Value
LastPipelineFault
Gets the last pipeline-level fault, if one exists.
public PipelineFaultState? LastPipelineFault { get; }
Property Value
LastRecordCompletedAtUtc
Gets the last successful record completion time, if one exists.
public DateTimeOffset? LastRecordCompletedAtUtc { get; }
Property Value
ObservedAtUtc
Gets the time the snapshot was observed.
public DateTimeOffset ObservedAtUtc { get; }
Property Value
Performance
Gets the performance snapshot.
public PipelinePerformanceSnapshot Performance { get; }
Property Value
Status
Gets the runtime status snapshot.
public PipelineStatus Status { get; }