Class ContextMetricsCollector
Collects per-context metrics from the context manager.
Aggregates endpoint statistics via .
public class ContextMetricsCollector
Inheritance
Methods
Collect(string)
Collect metrics for a single context by name.
public ContextMetricsSnapshot? Collect(string contextName)
CollectAll()
Collect current metrics for all known contexts.
public IReadOnlyList<ContextMetricsSnapshot> CollectAll()
TrackStarted(string)
Notify that a context was started (call from coordinator/hosted service).
public void TrackStarted(string contextName)