query-metrics
Extract and analyze metrics from Google Cloud services by applying filters, time ranges, and alignment periods for precise monitoring insights.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
alignmentPeriod | No | Alignment period (e.g., "60s", "300s") | |
endTime | No | End time in ISO format (defaults to now) | |
filter | Yes | The filter to apply to metrics | |
startTime | Yes | Start time in ISO format or relative time (e.g., "1h", "2d") |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"alignmentPeriod": {
"description": "Alignment period (e.g., \"60s\", \"300s\")",
"type": "string"
},
"endTime": {
"description": "End time in ISO format (defaults to now)",
"type": "string"
},
"filter": {
"description": "The filter to apply to metrics",
"type": "string"
},
"startTime": {
"description": "Start time in ISO format or relative time (e.g., \"1h\", \"2d\")",
"type": "string"
}
},
"required": [
"filter",
"startTime"
],
"type": "object"
}