datadog_query_metrics
Query Datadog metrics time-series data with a specific metric query and time range. Use to monitor system performance and troubleshoot issues.
Instructions
Query Datadog metrics time-series data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_key": "<api_key>",
"app_key": "<app_key>",
"query": "<query>"
},
"name": "datadog_query_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End time as Unix timestamp (default: now) | |
| from | No | Start time as Unix timestamp (default: 1 hour ago) | |
| query | Yes | Datadog metric query (e.g. avg:system.cpu.user{*}) | |
| api_key | Yes | Datadog API key | |
| app_key | Yes | Datadog Application key |