docs(observability): document the contract, and retire the sentence that denied it
Task 8. README.md led its Honest scope section with "No observability layer, either." — the single most load-bearing sentence in the CTO assessment, and now false. It says what exists instead, and keeps being explicit about what does not: no metrics registry and no OpenTelemetry exporter in core, because core has one runtime dependency and intends to keep it. Adds a guide covering the parts that are contracts rather than implementation details, since those are the ones a reader gets wrong: route labels carry the pattern and never the concrete path (labelling metrics on raw URLs is how you take down a metrics backend), request:end fires when the handler returns rather than when a stream closes, and streams emit lifecycle events only. The plugins guide was titled "Plugins & observability" and carried a partial event list that had already drifted. It now covers plugins and points at the guide for the vocabulary, with the correlation note it was missing. Includes the measured cost, because a performance claim without a number is marketing: -3.9% on JSON hello, -2.1% on a three-step pipeline, and the reason the shallower route loses more. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
5 files changed
+163
-6
No files matched your search
@@ -55,7 +55,8 @@ export default defineConfig({
|
||||
{ label: 'File uploads', slug: 'guides/uploads' },
|
||||
{ label: 'HTML & views', slug: 'guides/html' },
|
||||
{ label: 'Transport security', slug: 'guides/security' },
|
||||
{ label: 'Plugins & observability', slug: 'guides/plugins' },
|
||||
{ label: 'Plugins', slug: 'guides/plugins' },
|
||||
{ label: 'Observability', slug: 'guides/observability' },
|
||||
{ label: 'Graph introspection', slug: 'guides/introspection' },
|
||||
{ label: 'OpenAPI', slug: 'guides/openapi' },
|
||||
{ label: 'Runtimes', slug: 'guides/runtimes' },
|
||||
|
||||
Reference in new issue
Block a user