Class PipelineComponentPerformanceSnapshot
- Namespace
- Pipelinez.Core.Performance
- Assembly
- Pipelinez.dll
Represents performance statistics for a single pipeline component.
public sealed class PipelineComponentPerformanceSnapshot
- Inheritance
-
PipelineComponentPerformanceSnapshot
- Inherited Members
Constructors
PipelineComponentPerformanceSnapshot(string, long, long, double, TimeSpan, int?)
Initializes a new component performance snapshot.
public PipelineComponentPerformanceSnapshot(string componentName, long processedCount, long faultedCount, double recordsPerSecond, TimeSpan averageExecutionLatency, int? queueDepth = null)
Parameters
componentNamestringprocessedCountlongfaultedCountlongrecordsPerSeconddoubleaverageExecutionLatencyTimeSpanqueueDepthint?
Properties
AverageExecutionLatency
Gets the average execution latency for the component.
public TimeSpan AverageExecutionLatency { get; }
Property Value
ComponentName
Gets the component name.
public string ComponentName { get; }
Property Value
FaultedCount
Gets the number of faulted executions observed for the component.
public long FaultedCount { get; }
Property Value
ProcessedCount
Gets the number of records processed successfully by the component.
public long ProcessedCount { get; }
Property Value
QueueDepth
Gets the current queue depth, if available.
public int? QueueDepth { get; }
Property Value
- int?
RecordsPerSecond
Gets the current calculated records-per-second rate for the component.
public double RecordsPerSecond { get; }