Write into the trace agynd opened - #69
Merged
Merged
Conversation
A workload is one wake cycle and one trace. agynd opens it, derives the id from WORKLOAD_ID so a restart reopens rather than splits it, and hands it to whatever produces spans inside -- the trace hook is told, and agn was not. So agn's turns rooted themselves and a run view showed the message and the model call it caused as unrelated things that happened near each other. TRACEPARENT is the W3C spelling for handing a trace to a process you start. Absent or unparseable, spans root themselves as they did.
This was referenced Aug 20, 2026
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.
A workload is one wake cycle and one trace.
agyndopens it, derives the id fromWORKLOAD_IDso a restart reopens rather than splits it, and hands it to whatever produces spans inside.The trace hook is told. agn was not — so its
invocation.message,llm.callandtool.executionspans rooted themselves, and a run view showed the message and the model call it caused as unrelated things that happened near each other.TRACEPARENTis the W3C spelling for handing a trace to a process you start, and it is read once into the root context so everything this process reports inherits it. Absent or unparseable, spans root themselves exactly as they did.Companion to agynio/agents-orchestrator#277, which pointed
OTEL_EXPORTER_OTLP_ENDPOINTat Tracing — it had been naming a collector sidecar that no longer runs, so agn's spans were being sent to a closed port. With both, agn's turns arrive at Tracing in the cycle's own trace. See agynio/architecture#188 for the two span paths.