slowest_spans
Identify the slowest spans in a trace or across all runs to diagnose why an execution was slow. Set k for top results and omit trace_id to search every run.
Instructions
Top-k slowest spans. Use for 'why was this run slow?'. Omit trace_id to search all runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| trace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |