projectName | App package name | Project name reported to the collector |
dashboard.port | 4400 | Preferred loopback dashboard port. StackNext tries the next 25 ports if it is busy |
collector.maxSpans | 5000 | In-memory span capacity. Error and query buffers are derived from it |
collector.retentionMs | 600000 | How long received telemetry stays in memory (10 minutes) |
instrumentation.verbose | false | Enables the documented NEXT_OTEL_VERBOSE=1 Next.js span set |
instrumentation.captureFetch | true | Captures Next.js AppRender.fetch spans. Set false to drop them |
instrumentation.captureErrors | true | Calls the Next.js error hook. Set false to disable error collection |
privacy.captureHeaders | false | Must stay false; StackNext rejects header capture |
privacy.captureRequestBodies | false | Must stay false; StackNext rejects body capture |
privacy.captureSqlParameters | false | Must stay false; StackNext never reads bind parameters |
privacy.redactSensitiveData | true | Must stay true; any other value is rejected at config load |
database.drizzle | false | Setup hint for init, doctor and coverage. Does not register the logger |
database.prisma | false | Setup hint for init, doctor and coverage. Does not attach the event handler |
diagnostics.enabled | true | Enables the deterministic report and its API, CLI, dashboard and MCP surfaces |
diagnostics.repeatedQueryMin | 5 | Minimum repeated normalized queries in one trace for n-plus-one-queries (2–100) |
diagnostics.slowSpans.databaseMs | 250 | Slow-span threshold for database spans |
diagnostics.slowSpans.httpMs | 500 | Slow-span threshold for HTTP spans |
diagnostics.slowSpans.customMs | 300 | Slow-span threshold for custom application spans |
diagnostics.slowSpans.frameworkMs | 500 | Slow-span threshold for framework spans |
diagnostics.slowSpans.otherMs | 500 | Slow-span threshold for other spans |
diagnostics.repeatedHttpMin | 3 | Minimum repeated normalized HTTP endpoints in one trace for repeated-external-http |
diagnostics.errorGrouping | true | Enables error fingerprint grouping |
diagnostics.errorGroupMin | 2 | Occurrence count used to label an error finding as repeated. A single observed error is still reported |
diagnostics.maxFindings | 100 | Hard cap on findings in one report (10–1,000) |
slowRequestMs | 500 | Threshold used by the dashboard, CLI and MCP slow-request views |
snapshots.autoOnExit | true | Save a snapshot when stacknext dev exits gracefully and the sample has data |
snapshots.autoOnError | true | Save a snapshot on the first error, with a 60-second cooldown |
snapshots.autoKeep | 10 | Number of automatic exit/error snapshots to keep (1–100) |
snapshots.maxBytes | 67108864 | Per-snapshot size cap (1 MiB–256 MiB). Oversized saves fail rather than truncate |