query_traces
Retrieve Datadog APM trace data for a service to inspect latency and span details, enabling performance debugging by filtering traces within a time range.
Instructions
Query Datadog APM traces for a service. Returns trace data with latency information and span details. Useful for performance debugging.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time as Unix timestamp (seconds/ms) or ISO 8601 string (must be after 'from') | |
| from | Yes | Start time as Unix timestamp (seconds/ms) or ISO 8601 string | |
| limit | No | Maximum number of traces to return (default: 100, max: 100) | |
| filter | No | Optional trace filter (e.g., "status:error", "http.status_code:500"). Use Datadog trace query syntax. | |
| serviceName | Yes | Name of the service to query traces for (e.g., "api", "web") |