Table of Contents

Interface IContextFlowGaugeMetrics

Namespace
Excalibur.Dispatch.Observability.Context
Assembly
Excalibur.Dispatch.Observability.dll

Gauge-based context flow metrics for recording current-state measurements such as preservation success, active context counts, lineage depth, and summaries.

public interface IContextFlowGaugeMetrics
Extension Methods

Methods

GetMetricsSummary()

Gets current metrics summary.

ContextMetricsSummary GetMetricsSummary()

Returns

ContextMetricsSummary

The current metrics snapshot.

RecordContextPreservationSuccess(string)

Records successful context preservation.

void RecordContextPreservationSuccess(string stage)

Parameters

stage string

The pipeline stage where preservation was verified.

UpdateActiveContextCount(int)

Updates active context count.

void UpdateActiveContextCount(int delta)

Parameters

delta int

The delta applied to the active count.

UpdateLineageDepth(int)

Updates maximum lineage depth.

void UpdateLineageDepth(int depth)

Parameters

depth int

The lineage depth to record.