Tharga.MongoDB.Monitor.Server 2.10.9

dotnet add package Tharga.MongoDB.Monitor.Server --version 2.10.9
                    
NuGet\Install-Package Tharga.MongoDB.Monitor.Server -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.Server" 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.Server" Version="2.10.9" />
                    
Directory.Packages.props
<PackageReference Include="Tharga.MongoDB.Monitor.Server" />
                    
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.Server --version 2.10.9
                    
#r "nuget: Tharga.MongoDB.Monitor.Server, 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.Server@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.Server&version=2.10.9
                    
Install as a Cake Addin
#tool nuget:?package=Tharga.MongoDB.Monitor.Server&version=2.10.9
                    
Install as a Cake Tool

Tharga.MongoDB.Monitor.Server

Receives MongoDB monitoring data from one or more remote agents running Tharga.MongoDB.Monitor.Client and aggregates it into the local IDatabaseMonitor — so the host app's Tharga.MongoDB.Blazor admin UI can show calls, collections, and clients across every connected service from a single pane. Built on Tharga.Communication (SignalR-backed).

Install

dotnet add package Tharga.MongoDB.Monitor.Server
builder.AddMongoDB();                              // local MongoDB usage (and the IDatabaseMonitor everything aggregates into)
builder.AddMongoDbMonitorServer(
    primaryApiKey: cfg["MongoMonitor:PrimaryApiKey"],     // optional — when set, agents must match
    secondaryApiKey: cfg["MongoMonitor:SecondaryApiKey"]); // optional — for zero-downtime key rotation

var app = builder.Build();
app.UseMongoDbMonitorServer();    // maps the SignalR hub at "/hub" by default

Drop the Blazor admin components onto a page (see Tharga.MongoDB.Blazor) and remote agents show up alongside the local app's own data.

What it does

  • Receives call, collection-info, and queue-metric messages from connected agents.
  • Tracks each agent's connection state via MonitorClientStateService and MonitorClientRepository — the admin UI's <ClientsView /> lists them.
  • Bridges agent connections into IDatabaseMonitor via MonitorClientBridge, so the calls/collections views render remote data alongside local data.
  • Delegates remote actions — admin tools can target a specific agent (e.g. touch this collection on agent X, rebuild this index on agent Y) through IRemoteActionDispatcher.
  • Live monitoring subscriptions — push live updates to subscribed clients via ILiveMonitoringSubscription.

Documentation

Full docs, the matching client 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.10.9 37 5/5/2026
2.10.8 43 5/5/2026 2.10.8 is deprecated because it has critical bugs.
2.10.7 72 5/5/2026 2.10.7 is deprecated because it has critical bugs.
2.10.6 88 5/3/2026
2.10.5 85 4/29/2026
2.10.4 98 4/20/2026
2.10.3 97 4/16/2026
2.10.2 91 4/8/2026
2.10.1 101 4/5/2026
2.10.0 94 4/3/2026