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
stagestringThe pipeline stage where preservation was verified.
UpdateActiveContextCount(int)
Updates active context count.
void UpdateActiveContextCount(int delta)
Parameters
deltaintThe delta applied to the active count.
UpdateLineageDepth(int)
Updates maximum lineage depth.
void UpdateLineageDepth(int depth)
Parameters
depthintThe lineage depth to record.