Skip to main content
Note:You can use traces only in:
Traces provide a high-level view of what happens when an agent receives a request. They visualize the complete path a request takes through the agent, making them essential for understanding agent behavior. A tracer generates spans with detailed information about specific operations. Each span represents a distinct unit of work or activity. With watsonx Orchestrate ADK, you access traces and their spans in two ways:
  • Using ADK CLI Run the orchestrate observability traces command to retrieve traces from your activity environment.
  • Using a Python script Use the ADK Python library to write a script that retrieves traces from your watsonx Orchestrate environment.
You also access traces through the UI and the API. For more information, see Trace details and Trace search.