Skip to content

Deployment Overview ​

CritterWatch deploys as two pieces:

  1. Wolverine.CritterWatch — a NuGet package added to each service you want to monitor. No new processes, no new ports.
  2. CritterWatch console — a dedicated ASP.NET Core application that runs the monitoring UI. One instance by default; 2+ behind a load balancer when you need HA (see Clustering). Since 1.1 it can instead run embedded inside the one application it monitors.

What you need ​

ComponentWhySizing
A database for the console — PostgreSQL 14+, SQL Server, or SQLiteBacks the console's own bookkeeping (alerts, audit log, timeline).Modest — a small database for most deployments. Don't share it with anything performance-sensitive. The SQLite flavour (CritterWatch.Sqlite) needs no database server at all.
Wolverine transport (RabbitMQ recommended)Carries telemetry from services to the console and commands back.Whatever you already have, plus one extra queue (critterwatch).
CritterWatch hostRuns the console process.A single ASP.NET Core process by default. For HA, run 2+ nodes behind a load balancer with a SignalR backplane — see Clustering.

Your monitored services don't need any new database or new ports — they reuse the Wolverine transport they already have. The console never opens a connection to your services' databases.

Deployment topologies ​

The most common production topology. The console runs as its own dedicated web app on a private network. Operators reach it through a VPN or internal load balancer. Monitored services connect via RabbitMQ.

This gives you:

  • Clean separation between the console and the services it observes — a console crash doesn't affect monitored services and vice versa.
  • A clear network boundary for authentication and access control.
  • Independent deploy/scale schedules.

See Hosting Guide → Standalone Server.

Embedded in an existing application ​

The console can run inside your own application's Wolverine runtime instead of as a separate service, monitoring that application and nothing else. It keeps its data in a store of its own, mounts its UI under a sub-path (/critterwatch by default) and leaves your routes, handlers and error handling alone. Aimed at the development inner loop; on SQLite it needs no infrastructure at all. Single instance only. Its HTTP API (/api/critterwatch/*) and SignalR hub (/api/messages) stay at the server root, so those two prefixes must be free.

See Embedded deployment.

.NET Aspire (development) ​

For local dev and ephemeral environments, .NET Aspire orchestrates the console alongside Postgres, RabbitMQ, and your services. The CritterWatch.Aspire package adds your console project with a health-checked "Open console" link, makes each monitored service wait for it, and hands the license on to the processes that need it. A console built from the packages serves its embedded SPA itself. See Hosting Guide → Aspire.

Production checklist ​

  • [ ] HTTPS — terminate TLS at a load balancer or directly on the console. Plaintext is unacceptable; the console gives operators significant control over your services.
  • [ ] Authentication — UseCritterWatch() does not include auth. Add ASP.NET Core authentication middleware in front. See Hosting Guide → Authentication.
  • [ ] Network isolation — the console should not be on the public internet. VPN, allowlist, or private cluster only.
  • [ ] TLS on the transport — RabbitMQ should be amqps:// in production. Tenant connection strings travel over the transport when AddTenant is used.
  • [ ] Process supervisor — Kubernetes, systemd, or your platform of choice. Restart on failure.
  • [ ] Database permissions: give the console a dedicated role that owns its two schemas (plus four database-level permissions on SQL Server). It needs DDL rights inside them for as long as it runs, not only at install. See Database Schema and Permissions.
  • [ ] Health checks — point the orchestrator's liveness probe at the console's /health/live and its readiness probe at /health/ready (both mapped by UseCritterWatch()), never at /. Optionally wire WolverineFx.HealthChecks into each monitored service. See Health Checks.
  • [ ] Permissions — RBAC is off by default, so anyone who reaches the console can do everything the license allows. Register an ICritterWatchAuthorizer to decide who may replay, rebuild, edit documents and so on. See Role-based access control.
  • [ ] License — for Professional / Enterprise features (edit-and-replay, multi-tenant management, batch DLQ ops, etc.), set the license key. See Licensing.
  • [ ] Read-only operation — there is no switch in Settings that turns operator actions off; they are enabled by the license. To lock the console down during a change freeze, have your authorizer grant no action capabilities, and run the MCP server read-only (CritterWatch:Mcp:ReadOnly = true, see MCP).

Next steps ​