Class PublisherStatistics
Provides statistics about outbox publisher performance.
public sealed class PublisherStatistics
- Inheritance
-
PublisherStatistics
- Inherited Members
- Extension Methods
Properties
AverageMessagesPerSecond
Gets the average publishing rate in messages per second.
public double AverageMessagesPerSecond { get; init; }
Property Value
- double
The current AverageMessagesPerSecond value.
CapturedAt
Gets the timestamp when these statistics were captured.
public DateTimeOffset CapturedAt { get; init; }
Property Value
- DateTimeOffset
The current CapturedAt value.
CurrentSuccessRate
Gets the current success rate as a percentage.
public double CurrentSuccessRate { get; init; }
Property Value
- double
The current CurrentSuccessRate value.
LastOperationAt
Gets the timestamp of the last publishing operation.
public DateTimeOffset? LastOperationAt { get; init; }
Property Value
- DateTimeOffset?
The current LastOperationAt value.
LastOperationDuration
Gets the duration of the last publishing operation.
public TimeSpan? LastOperationDuration { get; init; }
Property Value
- TimeSpan?
The current LastOperationDuration value.
TotalMessagesFailed
Gets the total number of messages that failed to publish.
public long TotalMessagesFailed { get; init; }
Property Value
- long
The current TotalMessagesFailed value.
TotalMessagesPublished
Gets the total number of messages successfully published.
public long TotalMessagesPublished { get; init; }
Property Value
- long
The current TotalMessagesPublished value.
TotalOperations
Gets the total number of publishing operations performed.
public long TotalOperations { get; init; }
Property Value
- long
The current TotalOperations value.
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.