Repository navigation
docs: ADR-0034, observability as the trust surface; the guide stops claiming end-to-end traces - #43
Merged
Merged
Conversation
…laiming end-to-end traces The observability guide said "an end-to-end request shows up as a trace across the pipeline". It does not: every span gets a fresh trace id and no parent, so a request that crosses three flows is three unrelated traces in the collector. The guide now says so, and says the cost of the OTLP exporter and of the event ring has not been measured separately. ADR-0034 (Proposed) decides how the claim becomes true: a W3C traceparent in NATS headers on every publish and consume, parent spans per hop, a hardened hand-rolled exporter, a transport test T6 against a stub collector, then a bounded VEJAS_TRACES stream and a panel view that links each hop to its flow version, promote record, proposal and replay diff. Written on 2026-10-24 and left uncommitted since; the measured state was re-read on v0.6.0 before this commit (the bus moved to async-nats behind core/src/bus.rs, nothing else in the table changed). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The observability guide (published at vejas.dev/docs) says "an end-to-end request shows up as a trace across the pipeline". It does not:
otlp_payloadgives every span a fresh random trace id and no parent, and nothing travels in NATS headers, so a request that crosses three flows is three unrelated traces in the collector.traceparentin NATS headers on every publish and consume, parent spans per hop, a hardened hand-rolled exporter, transport test T6 against a stub collector, the cost measured onbench/flow-only.sh. Lot B: a boundedVEJAS_TRACESstream and a panel view that links each hop to its flow version, promote record, proposal and replay diff.The ADR was written on 2026-10-24 and left uncommitted since. Its measured state was re-read on v0.6.0 before this PR: the bus moved to async-nats behind
core/src/bus.rs(ADR-0035), which becomes the one place headers are written and read; nothing else in the table changed. Line references became function names.The published book keeps the old sentence until it is republished.
🤖 Generated with Claude Code