Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.
StackNext is an evidence source, not an answer generator. Every claim about
runtime behavior should point to a route, trace id, error id, span, duration,
status code, query or finding id.
In the dashboard, the Overview page shows the sample window and what the current
sample observed. In an MCP client, call get_project_summary first. Check
meta.connection.instrumentation: waiting means no app is connected. Read
meta.completeness and the sample window before drawing conclusions.
Open Errors or call list_errors with a route, name or query filter.
Read the latest matching error and its redacted stack.
If resolvedTraceId is present, inspect the request timeline and the
failing span.
Check stacknext_list_diagnostics with category: "errors" for a repeated
fingerprint or a 5xx response without a correlated error.
Report what is proven, what is correlated by the route/time fallback, and
what remains unknown.
An error grouped by fingerprint shares a normalized signature, not necessarily
a cause. A missing trace link means the correlation is approximate or absent;
it is not proof that the error happened outside a request.
get_trace returns the span tree, missing parent ids, errors and associated
queries. A missing parent is a completeness gap, not proof that the span is
unrelated. Use exact span ids when describing a link.Unknown or verbose-only span types are retained and labelled rather than mapped
to a guessed feature. See instrumentation coverage.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StackNext","description":"Local-first runtime debugging, deterministic diagnostics and Playwright regression evidence for Next.js App Router apps.","colors":{"primary":"#111111","light":"#111111","dark":"#F7F8F8"},"logo":{"light":"https://mintcdn.com/stack-next/4IoWsRiwNO7KKrjw/images/logo-black.svg?fit=max\u0026auto=format\u0026n=4IoWsRiwNO7KKrjw\u0026q=85\u0026s=8dfb5c9370ebce395987298d28866522","dark":"https://mintcdn.com/stack-next/4IoWsRiwNO7KKrjw/images/logo-white.svg?fit=max\u0026auto=format\u0026n=4IoWsRiwNO7KKrjw\u0026q=85\u0026s=f5fad3f940abc7b9852b18219daf712e"},"favicon":"https://mintcdn.com/stack-next/4IoWsRiwNO7KKrjw/images/favicon.png?fit=max\u0026auto=format\u0026n=4IoWsRiwNO7KKrjw\u0026q=85\u0026s=1ce7e49c2132dd02cc89349b138943ce","navbar":{"links":[{"href":"https://github.com/marrrkkk/stacknext","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/marrrkkk/stacknext"}},"search":{"prompt":"Search the StackNext documentation"},"seo":{"metatags":{"canonical":"https://stack-next.mintlify.site"},"organization":{"name":"StackNext","url":"https://stack-next.mintlify.site","logo":"https://stack-next.mintlify.site/images/logo-black.svg","sameAs":["https://github.com/marrrkkk/stacknext"]},"indexing":"navigable"},"markdown":{"instructions":"StackNext documentation is written for developers using StackNext in a Next.js App Router project. Use the getting-started and guides sections to install and operate the product, and the reference section for CLI, configuration, MCP and package surfaces. Version-matched package API reference ships inside each npm package under node_modules/@stacknext/\u003cpackage>/docs/ and is preferred over this site for installed-version APIs. Diagnostic findings are evidence, not confirmed root causes; regression comparisons are deterministic and report-only. Contributor and repository-maintenance documentation is not part of this site."},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stack-next","hasAudioNarration":false,"actualSubdomain":"stack-next","customDomains":[],"gitSource":{"type":"github","owner":"marrrkkk","repo":"stacknext","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":"","_id":"6af262b2c2db876a0b1a6bf3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af424d32d65da0928c52308","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Reference","count":5},{"language":"default","tag":"AI agents","count":4},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Getting started","count":2},{"language":"default","tag":"Security and privacy","count":1},{"language":"default","tag":"Troubleshooting","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"[data-active-nav-item=\"true\"]>a,[data-layout-item=\"toc-item-link\"][data-active=\"true\"]{font-weight:500;text-shadow:none}:root{--sn-line: #dcdce2;--sn-line-strong: #b6b6c1}html.dark{--primary-light: 247 248 248;--sn-line: #2b2b32;--sn-line-strong: #43434e}.sn-shot{display:block;width:100%;height:auto;margin:1rem 0 1.25rem;border:1px solid var(--sn-line);border-radius:0.75rem;background:#ffffff}.sn-shot-dark{display:none}html.dark .sn-shot-light{display:none}html.dark .sn-shot-dark{display:block}.sn-flow{--sn-ink: #101013;--sn-muted: #62626d;--sn-card: #ffffff;--sn-chip: #f6f6f7;--sn-wire: #b6b6c1;margin:1.75rem 0;max-width:42rem;font-size:0.875rem;line-height:1.45}html.dark .sn-flow{--sn-ink: #f7f8f8;--sn-muted: #9d9da8;--sn-card: #0d0d10;--sn-chip: #17171c;--sn-wire: #4c4c58}.sn-flow p{margin:0}.sn-flow .sn-caption{display:flex;gap:0.6rem;margin-bottom:0.75rem;border-bottom:1px solid var(--sn-line);padding-bottom:0.5rem;color:var(--sn-muted);font-size:0.625rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase}.sn-flow .sn-caption span:last-child{color:var(--sn-ink)}.sn-flow .sn-node{position:relative;border:1px solid var(--sn-line);border-radius:0.75rem;background:var(--sn-card);padding:0.875rem 1rem}.sn-flow .sn-node-head{display:flex;align-items:center;gap:0.5rem}.sn-flow .sn-eyebrow{color:var(--sn-muted);font-size:0.625rem;font-weight:600;letter-spacing:0.13em;text-transform:uppercase}.sn-flow .sn-title{color:var(--sn-ink);font-size:0.9375rem;font-weight:600;letter-spacing:-0.01em;line-height:1.3}.sn-flow .sn-sub{margin-top:0.15rem;color:var(--sn-muted);font-size:0.75rem;line-height:1.5}.sn-flow .sn-pill{margin-left:auto;border:1px solid var(--sn-line-strong);border-radius:999px;padding:0.05rem 0.45rem;color:var(--sn-muted);font-size:0.5625rem;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;white-space:nowrap}.sn-flow .sn-chips{display:flex;flex-wrap:wrap;gap:0.45rem;margin:0.7rem 0 0;padding:0;border:0;list-style:none}.sn-flow .sn-chips>li{margin:0;list-style:none}.sn-flow .sn-chips>li::before{content:none}.sn-flow .sn-chips-plain{margin-top:0.5rem}.sn-flow .sn-chip{display:inline-flex;align-items:center;gap:0.45rem;border:1px solid var(--sn-line);border-radius:0.5rem;background:var(--sn-chip);padding:0.2rem 0.6rem 0.2rem 0.25rem;color:var(--sn-ink);font-size:0.75rem;font-weight:500;line-height:1.2}.sn-flow .sn-chip-muted{border-radius:999px;padding:0.1rem 0.5rem;color:var(--sn-muted);font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.6875rem}.sn-flow .sn-tile{display:inline-flex;align-items:center;justify-content:center;width:1.375rem;height:1.375rem;border-radius:0.32rem;border:1px solid var(--sn-line);background:var(--sn-card);color:var(--sn-ink);flex:none}.sn-flow .sn-tile svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sn-flow .sn-tile .sn-brand{fill:currentColor;stroke:none}.sn-flow .sn-tile-next{background:#ffffff;border-color:#e4e4e9;color:#000000}html.dark .sn-flow .sn-tile-next{background:#ffffff;border-color:#ffffff;color:#000000}.sn-flow .sn-tile-drizzle{background:#c5f74f;border-color:#b6e63f;color:#0d1206}.sn-flow .sn-tile-prisma{background:#2d3748;border-color:#2d3748;color:#ffffff}.sn-flow .sn-sample{display:flex;gap:0.5rem;margin-top:0.65rem;border:1px solid var(--sn-line);border-radius:0.55rem;background:var(--sn-chip);padding:0.5rem 0.6rem}.sn-flow .sn-live{margin-top:0.3rem;width:0.4rem;height:0.4rem;border-radius:999px;background:#4ade80;box-shadow:0 0 0 3px rgb(74 222 128 / 0.18);flex:none}.sn-flow .sn-sample-title{color:var(--sn-ink);font-size:0.75rem;font-weight:600}.sn-flow .sn-sample-sub{color:var(--sn-muted);font-family:ui-monospace, SFMono-Regular, Menlo, monospace;font-size:0.6875rem}.sn-flow .sn-link{position:relative;height:2.5rem}.sn-flow .sn-link::before{content:\"\";position:absolute;top:0.15rem;bottom:0.45rem;left:50%;width:1px;background:var(--sn-wire)}.sn-flow .sn-link::after{content:\"\";position:absolute;bottom:0.3rem;left:50%;width:0.4rem;height:0.4rem;margin-left:-0.24rem;border-right:1px solid var(--sn-wire);border-bottom:1px solid var(--sn-wire);transform:rotate(45deg)}.sn-flow .sn-link-label{position:absolute;top:50%;left:calc(50% + 0.75rem);transform:translateY(-50%);color:var(--sn-muted);font-size:0.6875rem;line-height:1.3}.sn-flow .sn-fan{position:relative;height:2rem}.sn-flow .sn-fan::before{content:\"\";position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--sn-wire)}.sn-flow .sn-readers{--sn-cols: 3;--sn-gap: 0.6rem;position:relative;display:grid;grid-template-columns:repeat(var(--sn-cols), minmax(0, 1fr));gap:var(--sn-gap);padding-top:1.5rem}.sn-flow .sn-readers::before{--sn-inset: calc((100% - (var(--sn-cols) - 1) * var(--sn-gap)) / (var(--sn-cols) * 2));content:\"\";position:absolute;top:0;left:var(--sn-inset);right:var(--sn-inset);height:1px;background:var(--sn-wire)}.sn-flow .sn-readers>.sn-node::before{content:\"\";position:absolute;top:-1.5rem;left:50%;width:1px;height:1.5rem;background:var(--sn-wire)}.sn-flow .sn-readers>.sn-node::after{content:\"\";position:absolute;top:-0.42rem;left:50%;width:0.4rem;height:0.4rem;margin-left:-0.24rem;border-right:1px solid var(--sn-wire);border-bottom:1px solid var(--sn-wire);transform:rotate(45deg)}.sn-flow .sn-reader-head{display:flex;align-items:center;gap:0.4rem}.sn-flow .sn-reader-head .sn-title{min-width:0}@media (max-width: 40rem){.sn-flow .sn-readers{--sn-cols: 1;grid-template-columns:1fr;padding-top:0}.sn-flow .sn-readers::before,.sn-flow .sn-readers>.sn-node::before,.sn-flow .sn-readers>.sn-node::after{display:none}.sn-flow .sn-link-label{left:calc(50% + 0.5rem);font-size:0.625rem}}"}],"page":{"pagePath":"guides/runtime-evidence","slug":"/guides/runtime-evidence","pageMetadata":{"title":"Runtime evidence","description":"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.","keywords":["next.js request timeline","trace waterfall","database query evidence","error fingerprints"],"href":"/guides/runtime-evidence"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`StackNext is an evidence source, not an answer generator. Every claim about\nruntime behavior should point to a route, trace id, error id, span, duration,\nstatus code, query or finding id.`}),`\n`,_jsx(Heading,{level:`2`,id:`start-with-the-sample`,children:`Start with the sample`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` coverage`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`In the dashboard, the Overview page shows the sample window and what the current\nsample observed. In an MCP client, call `,_jsx(_components.code,{children:`get_project_summary`}),` first. Check\n`,_jsx(_components.code,{children:`meta.connection.instrumentation`}),`: `,_jsx(_components.code,{children:`waiting`}),` means no app is connected. Read\n`,_jsx(_components.code,{children:`meta.completeness`}),` and the sample window before drawing conclusions.`]}),`\n`,_jsx(Heading,{level:`2`,id:`explore-the-dashboard`,children:`Explore the dashboard`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Route`}),_jsx(_components.th,{children:`What it shows`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`/`})}),_jsx(_components.td,{children:`Counts, latency, database activity, errors, coverage and findings`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/requests`})}),_jsx(_components.td,{children:`Request list with route, status, duration and trace id`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/requests/:traceId`})}),_jsx(_components.td,{children:`Span timeline, correlated errors and queries for one request`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/traces`})}),_jsx(_components.td,{children:`Span trees with missing-parent information`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/database`})}),_jsx(_components.td,{children:`Redacted query events, route and optional duration`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/errors`})}),_jsx(_components.td,{children:`Redacted errors, fingerprints and correlated traces`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/diagnostics`})}),_jsx(_components.td,{children:`Deterministic findings and their evidence`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`/snapshots`})}),_jsxs(_components.td,{children:[`Frozen samples saved under `,_jsx(_components.code,{children:`.stacknext/snapshots`})]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`/runs`}),`, `,_jsx(_components.code,{children:`/baselines`}),`, `,_jsx(_components.code,{children:`/comparisons`})]}),_jsx(_components.td,{children:`Playwright-linked regression records`})]})]})]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=bb1f6ed027bfd28d2d80ef5504841388`,alt:`HTTP requests view listing routes with status, duration, error and database query counts`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-light`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/requests.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=2168fcfd92872f4da4d16dd61b3a762d 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=f680da304d755ed050458b3a96f60b64 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=37dbb30af60cc05b4a046bd07dca1591 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=595dfc94d9be8652eb35c18c27d8412b 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=c2587a99cc6f30d25790a05b07cce23f 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=072ba57a80a7b7305d05f1ad611e25c7 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=6ee43d9a0a7e85dc2fedf1897f40330d`,alt:`HTTP requests view listing routes with status, duration, error and database query counts`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-dark`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/requests-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=e7196c13a82b6e875b24a14821936292 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=0c57c24d77dd8935138ba9acc8f646a1 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=447327e23184e93a5dfcecc27d3f09e8 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=9b275dd30aab19b7534bad297919d06c 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=2889f77adbc783f3973fdfabd669893c 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/requests-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=f28de5ac10167dd51e0b8b53ec41c7ec 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`investigate-an-error`,children:`Investigate an error`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Errors`}),` or call `,_jsx(_components.code,{children:`list_errors`}),` with a route, name or query filter.`]}),`\n`,_jsx(_components.li,{children:`Read the latest matching error and its redacted stack.`}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`resolvedTraceId`}),` is present, inspect the request timeline and the\nfailing span.`]}),`\n`,_jsxs(_components.li,{children:[`Check `,_jsx(_components.code,{children:`stacknext_list_diagnostics`}),` with `,_jsx(_components.code,{children:`category: \"errors\"`}),` for a repeated\nfingerprint or a 5xx response without a correlated error.`]}),`\n`,_jsx(_components.li,{children:`Report what is proven, what is correlated by the route/time fallback, and\nwhat remains unknown.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`An error grouped by fingerprint shares a normalized signature, not necessarily\na cause. A missing trace link means the correlation is approximate or absent;\nit is not proof that the error happened outside a request.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=e688f3ff98d620abbe00ec5c0446ecc8`,alt:`Server errors view grouping one error by fingerprint with its route and correlated trace id`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-light`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/errors.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=e214ec4fe20eb48115d6a8d32d39929a 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=604fc3c9cfe603d92aba39fb564c14f1 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=eea30d6acf21a10d235f9081dbd27923 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=1a25e5b03af0ab1048f486cf96bc1f43 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=1e1b28b73902613d8e63008003ced2a9 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=6b49dc7844634ecc66e3d6fd8168171f 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=5518b5a1f356c130cff95b56d9917d71`,alt:`Server errors view grouping one error by fingerprint with its route and correlated trace id`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-dark`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/errors-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=cfe2d585bdabccb47613836f7ff6de8d 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=02b5c0032e1b45c58ae6ae088dd96c5e 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=75118af75a7899ee975d95376af9a742 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=5c3466fc6bb9129264dd371860698502 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=f7f4d8a439a9f720f3d336d5cf2b3b02 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/errors-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=44cff2c4cac02e9283a133a5dd216a52 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`investigate-a-slow-request`,children:`Investigate a slow request`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.strong,{children:`Requests`}),` sorted by duration, `,_jsx(_components.code,{children:`find_slow_requests`}),`, or\n`,_jsx(_components.code,{children:`list_requests`}),` with `,_jsx(_components.code,{children:`sort: \"slowest\"`}),`.`]}),`\n`,_jsx(_components.li,{children:`Open the request and compare self time across spans.`}),`\n`,_jsxs(_components.li,{children:[`Inspect database queries inside the trace. Drizzle durations are `,_jsx(_components.code,{children:`null`}),`;\nnever treat them as zero.`]}),`\n`,_jsxs(_components.li,{children:[`Check `,_jsx(_components.code,{children:`slow-request`}),` and `,_jsx(_components.code,{children:`slow-span`}),` findings. A slow child span may be\nsuppressed when the whole request is already reported.`]}),`\n`,_jsx(_components.li,{children:`Test whether the pattern is isolated by filtering the same route or method.`}),`\n`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`A parent span includes its children. Never add parent and child durations\ntogether.`})}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=4b1efe4a755e415421bf163278bfe599`,alt:`Trace detail for a slow route showing the span waterfall, the selected span and its attributes`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-light`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/request-detail.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=343d259ab2f9387383cac1261581a177 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=e069aca0c477d6d228c8a8bc1ae166de 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=3f9c6e058ce0084a2d24f2feaf3d3fee 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=3d90879a8882a841fcb6c69b679e47af 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=2e3ec432b31f764efce916933a16c7f8 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=53aa9182e2be3dc64367dac7786e8d99 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=538a8788c10806657596fa2afba654b6`,alt:`Trace detail for a slow route showing the span waterfall, the selected span and its attributes`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-dark`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/request-detail-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=0daed01a82d7309a189a80713db36ab3 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=aaf4fd7591de85e795021bd6508199dd 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=e5ee5460463426aaea177e108e101a69 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=627612b1fb00f55acf9a9c97a4ea755a 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=1ca87fb502f37409edc84b011af0d132 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/request-detail-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=344661f4dfb475955a96357cce93d6c1 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`inspect-a-trace`,children:`Inspect a trace`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`get_trace`}),` returns the span tree, missing parent ids, errors and associated\nqueries. A missing parent is a completeness gap, not proof that the span is\nunrelated. Use exact span ids when describing a link.`]}),`\n`,_jsxs(_components.p,{children:[`Unknown or verbose-only span types are retained and labelled rather than mapped\nto a guessed feature. See `,_jsx(_components.a,{href:`/instrumentation-coverage`,children:`instrumentation coverage`}),`.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=29a42f75c86dda8325359de4603f78e2`,alt:`Traces view listing captured traces with status, service, duration, error and span counts`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-light`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/traces.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=b5898cd01f18338659335a4424178db2 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=3a696757017353c2d70e868ad46f6f45 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=c550a65cac560239a270e0c613237073 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=007588f11564f4bfb81bb08976edc7de 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=8d2904ac71ab23865d1163bc60d14796 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=3caac8a56d12cc125517f27eab7c0219 2500w`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=c3d539206576f32c2450892735dc0902`,alt:`Traces view listing captured traces with status, service, duration, error and span counts`,loading:`lazy`,decoding:`async`,className:`sn-shot sn-shot-dark`,\"data-og-width\":`1440`,width:`1440`,\"data-og-height\":`900`,height:`900`,\"data-path\":`screenshots/traces-dark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=280\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=2af12cb140b4cd8e4b38f426b46ee176 280w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=560\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=9f12fe6d2c848cab3bdc8aa5595eadf6 560w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=840\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=ab5e94129b8a598b0b204c4c08dd4ee8 840w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=99a0ff115fa88997c7689495b8c6dd14 1100w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=6913936dcc3b5daa84b045ff5ba87da5 1650w, https://mintcdn.com/stack-next/wvbZ0Zo0GO0UM1X7/screenshots/traces-dark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=wvbZ0Zo0GO0UM1X7\u0026q=85\u0026s=79974659f0c96541d3048f5889813b67 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`use-the-cli`,children:`Use the CLI`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` coverage`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` diagnose`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` diagnose`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --trace-id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`trace-i`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`d`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` export`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --stdout`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`pnpm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` exec`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` stacknext`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` snapshot`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` save`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --label`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"before change\"`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The dashboard, CLI, export and MCP all read the same collector sample. A\nsnapshot is frozen and cannot answer questions about current behavior.`}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/diagnostics`,children:`Diagnostics`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/instrumentation-coverage`,children:`Instrumentation coverage`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/guides/snapshots`,children:`Snapshots`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/mcp`,children:`MCP server`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/ai-agents/workflows`,children:`Agent workflows`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Runtime evidence","description":"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.","keywords":["next.js request timeline","trace waterfall","database query evidence","error fingerprints"],"href":"/guides/runtime-evidence"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Start with the sample","slug":"start-with-the-sample","depth":2,"children":[]},{"title":"Explore the dashboard","slug":"explore-the-dashboard","depth":2,"children":[]},{"title":"Investigate an error","slug":"investigate-an-error","depth":2,"children":[]},{"title":"Investigate a slow request","slug":"investigate-a-slow-request","depth":2,"children":[]},{"title":"Inspect a trace","slug":"inspect-a-trace","depth":2,"children":[]},{"title":"Use the CLI","slug":"use-the-cli","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stack-next","siteName":"StackNext","title":"Runtime evidence - StackNext","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T08:18:32.122Z","originalFileLocation":"guides/runtime-evidence.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\">\u003cmeta data-mint-head name=\"application-name\" content=\"StackNext\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Runtime evidence - StackNext\">\u003cmeta data-mint-head property=\"og:description\" content=\"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StackNext\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://stack-next.mintlify.site/guides/runtime-evidence\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stack-next.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Runtime+evidence\u0026amp;description=Investigate+requests%2C+traces%2C+errors+and+database+activity+with+the+dashboard%2C+CLI+and+read-only+MCP+tools.\u0026amp;theme=83f0e4cd2f076ed431200c73\u0026amp;signature=0f097584b0faf4b0094b949c7796bf53b49b7146c38bedeebf8dd714a0e1c4fb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Runtime evidence - StackNext\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stack-next.mintlify.site/_mintlify/api/og/v2?division=Guides\u0026amp;title=Runtime+evidence\u0026amp;description=Investigate+requests%2C+traces%2C+errors+and+database+activity+with+the+dashboard%2C+CLI+and+read-only+MCP+tools.\u0026amp;theme=83f0e4cd2f076ed431200c73\u0026amp;signature=0f097584b0faf4b0094b949c7796bf53b49b7146c38bedeebf8dd714a0e1c4fb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stack-next/fPVGSCPYvZeYPzHU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StackNext\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://stack-next.mintlify.site/guides/runtime-evidence\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/runtime-evidence.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://stack-next.mintlify.site/#organization\",\"name\":\"StackNext\",\"url\":\"https://stack-next.mintlify.site\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://stack-next.mintlify.site/images/logo-black.svg\"},\"sameAs\":[\"https://github.com/marrrkkk/stacknext\"]},{\"@type\":\"WebSite\",\"@id\":\"https://stack-next.mintlify.site#website\",\"name\":\"StackNext\",\"url\":\"https://stack-next.mintlify.site\",\"publisher\":{\"@id\":\"https://stack-next.mintlify.site/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://stack-next.mintlify.site/guides/runtime-evidence#webpage\",\"url\":\"https://stack-next.mintlify.site/guides/runtime-evidence\",\"name\":\"Runtime evidence\",\"description\":\"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\",\"dateModified\":\"2026-11-11T08:18:32.122Z\",\"isPartOf\":{\"@id\":\"https://stack-next.mintlify.site#website\"},\"breadcrumb\":{\"@id\":\"https://stack-next.mintlify.site/guides/runtime-evidence#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://stack-next.mintlify.site/guides/runtime-evidence#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"StackNext\",\"item\":\"https://stack-next.mintlify.site\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Runtime evidence\",\"item\":\"https://stack-next.mintlify.site/guides/runtime-evidence\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://stack-next.mintlify.site/guides/runtime-evidence#article\",\"headline\":\"Runtime evidence\",\"name\":\"Runtime evidence\",\"description\":\"Investigate requests, traces, errors and database activity with the dashboard, CLI and read-only MCP tools.\",\"url\":\"https://stack-next.mintlify.site/guides/runtime-evidence\",\"mainEntityOfPage\":{\"@id\":\"https://stack-next.mintlify.site/guides/runtime-evidence#webpage\"},\"dateModified\":\"2026-11-11T08:18:32.122Z\",\"keywords\":\"next.js request timeline, trace waterfall, database query evidence, error fingerprints\",\"publisher\":{\"@id\":\"https://stack-next.mintlify.site/#organization\"},\"isPartOf\":{\"@id\":\"https://stack-next.mintlify.site#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StackNext\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StackNext\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/guides/runtime-evidence.md","siteName":"StackNext","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Introduction","href":"/index"},{"title":"How StackNext works","href":"/overview/what-is-stacknext"},{"title":"Core concepts","href":"/overview/core-concepts"},{"title":"Limitations","href":"/limitations"}]},{"group":"Getting started","pages":[{"title":"Installation","href":"/installation"},{"title":"Quickstart","description":"Install StackNext, start the collector and inspect your first request.","href":"/getting-started/quickstart"}]},{"group":"Guides","pages":[{"title":"Runtime evidence","href":"/guides/runtime-evidence"},{"title":"Diagnostics","description":"The six deterministic Next.js rules, finding statuses, evidence and limits behind every StackNext diagnostic.","href":"/guides/diagnostics"},{"title":"Snapshots","href":"/guides/snapshots"},{"title":"Runtime regression testing","href":"/regression-testing"},{"title":"CI integration","href":"/ci-integration"},{"title":"Playwright integration","href":"/playwright-integration"},{"title":"Custom instrumentation","href":"/custom-instrumentation"},{"title":"Instrumentation coverage","href":"/instrumentation-coverage"}]},{"group":"Integrations","pages":[{"title":"Next.js integration","href":"/integrations/nextjs"},{"title":"Database integrations","href":"/integrations/database"},{"title":"MCP server","href":"/mcp"}]},{"group":"AI agents","pages":[{"title":"AI agent support","href":"/ai-agents/index"},{"title":"Agent setup","href":"/ai-agents/setup"},{"title":"Agent workflows","href":"/ai-agents/workflows"},{"title":"Local documentation","href":"/ai-agents/local-docs"}]},{"group":"Reference","pages":[{"title":"CLI commands","href":"/cli/commands"},{"title":"Configuration","href":"/reference/configuration"},{"title":"MCP tools","href":"/reference/mcp-tools"},{"title":"Packages and public APIs","href":"/reference/packages"},{"title":"Compatibility","href":"/compatibility"}]},{"group":"Troubleshooting","pages":[{"title":"Troubleshooting","href":"/troubleshooting"}]},{"group":"Security and privacy","pages":[{"title":"Privacy and data handling","href":"/privacy"}]}]},"basePath":"","title":"Runtime evidence - StackNext","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-C5F0mVLH.js","lightbox-handle-r17bVUz3.js"]}