Table of Contents

Interface ILiveMonitoringSubscription

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll

Manages live monitoring subscriptions. When subscribers are present, remote agents send queue metrics and ongoing call data. Implemented by Monitor.Server, no-op when not installed.

public interface ILiveMonitoringSubscription

Methods

GetSubscriptions()

Returns active subscriptions and their subscriber counts.

IReadOnlyDictionary<string, int> GetSubscriptions()

Returns

IReadOnlyDictionary<string, int>

SubscribeAsync()

Task<IAsyncDisposable> SubscribeAsync()

Returns

Task<IAsyncDisposable>