docs(development): add observability dev-loop section #73
Reference in New Issue
Block a user
Delete Branch "docs/development/observability-dev-loop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ADR-0012 phase 1 + phase 2 are wired (BFF + SPA), so the "Observability dev-loop" placeholder in the roadmap table now has real content to point at. Promote it from §9 future-work list to a full §5 walkthrough sitting between "Daily commands" and "Dependency updates".
What §5 covers
./infra/local/dev.sh up observability, with the endpoint table (Jaeger UI, OTLP receiver, BFF stdout, browser DevTools).http.method,db.statement,service.name,trace_id), the trace-id-as-pivot pattern.trace_idandrequest_id(the per-request UUIDnestjs-clsprovides). Concretegrepexample.localhost:4318/v1/traces+ Jaeger UI cross-check./v1/traces,propagateTraceHeaderCorsUrlsmismatches, NODE_ENV mis-set, EADDRINUSE on serve restart.Renumbering
The new §5 pushes existing sections down. Final structure: 1. Repo layout / 2. Prerequisites / 3. Initial setup / 4. Daily commands / 5. Observability dev-loop / 6. Dependency updates (Renovate) / 7. Conventional commit cycle / 8. Where to look / 9. Roadmap.
The "Observability dev-loop" line in §9's roadmap table is removed (now implemented).
docs/README.mdcross-link updated to mention the new section.Test plan
format:check).grepcorrelation example with a synthetic request — flag any step that's wrong / missing on this real-world rehearsal.