Search traces
tideways_search_tracesFind individual request traces to debug slow or failing requests by response time, memory, bottlenecks, and slowest layers; filter by transaction ID, text, time window, or response time.
Instructions
Find individual request traces (30 per call unless "limit" asks for up to 100; newest first unless sortBy is set) with response time, memory, bottlenecks and the slowest layers. Use to investigate specific slow or failing requests; filter by transaction IDs from tideways_get_performance, text, time window and response time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Latest trace time (inclusive), "YYYY-MM-DD HH:mm" UTC; needs "from" as well | |
| from | No | Earliest trace time, "YYYY-MM-DD HH:mm" UTC; needs "to" as well | |
| limit | No | Traces to return, up to 100. Raise it to cover a busy window or to find rarer examples, such as traces with an nplus1 bottleneck. | |
| detail | No | "concise" (default) returns a trimmed summary. "full" also includes the unmodified API response under "raw"; it can be very large. | concise |
| search | No | One whole word from the transaction name or URL path (e.g. "checkout"), matched against transaction, host and URL tokens. Several words match any of them and widen the result. | |
| sortBy | No | response_time = slowest first, memory = highest first; omit for newest first. Without from/to, sorted results span all retained traces (~30 days). | |
| project | No | Tideways project as "project" or "organization/project". Defaults to the defaultProject that tideways_list_projects reports; call it for valid names. | |
| service | No | Service, e.g. "web" or "worker". Defaults to the configured service, else the project's default service. A project can have several services; tideways_list_services lists them. When results come back, an unknown name fails with an error. | |
| environment | No | Environment, e.g. "production" or "staging". Defaults to the configured environment, else production; criteria.environment (traces: each trace's environment) shows which was used. When results come back, an unknown name fails with an error. | |
| withCallgraph | No | true = only traces that have a full callgraph (profile) | |
| transactionIds | No | Only traces of these transactions: numeric IDs from transactions[].id of tideways_get_performance. Combines with search, environment, service, sortBy and the from/to window. | |
| maxResponseTimeMs | No | ||
| minResponseTimeMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Unmodified Tideways API response; present only when detail is "full". | |
| count | Yes | ||
| traces | Yes | ||
| project | Yes | ||
| limitReached | Yes | True when as many traces came back as "limit" asked for: raise "limit" (up to 100), narrow the time window or change sortBy to see others |