query_metrics
Retrieve timeseries data for Datadog metrics by specifying time periods and query parameters to analyze system performance.
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 |
|---|---|---|---|
| from | Yes | Start of the queried time period, seconds since the Unix epoch. | |
| to | Yes | End of the queried time period, seconds since the Unix epoch. | |
| query | Yes | Datadog metrics query string. e.g. "avg:system.cpu.user{*} |