Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add tracing for LlamaIndex AgentWorkflow runs and member agent executions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Keep one invoke_agent span open across an AgentWorkflow member's tool loop, parent execute_tool spans to the requesting agent, and keep a handing-off agent's span open until every tool call of that turn ends.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ OpenTelemetry LlamaIndex Instrumentation
This package contains OpenTelemetry instrumentation for
`LlamaIndex <https://github.com/run-llama/llama_index>`_.

It emits ``invoke_agent`` spans for LlamaIndex ``FunctionAgent`` and
``ReActAgent`` runs, and ``execute_tool`` spans when LlamaIndex executes
function tools. Model calls
It emits ``invoke_workflow`` spans for ``AgentWorkflow`` runs,
``invoke_agent`` spans for standalone and workflow-member ``FunctionAgent``
and ``ReActAgent`` executions, and ``execute_tool`` spans when LlamaIndex
executes tools. Model calls
delegated to provider SDKs are intentionally left to those SDKs' OpenTelemetry
instrumentations.

Expand Down
Loading