cloud-monitoring-metric-selection

Query and filter Google Cloud Monitoring metric descriptors for GCP services via MCP tools.

Updated Jul 24, 2026
One-click install
npx skills add https://github.com/oliverconstance/webapp-scrum-team --skill cloud-monitoring-metric-selection-oliverconstance
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cloud-monitoring-metric-selection
Source: https://github.com/oliverconstance/webapp-scrum-team/tree/main/.agent/skills/cloud-monitoring-metric-selection
Command: npx skills add https://github.com/oliverconstance/webapp-scrum-team --skill cloud-monitoring-metric-selection-oliverconstance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding the right Google Cloud Monitoring metric among thousands of descriptors is slow and error-prone. This Skill queries live metric descriptors for any GCP service and filters them down to the handful of metrics that match your intent. ## Core Features & Use Cases - Live Metric Discovery: Calls the list_metric_descriptors MCP tool against monitoring.googleapis.com to retrieve up-to-date metric descriptors for services like Compute Engine, Spanner, BigQuery, Cloud Run, and Cloud Storage. - Keyword-Based Local Filtering: Maps user concepts (e.g., "CPU", "latency", "bytes scanned") to metric substrings and filters descriptors by type, display name, and description. - Structured Output: Returns 5-15 relevant metrics per service in Markdown tables with Metric Kind, Value Type, Unit, and Monitored Resource Types. - Use Case: Ask which metrics track Cloud Storage bucket write throughput, and receive a table of matching storage.googleapis.com metric types ready for dashboards or alerting policies. ## Quick Start Find the Google Cloud Monitoring metrics for CPU utilization and memory usage on my Compute Engine instances in project my-project-id.

Frequently Asked Questions about cloud-monitoring-metric-selection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find Google Cloud Monitoring metrics for a GCP service?▼

Call the list_metric_descriptors MCP tool with a filter like metric.type = starts_with("spanner.googleapis.com/") to retrieve all descriptors for that service. Then filter the results locally by matching keywords against the type, displayName, and description fields.

How to list metric descriptors using the Cloud Monitoring MCP tool?▼

Configure the google-cloud-monitoring MCP server pointing to https://monitoring.googleapis.com/mcp, then invoke list_metric_descriptors with the project name, a starts_with filter, and pageSize 200. Follow nextPageToken for additional pages.

Which GCP services and metric prefixes are supported?▼

Standard services use prefixes like compute.googleapis.com or bigquery.googleapis.com. The skill also supports agent.googleapis.com for Ops Agent, kubernetes.io for GKE, istio.io for service mesh, knative.dev, and custom.googleapis.com or external.googleapis.com for custom metrics.

What should I do if list_metric_descriptors returns empty results or fails?▼

First check and correct the filter syntax, then retry with a smaller pageSize such as 20 for timeouts or rate limits. If results remain empty, verify the service is enabled in the project and consult the public GCP metrics documentation.

Can I combine multiple metric.type filters in one Cloud Monitoring query?▼

No, Google Cloud Monitoring filters do not allow combining multiple metric.type restrictions with OR. You must issue a separate list_metric_descriptors call for each service prefix, either sequentially or in parallel.