Tharga.MongoDB.Monitor.Client 2.10.9

dotnet add package Tharga.MongoDB.Monitor.Client --version 2.10.9
                    
NuGet\Install-Package Tharga.MongoDB.Monitor.Client -Version 2.10.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Tharga.MongoDB.Monitor.Client" Version="2.10.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tharga.MongoDB.Monitor.Client" Version="2.10.9" />
                    
Directory.Packages.props
<PackageReference Include="Tharga.MongoDB.Monitor.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Tharga.MongoDB.Monitor.Client --version 2.10.9
                    
#r "nuget: Tharga.MongoDB.Monitor.Client, 2.10.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Tharga.MongoDB.Monitor.Client@2.10.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Tharga.MongoDB.Monitor.Client&version=2.10.9
                    
Install as a Cake Addin
#tool nuget:?package=Tharga.MongoDB.Monitor.Client&version=2.10.9
                    
Install as a Cake Tool

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.

GitHub repo

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
2.10.9 31 5/5/2026
2.10.8 47 5/5/2026 2.10.8 is deprecated because it has critical bugs.
2.10.7 59 5/5/2026 2.10.7 is deprecated because it has critical bugs.
2.10.6 65 5/3/2026
2.10.5 109 4/29/2026
2.10.4 105 4/20/2026
2.10.3 114 4/16/2026
2.10.2 108 4/8/2026
2.10.1 114 4/5/2026
2.10.0 113 4/3/2026