jaeger_get_trace
Retrieve complete trace details including all spans, per-service statistics, and execution tree to identify slow services or error causes.
Instructions
Retrieve full trace detail with all spans, service breakdown, and execution tree.
Wraps GET /api/traces/{traceID}. Returns every span in the trace,
per-service statistics, and a flat execution tree (each node lists its
child span IDs) that summarises the call hierarchy.
Error spans are identified by tags["error"] = "true".
Examples:
- Use when: "Why is trace abc123... slow — show me the span breakdown"
→ trace_id='abc123...'; inspect services for the heaviest service
and execution_tree for the call hierarchy.
- Use when: "Which service caused the error in trace xyz...?"
→ check spans where is_error=true.
- Use when: You found a slow/failed trace in jaeger_search_traces
and need full detail.
- Don't use when: You don't have a specific traceID — use
jaeger_search_traces to find one first.
- Don't use when: You only want aggregate data across many traces
(use jaeger_search_traces with filters instead).
Returns:
dict with trace_id / span_count / service_count /
root_operation / root_service / start_time_us /
total_duration_us / errors_count / services (per-service stats) /
spans (all spans) / execution_tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | Trace ID as a hex string (16 or 32 hex chars). Example: 'abcdef1234567890abcdef1234567890'. Obtain from jaeger_search_traces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | ||
| span_count | Yes | ||
| service_count | Yes | ||
| root_operation | Yes | ||
| root_service | Yes | ||
| start_time_us | Yes | ||
| total_duration_us | Yes | ||
| errors_count | Yes | ||
| services | Yes | ||
| spans | Yes | ||
| execution_tree | Yes |