gcp-monitoring-query-metrics
Query Google Cloud Monitoring metrics by applying a filter, time range, and alignment period to retrieve time-series data for analysis.
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": {
"filter": "<filter>",
"startTime": "<startTime>"
},
"name": "gcp-monitoring-query-metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | Yes | The filter to apply to metrics | |
| endTime | No | End time in ISO format (defaults to now) | |
| startTime | Yes | Start time in ISO format or relative time (e.g., "1h", "2d") | |
| alignmentPeriod | No | Alignment period (e.g., "60s", "300s") |