Get LLM Slow Traces
get_llm_slow_tracesIdentify slowest LLM traces by duration to pinpoint latency bottlenecks and optimize performance.
Instructions
Find slowest LLM traces by duration.
Useful for performance optimization and identifying latency bottlenecks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of traces to return (default: 10) | |
| end_time | No | End time in ISO 8601 format | |
| start_time | No | Start time in ISO 8601 format (e.g., 2024-01-01T00:00:00Z) | |
| service_name | No | Filter by service name | |
| min_duration_ms | No | Minimum duration threshold in milliseconds (only return traces above this) | |
| gen_ai_request_model | No | Filter by requested model name (e.g., "gpt-4") | |
| gen_ai_response_model | No | Filter by actual model used (e.g., "gpt-4-0613") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |