Execute DQL
dynatrace_execute_dqlRuns DQL queries against Grail to retrieve observability data. Requires valid DQL syntax, not natural language, and supports time ranges, connections, and result limits.
Instructions
Run a DQL query against Grail. Use templated tools when possible. Requires valid DQL, not natural language.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End: now or ISO-8601 | |
| dql | Yes | ||
| from | No | Start: now-30m or ISO-8601 | |
| 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) | |
| 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) | |
| allowLongRange | No | Allow ranges longer than the default cap | |
| maxResultRecords | No |