dragon.ai.agent.observability.ddict_tracer.DictTracingProcessor
- class DictTracingProcessor[source]
Bases:
TracingProcessorWrite trace spans to a Dragon Distributed Dictionary.
Parameters
- ddict:
An attached
DDictinstance.- task_id:
The current pipeline run’s task_id (used for key formatting).
- agent_id:
The agent_id for this processor instance.
- dispatch_id:
The dispatch_id for this invocation.
Methods
__init__(ddict, task_id, agent_id, dispatch_id)on_span_end(span)Update the existing span entry in the DDict span list.
on_span_start(span)Append a span (with
end_time=None) to the DDict span list.