[{"data":1,"prerenderedAt":288},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fconfiguration\u002Foptions":3,"docs-navigation":215},{"id":4,"title":5,"body":6,"description":206,"extension":207,"meta":208,"navTitle":209,"navigation":210,"path":211,"seo":212,"stem":213,"__hash__":214},"docs\u002Fdocs\u002F3.configuration\u002F1.options.md","Configuration options",{"type":7,"value":8,"toc":201},"minimark",[9,18,186,191],[10,11,12,13,17],"p",{},"All of these are set inside ",[14,15,16],"code",{},"AddNafasServer(options => { ... })",".",[19,20,21,37],"table",{},[22,23,24],"thead",{},[25,26,27,31,34],"tr",{},[28,29,30],"th",{},"Option",[28,32,33],{},"Default",[28,35,36],{},"Notes",[38,39,40,62,82,108,123,138,150,165],"tbody",{},[25,41,42,48,53],{},[43,44,45],"td",{},[14,46,47],{},"Provider",[43,49,50],{},[14,51,52],{},"DatabaseProvider.Sqlite",[43,54,55,58,59],{},[14,56,57],{},"Sqlite"," or ",[14,60,61],{},"SqlServer",[25,63,64,69,75],{},[43,65,66],{},[14,67,68],{},"ConnectionString",[43,70,71,74],{},[14,72,73],{},"Data Source=nafas.db"," (SQLite only)",[43,76,77,78,81],{},"Set directly, or use ",[14,79,80],{},"ConnectionStringName"," instead",[25,83,84,88,91],{},[43,85,86],{},[14,87,80],{},[43,89,90],{},"—",[43,92,93,94,97,98,101,102,97,105],{},"Resolves from ",[14,95,96],{},"appsettings.json","'s ",[14,99,100],{},"ConnectionStrings"," section first, then classic ",[14,103,104],{},"web.config",[14,106,107],{},"\u003CconnectionStrings>",[25,109,110,115,120],{},[43,111,112],{},[14,113,114],{},"Schema",[43,116,117],{},[14,118,119],{},"dbo",[43,121,122],{},"SQL Server only — keeps Nafas's tables under a named schema, separate from the rest of your database",[25,124,125,130,135],{},[43,126,127],{},[14,128,129],{},"RetentionDays",[43,131,132],{},[14,133,134],{},"30",[43,136,137],{},"How long logs\u002Fmetrics\u002Ftraces are kept before a background sweep deletes them",[25,139,140,145,147],{},[43,141,142],{},[14,143,144],{},"AlertWebhookUrl",[43,146,90],{},[43,148,149],{},"Where alert incidents are POSTed as JSON. Alert rules and incidents still work without it; nothing gets delivered anywhere until it's set",[25,151,152,157,162],{},[43,153,154],{},[14,155,156],{},"ServiceName",[43,158,159],{},[14,160,161],{},"IHostEnvironment.ApplicationName",[43,163,164],{},"Overrides the service name stamped on everything ingested",[25,166,167,172,178],{},[43,168,169],{},[14,170,171],{},"Authorize",[43,173,174,177],{},[14,175,176],{},"null"," (local requests only)",[43,179,180,181],{},"Gates every request to the dashboard — see ",[182,183,185],"a",{"href":184},"\u002Fdocs\u002Fconfiguration\u002Fsecurity","Security",[187,188,190],"h2",{"id":189},"mounting-the-dashboard","Mounting the dashboard",[10,192,193,196,197,200],{},[14,194,195],{},"UseNafasDashboard(path)"," takes the mount path for the dashboard UI itself\n(default ",[14,198,199],{},"\"\u002Fnafas\"",") — pick any path your app isn't already using.",{"title":202,"searchDepth":203,"depth":203,"links":204},"",2,[205],{"id":189,"depth":203,"text":190},"Every AddNafasServer option and its default, and the dashboard's mount path.","md",{},"Options",true,"\u002Fdocs\u002Fconfiguration\u002Foptions",{"title":5,"description":206},"docs\u002F3.configuration\u002F1.options","HQRXlyldp7WGNor0H8eRYUqUz_PK6w2mC16qCbM76UQ",[216],{"title":217,"path":218,"stem":219,"children":220,"page":-1},"Docs","\u002Fdocs","docs",[221,224,242,255,263,276,284],{"title":222,"path":218,"stem":223},"Documentation","docs\u002Findex",{"title":225,"path":226,"stem":227,"children":228,"page":241},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[229,233,237],{"title":230,"path":231,"stem":232},"Why Nafas","\u002Fdocs\u002Fgetting-started\u002Fwhy-nafas","docs\u002F1.getting-started\u002F1.why-nafas",{"title":234,"path":235,"stem":236},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F2.quick-start",{"title":238,"path":239,"stem":240},"Requirements","\u002Fdocs\u002Fgetting-started\u002Frequirements","docs\u002F1.getting-started\u002F3.requirements",false,{"title":243,"path":244,"stem":245,"children":246,"page":241},"How It Works","\u002Fdocs\u002Fhow-it-works","docs\u002F2.how-it-works",[247,251],{"title":248,"path":249,"stem":250},"What gets captured, and how","\u002Fdocs\u002Fhow-it-works\u002Fwhat-gets-captured","docs\u002F2.how-it-works\u002F1.what-gets-captured",{"title":252,"path":253,"stem":254},"How it's built internally","\u002Fdocs\u002Fhow-it-works\u002Finternals","docs\u002F2.how-it-works\u002F2.internals",{"title":256,"path":257,"stem":258,"children":259,"page":241},"Configuration","\u002Fdocs\u002Fconfiguration","docs\u002F3.configuration",[260,261],{"title":5,"path":211,"stem":213},{"title":185,"path":184,"stem":262},"docs\u002F3.configuration\u002F2.security",{"title":264,"path":265,"stem":266,"children":267,"page":241},"Deployment","\u002Fdocs\u002Fdeployment","docs\u002F4.deployment",[268,272],{"title":269,"path":270,"stem":271},"Multi-instance deployments","\u002Fdocs\u002Fdeployment\u002Fmulti-instance","docs\u002F4.deployment\u002F1.multi-instance",{"title":273,"path":274,"stem":275},"Desktop and other non-ASP.NET Core apps","\u002Fdocs\u002Fdeployment\u002Fdesktop-apps","docs\u002F4.deployment\u002F2.desktop-apps",{"title":277,"path":278,"stem":279,"children":280,"page":241},"Alerting","\u002Fdocs\u002Falerting","docs\u002F5.alerting",[281],{"title":277,"path":282,"stem":283},"\u002Fdocs\u002Falerting\u002Falert-rules","docs\u002F5.alerting\u002F1.alert-rules",{"title":285,"path":286,"stem":287},"Contributing","\u002Fdocs\u002Fcontributing","docs\u002F6.contributing",1789838144160]