Class ApplicationDiagnostics.Metrics
- Namespace
- Stratara.Diagnostics
- Assembly
- Stratara.Diagnostics.dll
Stratara's shared Meter and instruments.
public static class ApplicationDiagnostics.Metrics
- Inheritance
-
ApplicationDiagnostics.Metrics
- Inherited Members
Fields
CommandDuration
Histogram of command-handling latency in milliseconds for commands dispatched through the
outbox worker. Tagged with RequestType and
Outcome (success or failure).
public static readonly Histogram<double> CommandDuration
Field Value
Remarks
It is not end-to-end command latency, despite the name. The in-process mediator dispatch path records nothing here, so a host that dispatches commands directly sees an empty histogram and a host that does both sees only half its traffic. Read it as "outbox command latency". Covering the in-process path would change what the instrument means and is a separate decision.
EventSourceAppendConflicts
Counter that tracks optimistic-concurrency conflicts encountered when appending events to a stream (write store).
public static readonly Counter<long> EventSourceAppendConflicts
Field Value
EventsAppended
Counter of domain events appended to an event stream. Tagged with EventType and AggregateType so operators can see per-event-type and per-aggregate write throughput.
public static readonly Counter<long> EventsAppended
Field Value
Meter
The shared Meter instance.
public static readonly Meter Meter
Field Value
MeterName
The meter name — "Stratara.Service".
public const string MeterName = "Stratara.Service"
Field Value
OutboxEntriesPublished
Counter of outbox entries successfully published by the outbox worker. Tagged with
OutboxKind (command or event) so operators can
distinguish command-dispatch from event-bundle throughput.
public static readonly Counter<long> OutboxEntriesPublished
Field Value
ProjectionBundleDuration
Histogram of projection event-bundle processing latency in milliseconds, measured around the
projection worker's per-bundle dispatch. Tagged with Outcome
(success or failure).
public static readonly Histogram<double> ProjectionBundleDuration
Field Value
ProjectionEventsProcessed
Counter of events dispatched to projection handlers. Tagged with
EventType and Outcome (success or
failure) so operators can see per-event-type projection throughput and failure rates.
public static readonly Counter<long> ProjectionEventsProcessed
Field Value
SagaBundleDuration
Histogram of saga event-bundle processing latency in milliseconds, measured around the saga
worker's per-bundle dispatch. Tagged with Outcome (success or
failure).
public static readonly Histogram<double> SagaBundleDuration
Field Value
SagaEventsProcessed
Counter of events dispatched to saga handlers. Tagged with
EventType and Outcome (success or
failure) so operators can see per-event-type saga throughput and failure rates.
public static readonly Counter<long> SagaEventsProcessed
Field Value
SagasInFlight
Up/down counter tracking the number of saga event-bundles currently in flight (being processed across all saga-worker subscriptions). A persistently rising value indicates the saga lane cannot keep up with the inbound event rate.
public static readonly UpDownCounter<long> SagasInFlight