Get PromQL queries for Cloud Monitoring metrics.
Generates PromQL queries for Cloud Monitoring metrics using metric descriptors and resource parameters.
When to use it
Use when asked to create or format Cloud Monitoring PromQL queries, not for raw metric discovery or selection.
Give it a metric name or description and any resource filters; it returns validated PromQL queries in the conversation.
What you provide
Requires Python 3 to run the mandatory query validator.
When a resource label schema is unknown, obtains an access token through gcloud application-default authentication or, alternatively, gcloud user authentication, and sends it to the Cloud Monitoring REST API as a Bearer token.
This skill
Cloud Monitoring
Fetches Cloud Monitoring descriptors
promql-parser
Installs the PromQL parser