Search by Trace ID
search_by_trace_idSearch all container logs by trace ID to produce a chronological merged timeline of every service event, helping isolate cascading failures.
Instructions
Return a chronologically merged timeline of all log events across every container that share a specific trace / request ID.
This is the primary debugging tool. It correlates distributed transactions in O(1) time using the in-memory trace index.
Args:
trace_id (string): The correlation ID to search for (e.g. "req-998877", a W3C traceparent trace hex).
limit (number, 1-500): Maximum events to return. Default 200.
Returns: A chronological list of log lines across all services tagged with this trace_id, showing the full distributed call path — ideal for pinpointing cascading failures.
Example: search_by_trace_id({ trace_id: "req-998877" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of log events to return (default 200). | |
| trace_id | Yes | The trace/request/correlation identifier to search for (e.g. 'req-998877', a W3C traceparent hex ID). |