Configuration options

Every AddNafasServer option and its default, and the dashboard's mount path.

All of these are set inside AddNafasServer(options => { ... }).

OptionDefaultNotes
ProviderDatabaseProvider.SqliteSqlite or SqlServer
ConnectionStringData Source=nafas.db (SQLite only)Set directly, or use ConnectionStringName instead
ConnectionStringNameResolves from appsettings.json's ConnectionStrings section first, then classic web.config's <connectionStrings>
SchemadboSQL Server only — keeps Nafas's tables under a named schema, separate from the rest of your database
RetentionDays30How long logs/metrics/traces are kept before a background sweep deletes them
AlertWebhookUrlWhere alert incidents are POSTed as JSON. Alert rules and incidents still work without it; nothing gets delivered anywhere until it's set
ServiceNameIHostEnvironment.ApplicationNameOverrides the service name stamped on everything ingested
Authorizenull (local requests only)Gates every request to the dashboard — see Security

Mounting the dashboard

UseNafasDashboard(path) takes the mount path for the dashboard UI itself (default "/nafas") — pick any path your app isn't already using.