Skip to content

Workflow Trace

The Workflow Trace provides detailed execution information for individual workflow runs, allowing you to monitor, debug, and optimize your workflows.

Overview

When you select a specific run from the Workflow Details page, you'll be taken to the Workflow Trace view, which gives you comprehensive insights into the execution:

Workflow Trace Header

Key Features

Real-time Logs

The Logs section provides detailed information about the workflow execution process:

Workflow Trace Log Auto-Refresh

Key features of the logging system include:

  • Real-time log streaming with auto-refresh capability
  • Filtering options to focus on specific log levels or components
  • Searching functionality to find relevant log entries
  • Timestamp information for each log entry
  • Ability to export logs for external analysis

Cost Analysis

The Cost tab helps you understand the resource usage and expenses associated with your workflow run:

Workflow Trace Cost Tab

The cost analysis provides:

  • Breakdown of costs by component
  • Token usage statistics
  • Compute time metrics
  • Comparison with historical runs
  • Cost optimization recommendations

From the Workflow Trace view, you can:

  • Return to the Workflow Details page
  • Navigate to previous or next runs
  • Export trace data for offline analysis
  • Share the trace with team members

Troubleshooting

The Workflow Trace is your primary tool for debugging issues in your workflows:

  • Use the logs to identify error messages and exceptions
  • Check component execution times to identify bottlenecks
  • Review resource usage to spot inefficiencies
  • Compare successful runs with failed runs to identify differences

Next Steps