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;
ServiceNameresolves toIHostEnvironment.ApplicationName. - Multiple instances sharing one SQL Server database — point every
instance's
ConnectionString/ConnectionStringNameat the same database and give each a distinctServiceName. All of them write to the same tables and are distinguishable in every dashboard view by service name; any instance's/nafasmount 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.