Get Trace
dynatrace_get_traceFetch spans for a trace ID from a log line, plus optional linked logs, to investigate distributed requests and errors.
Instructions
Fetch spans for a trace_id (from a log line) plus optional linked logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| from | No | Start: now-30m or ISO-8601 | |
| limit | No | ||
| around | No | Pivot timestamp for a window | |
| window | No | Half-window around pivot, e.g. 2m | |
| endDate | No | Calendar end YYYY-MM-DD (UTC day) | |
| traceId | Yes | ||
| startDate | No | Calendar start YYYY-MM-DD (UTC day) | |
| connection | No | Named connection from env (default, optional stage/prod aliases, or a DYNATRACE_CONNECTIONS key) | |
| includeLogs | No | ||
| allowLongRange | No | Allow ranges longer than the default cap |