Interface IOutboxMetrics
Defines core counter metrics for outbox message processing.
Namespace: Chapar.Core.Metrics
Assembly: Chapar.Core.dll
Syntax
public interface IOutboxMetrics
Methods
| Edit this page View SourceRecordFailed()
Records an outbox message that failed to be published.
Declaration
void RecordFailed()
RecordPendingCount(long)
Records the current number of outbox messages that are waiting to be published. This is an observable gauge that is reported periodically.
Declaration
void RecordPendingCount(long count)
Parameters
| Type | Name | Description |
|---|---|---|
| long | count |
RecordPublished()
Records an outbox message that was successfully published to the broker.
Declaration
void RecordPublished()