Table of Contents

Class MonitorClientDetail

Namespace
Tharga.MongoDB
Assembly
Tharga.MongoDB.dll

Snapshot of what a remote monitoring agent has contributed to the aggregator: identity, collections it has reported, its recent calls, and its latest queue state. Returned by GetMonitorClientDetail(string, int) for the per-agent detail dialog in Tharga.MongoDB.Blazor's ClientsView.

public record MonitorClientDetail : IEquatable<MonitorClientDetail>
Inheritance
MonitorClientDetail
Implements
Inherited Members

Properties

Client

public required MonitorClientDto Client { get; init; }

Property Value

MonitorClientDto

CollectionKeys

public required IReadOnlyCollection<string> CollectionKeys { get; init; }

Property Value

IReadOnlyCollection<string>

QueueState

Latest queue snapshot reported by the agent, or null if the agent hasn't sent a queue metric yet (e.g. just connected, or the agent's local queue has been idle so the forwarder hasn't emitted anything).

public ConnectionPoolStateDto QueueState { get; init; }

Property Value

ConnectionPoolStateDto

RecentCalls

public required IReadOnlyCollection<CallInfo> RecentCalls { get; init; }

Property Value

IReadOnlyCollection<CallInfo>