Hello guys, Im new to phoneix. Just wanted to know whether if we can group a single agentic workflow which has multiple child agentic workflows with a single trace_id?
Yes, Phoenix supports grouping a single agentic workflow (with multiple child agentic workflows) under a single trace_id, as long as all child workflows are instrumented to use the same trace context. This is achieved by starting a top-level span for the parent workflow and ensuring all child agent calls are made as nested spans within that context, so they share the same trace_id and are visualized as a single trace in Phoenix. You can do this using OpenTelemetry context propagation and manual or auto-instrumentation, depending on your agent framework (Phoenix tracing docs, OpenInference traces spec).For multi-agent frameworks like AutoGen, CrewAI, Agno, and others, Phoenix's OpenInference instrumentation will automatically group agent and sub-agent spans under the same trace if they are executed within the same parent span context (AutoGen integration, Agno integration). If you are orchestrating agents manually, use tracer.start_as_current_span for the parent and ensure all child agents are invoked within that context.Would you like a code example or more detail on a specific agent framework?Sources:
- OpenInference traces spec
- AutoGen integration
- Agno integration
- Phoenix tracing docs
馃挕聽Hint: Mention RunLLM in the thread for followups.