Skip to content

Write into the trace agynd opened - #69

Merged
vitramir merged 1 commit into
mainfrom
write-into-the-trace-agynd-opened
Aug 19, 2026
Merged

Write into the trace agynd opened#69
vitramir merged 1 commit into
mainfrom
write-into-the-trace-agynd-opened

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

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. agn was not — so its invocation.message, llm.call and tool.execution spans 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, 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_ENDPOINT at 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.

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.
@vitramir
vitramir merged commit 16fd5d6 into main Aug 19, 2026
1 of 2 checks passed
@vitramir
vitramir deleted the write-into-the-trace-agynd-opened branch August 19, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant