Tharga.MongoDB.Monitor.Client
2.10.8
See the version list below for details.
dotnet add package Tharga.MongoDB.Monitor.Client --version 2.10.8
NuGet\Install-Package Tharga.MongoDB.Monitor.Client -Version 2.10.8
<PackageReference Include="Tharga.MongoDB.Monitor.Client" Version="2.10.8" />
<PackageVersion Include="Tharga.MongoDB.Monitor.Client" Version="2.10.8" />
<PackageReference Include="Tharga.MongoDB.Monitor.Client" />
paket add Tharga.MongoDB.Monitor.Client --version 2.10.8
#r "nuget: Tharga.MongoDB.Monitor.Client, 2.10.8"
#:package Tharga.MongoDB.Monitor.Client@2.10.8
#addin nuget:?package=Tharga.MongoDB.Monitor.Client&version=2.10.8
#tool nuget:?package=Tharga.MongoDB.Monitor.Client&version=2.10.8
Tharga.MongoDB.Monitor.Client
Forwards Tharga.MongoDB monitoring data — calls, collection info, queue metrics — from a running app (the agent) to a central Tharga.MongoDB.Monitor.Server over Tharga.Communication (SignalR-backed). Use this when you want a single dashboard pane covering many MongoDB-talking services without each one shipping its own admin UI.
Install
dotnet add package Tharga.MongoDB.Monitor.Client
builder.AddMongoDB(); // the agent's normal MongoDB usage
builder.AddMongoDbMonitorClient(
sendTo: "https://monitor.example.com/", // monitor server URL
apiKey: builder.Configuration["MongoMonitor:ApiKey"]); // optional, must match one of the server's primary/secondary keys
If sendTo is null/empty the client is a no-op — convenient for local dev.
What it sends
- Calls — every database operation captured by
IDatabaseMonitor(filter, sort, latency, exception, explain plan). - Collection info — registered collections, document counts, index status.
- Queue metrics — execute-limiter depth and throughput.
The agent appears as a connected client on the server side and can be inspected, addressed, and acted upon from there (e.g. "rebuild index on agent X" via remote action delegation).
Documentation
Full docs, the matching server package, and the centralised-monitoring topology overview: github.com/Tharga/MongoDB.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Tharga.Communication (>= 0.1.5)
- Tharga.MongoDB (>= 2.10.8)
-
net8.0
- Tharga.Communication (>= 0.1.5)
- Tharga.MongoDB (>= 2.10.8)
-
net9.0
- Tharga.Communication (>= 0.1.5)
- Tharga.MongoDB (>= 2.10.8)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Tharga.MongoDB.Monitor.Client:
| Package | Downloads |
|---|---|
|
Tharga.MongoDB.Monitor.Server
Receives MongoDB monitoring data from remote agents via Tharga.Communication and aggregates it into the local IDatabaseMonitor. |
GitHub repositories
This package is not used by any popular GitHub repositories.