search-spans
Search APM spans and traces to analyze performance. Filter by service, resource, status, and duration to identify issues.
Instructions
Search APM spans/traces for performance analysis. Filter by service, resource, status, duration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Span search query. Example: service:api-server resource_name:GET_/users @duration:>5s | |
| from | Yes | Start time (ISO 8601 or relative). Example: 2026-02-26T00:00:00Z or now-1h | |
| to | Yes | End time (ISO 8601 or relative). Example: 2026-02-26T23:59:59Z or now | |
| limit | No | Max results (default 50, max 1000) | |
| sort | No | Sort order: -timestamp (newest first) or timestamp (oldest first) | -timestamp |
| extractFields | No | Comma-separated dotted paths to project from response (e.g. 'id,name,owner.name,columns.*.name'). Use `*` as wildcard for arrays/objects. Wrap field names with dots in backticks. Reduces response tokens dramatically on large entities. |