Class PipelinePerformanceSnapshot
- Namespace
- Pipelinez.Core.Performance
- Assembly
- Pipelinez.dll
Represents an aggregated performance snapshot for a running pipeline.
public sealed class PipelinePerformanceSnapshot
- Inheritance
-
PipelinePerformanceSnapshot
- Inherited Members
Constructors
PipelinePerformanceSnapshot(DateTimeOffset, TimeSpan, long, long, long, long, long, long, long, long, long, TimeSpan, long, int, double, TimeSpan, IReadOnlyList<PipelineComponentPerformanceSnapshot>)
Initializes a new pipeline performance snapshot.
public PipelinePerformanceSnapshot(DateTimeOffset startedAtUtc, TimeSpan elapsed, long totalRecordsPublished, long totalRecordsCompleted, long totalRecordsFaulted, long totalRetryCount, long successfulRetryRecoveries, long retryExhaustions, long totalDeadLetteredCount, long totalDeadLetterFailureCount, long totalPublishWaitCount, TimeSpan averagePublishWaitDuration, long totalPublishRejectedCount, int peakBufferedCount, double recordsPerSecond, TimeSpan averageEndToEndLatency, IReadOnlyList<PipelineComponentPerformanceSnapshot> components)
Parameters
startedAtUtcDateTimeOffsetelapsedTimeSpantotalRecordsPublishedlongtotalRecordsCompletedlongtotalRecordsFaultedlongtotalRetryCountlongsuccessfulRetryRecoverieslongretryExhaustionslongtotalDeadLetteredCountlongtotalDeadLetterFailureCountlongtotalPublishWaitCountlongaveragePublishWaitDurationTimeSpantotalPublishRejectedCountlongpeakBufferedCountintrecordsPerSeconddoubleaverageEndToEndLatencyTimeSpancomponentsIReadOnlyList<PipelineComponentPerformanceSnapshot>
Properties
AverageEndToEndLatency
Gets the average end-to-end latency for completed records.
public TimeSpan AverageEndToEndLatency { get; }
Property Value
AveragePublishWaitDuration
Gets the average duration spent waiting for capacity during publish.
public TimeSpan AveragePublishWaitDuration { get; }
Property Value
Components
Gets the component-level performance snapshots.
public IReadOnlyList<PipelineComponentPerformanceSnapshot> Components { get; }
Property Value
Elapsed
Gets the elapsed time covered by the snapshot.
public TimeSpan Elapsed { get; }
Property Value
PeakBufferedCount
Gets the peak buffered record count observed across the pipeline.
public int PeakBufferedCount { get; }
Property Value
RecordsPerSecond
Gets the current calculated records-per-second rate for the pipeline.
public double RecordsPerSecond { get; }
Property Value
RetryExhaustions
Gets the number of times retries were exhausted.
public long RetryExhaustions { get; }
Property Value
StartedAtUtc
Gets the time performance collection started.
public DateTimeOffset StartedAtUtc { get; }
Property Value
SuccessfulRetryRecoveries
Gets the number of times retry recovered a record successfully.
public long SuccessfulRetryRecoveries { get; }
Property Value
TotalDeadLetterFailureCount
Gets the total number of dead-letter write failures.
public long TotalDeadLetterFailureCount { get; }
Property Value
TotalDeadLetteredCount
Gets the total number of dead-lettered records.
public long TotalDeadLetteredCount { get; }
Property Value
TotalPublishRejectedCount
Gets the total number of rejected publish calls.
public long TotalPublishRejectedCount { get; }
Property Value
TotalPublishWaitCount
Gets the total number of publish calls that waited for capacity.
public long TotalPublishWaitCount { get; }
Property Value
TotalRecordsCompleted
Gets the total number of records completed successfully.
public long TotalRecordsCompleted { get; }
Property Value
TotalRecordsFaulted
Gets the total number of faulted records observed by the pipeline.
public long TotalRecordsFaulted { get; }
Property Value
TotalRecordsPublished
Gets the total number of records published into the pipeline.
public long TotalRecordsPublished { get; }
Property Value
TotalRetryCount
Gets the total number of retry attempts performed.
public long TotalRetryCount { get; }