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.
CommandDurationName
Instrument name command.duration; see CommandDuration.
public const string CommandDurationName = "command.duration"
Field Value
EventSourceAppendConflicts
Counter that tracks optimistic-concurrency conflicts encountered when appending events to a stream (write store).
public static readonly Counter<long> EventSourceAppendConflicts
Field Value
EventSourceAppendConflictsName
Instrument name event_source.append.conflicts; see EventSourceAppendConflicts.
public const string EventSourceAppendConflictsName = "event_source.append.conflicts"
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
EventsAppendedName
Instrument name event_source.events.appended; see EventsAppended.
public const string EventsAppendedName = "event_source.events.appended"
Field Value
MessagesDeadLettered
Counter of messages moved to a subscription's dead-letter destination after exhausting
their redelivery bound. Tagged with Topic,
Subscription and Reason
(conflict or failure).
public static readonly Counter<long> MessagesDeadLettered
Field Value
MessagesDeadLetteredName
Instrument name messaging.dead_lettered; see MessagesDeadLettered.
public const string MessagesDeadLetteredName = "messaging.dead_lettered"
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
OrleansCompletionFailed
Counter of removals of completed intents that failed and were left to the drain.
public static readonly Counter<long> OrleansCompletionFailed
Field Value
OrleansCompletionFailedName
Instrument name orleans.completion.failed; see OrleansCompletionFailed.
public const string OrleansCompletionFailedName = "orleans.completion.failed"
Field Value
OrleansCompletionFlushed
Counter of completed intents removed from durable storage.
public static readonly Counter<long> OrleansCompletionFlushed
Field Value
OrleansCompletionFlushedName
Instrument name orleans.completion.flushed; see OrleansCompletionFlushed.
public const string OrleansCompletionFlushedName = "orleans.completion.flushed"
Field Value
OrleansHeavyPermitsInUse
Up/down counter of heavy-work permits currently held across the cluster.
public static readonly UpDownCounter<long> OrleansHeavyPermitsInUse
Field Value
OrleansHeavyPermitsInUseName
Instrument name orleans.heavy.permits_in_use; see OrleansHeavyPermitsInUse.
public const string OrleansHeavyPermitsInUseName = "orleans.heavy.permits_in_use"
Field Value
OrleansIntentKept
Counter of recorded commands kept for an operator after exhausting their resume bound.
public static readonly Counter<long> OrleansIntentKept
Field Value
OrleansIntentKeptName
Instrument name orleans.intent.kept; see OrleansIntentKept.
public const string OrleansIntentKeptName = "orleans.intent.kept"
Field Value
OrleansIntentRecorded
Counter of commands recorded as durable intents before their dispatch returned.
public static readonly Counter<long> OrleansIntentRecorded
Field Value
OrleansIntentRecordedName
Instrument name orleans.intent.recorded; see OrleansIntentRecorded.
public const string OrleansIntentRecordedName = "orleans.intent.recorded"
Field Value
OrleansIntentResumed
Counter of recorded commands handed over again after their hand-over was lost.
public static readonly Counter<long> OrleansIntentResumed
Field Value
OrleansIntentResumedName
Instrument name orleans.intent.resumed; see OrleansIntentResumed.
public const string OrleansIntentResumedName = "orleans.intent.resumed"
Field Value
OrleansReaderApplied
Counter of store entries a reader of the Orleans execution model applied. Tagged with Projection (the consumer) and Partition.
public static readonly Counter<long> OrleansReaderApplied
Field Value
OrleansReaderAppliedName
Instrument name orleans.reader.applied; see OrleansReaderApplied.
public const string OrleansReaderAppliedName = "orleans.reader.applied"
Field Value
OrleansReaderLagName
Instrument name orleans.reader.lag — an observable gauge the Orleans execution model publishes
on this meter: the seconds since the time recorded with the oldest entry a store reader has not
applied, tagged with Projection and Partition.
public const string OrleansReaderLagName = "orleans.reader.lag"
Field Value
OrleansReaderStalled
Up/down counter of partitions whose reader stopped at an entry it could not apply. Tagged with Projection and Partition; it rises when a partition stalls and falls when it advances again.
public static readonly UpDownCounter<long> OrleansReaderStalled
Field Value
OrleansReaderStalledName
Instrument name orleans.reader.stalled; see OrleansReaderStalled.
public const string OrleansReaderStalledName = "orleans.reader.stalled"
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
OutboxEntriesPublishedName
Instrument name outbox.published; see OutboxEntriesPublished.
public const string OutboxEntriesPublishedName = "outbox.published"
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
ProjectionBundleDurationName
Instrument name projection.bundle.duration; see ProjectionBundleDuration.
public const string ProjectionBundleDurationName = "projection.bundle.duration"
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
ProjectionEventsProcessedName
Instrument name projection.events.processed; see ProjectionEventsProcessed.
public const string ProjectionEventsProcessedName = "projection.events.processed"
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
SagaBundleDurationName
Instrument name saga.bundle.duration; see SagaBundleDuration.
public const string SagaBundleDurationName = "saga.bundle.duration"
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
SagaEventsProcessedName
Instrument name saga.events.processed; see SagaEventsProcessed.
public const string SagaEventsProcessedName = "saga.events.processed"
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
Field Value
SagasInFlightName
Instrument name saga.inflight; see SagasInFlight.
public const string SagasInFlightName = "saga.inflight"