natural-language-metrics-query
Query Google Cloud Monitoring metrics using natural language. Specify time ranges and alignment periods to extract and analyze performance data directly in the MCP server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
alignmentPeriod | No | Alignment period (e.g., "60s", "300s") | |
endTime | No | End time in ISO format (defaults to now) | |
query | Yes | Natural language description of the query you want to execute | |
startTime | No | 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"
},
"query": {
"description": "Natural language description of the query you want to execute",
"type": "string"
},
"startTime": {
"description": "Start time in ISO format or relative time (e.g., \"1h\", \"2d\")",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}