cloud-monitoring-chart-generation
Installation
SKILL.md
Cloud Monitoring Chart Generation Skill (cloud-monitoring-chart-generation)
Transforms PromQL or ListTimeSeries JSON request payloads and metric metadata
into valid Server-Driven UI (SDUI) google.monitoring.dashboard.v1.Widget
Protocol Buffer textprotos. These generated textprotos are designed to be
ingested by the Cloud Monitoring Dashboards API, gcloud CLI, or declarative
dashboard provisioning pipelines.
[!IMPORTANT] Preferred API & Mutually Exclusive Queries:
- API Preference: Always prefer generating
ListTimeSeries(time_series_filter) configurations for widgets over PromQL, unless the user explicitly requested PromQL or the metric math strictly requires it.- Mutually Exclusive: A widget dataset
time_series_querymust contain EITHER atime_series_filterOR aprometheus_query. You must never populate both fields in the same dataset simultaneously.- Strict Passthrough: You MUST copy the provided PromQL query or ListTimeSeries JSON exact filter string character-for-character. DO NOT invent, rewrite, or modify the queries under any circumstances.