Table of Contents

Class BatchProcessingMetrics

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

Metrics for batch processing.

public sealed class BatchProcessingMetrics
Inheritance
BatchProcessingMetrics
Inherited Members
Extension Methods

Properties

ActiveBatches

Gets or sets the number of active batches.

public int ActiveBatches { get; set; }

Property Value

int

The current ActiveBatches value.

AverageBatchSize

Gets or sets the average batch size.

public double AverageBatchSize { get; set; }

Property Value

double

The current AverageBatchSize value.

AverageMessageProcessingTime

Gets or sets the average processing time per message.

public TimeSpan AverageMessageProcessingTime { get; set; }

Property Value

TimeSpan

The current AverageMessageProcessingTime value.

AverageProcessingTime

Gets or sets the average processing time per batch.

public TimeSpan AverageProcessingTime { get; set; }

Property Value

TimeSpan

The current AverageProcessingTime value.

CurrentThroughput

Gets or sets the current throughput (messages per second).

public double CurrentThroughput { get; set; }

Property Value

double

The current CurrentThroughput value.

LastUpdatedAt

Gets or sets when metrics were last updated.

public DateTimeOffset LastUpdatedAt { get; set; }

Property Value

DateTimeOffset

The current LastUpdatedAt value.

PeakThroughput

Gets or sets the peak throughput.

public double PeakThroughput { get; set; }

Property Value

double

The current PeakThroughput value.

QueueDepth

Gets or sets the queue depth (messages waiting to be batched).

public int QueueDepth { get; set; }

Property Value

int

The current QueueDepth value.

StartedAt

Gets or sets when metrics collection started.

public DateTimeOffset StartedAt { get; set; }

Property Value

DateTimeOffset

The current StartedAt value.

SuccessRate

Gets or sets the success rate.

public double SuccessRate { get; set; }

Property Value

double

The current SuccessRate value.

TotalBatchesProcessed

Gets or sets the total number of batches processed.

public long TotalBatchesProcessed { get; set; }

Property Value

long

The current TotalBatchesProcessed value.

TotalFailedMessages

Gets or sets the total number of failed messages.

public long TotalFailedMessages { get; set; }

Property Value

long

The current TotalFailedMessages value.

TotalMessagesProcessed

Gets or sets the total number of messages processed.

public long TotalMessagesProcessed { get; set; }

Property Value

long

The current TotalMessagesProcessed value.

TotalSuccessfulMessages

Gets or sets the total number of successful messages.

public long TotalSuccessfulMessages { get; set; }

Property Value

long

The current TotalSuccessfulMessages value.

Uptime

Gets the uptime.

public TimeSpan Uptime { get; }

Property Value

TimeSpan

The current Uptime value.