Multi-instance deployments

No central collector — each instance ingests its own telemetry, optionally sharing one SQL Server database.

Nafas has no concept of a central collector — each instance that calls AddNafasServer() ingests and stores its own process's telemetry. Two common setups:

  • Single instance — the default. Nothing to configure; ServiceName resolves to IHostEnvironment.ApplicationName.
  • Multiple instances sharing one SQL Server database — point every instance's ConnectionString/ConnectionStringName at the same database and give each a distinct ServiceName. All of them write to the same tables and are distinguishable in every dashboard view by service name; any instance's /nafas mount shows data from all of them.

SQLite is a single-file, single-process store and is not meant to be shared across instances — use SQL Server for that case.