query_metrics
Fetch Datadog metric timeseries points for a specified time range and query to inspect and analyze metric trends.
Instructions
Query timeseries points of metrics from Datadog
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": {
"from": "<from>",
"to": "<to>",
"query": "<query>"
},
"name": "query_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End of the queried time period, seconds since the Unix epoch. | |
| from | Yes | Start of the queried time period, seconds since the Unix epoch. | |
| query | Yes | Datadog metrics query string. e.g. "avg:system.cpu.user{*} |