Skip to main content
Use the watsonx Orchestrate ADK CLI to get traces from your active environment and export their spans.

Searching traces

Use filters to search for traces. You identify trace IDs by setting criteria such as time range, service names, agent identifiers or names, user identifiers, session identifiers, or span count.
BASH
orchestrate observability traces search --start-time <start date and time for search> --end-time <end date and time for search>
After you identify the trace IDs, run orchestrate observability traces export to export the full trace data.

Exporting traces spans

Export spans from the watsonx Orchestrate observability platform. This command fetches all spans for a specific trace ID and sends them to a file or standard output in JSON format. The JSON output follows the OpenTelemetry specification.
BASH
orchestrate observability traces export --trace-id <trace ID>