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_query
must contain
EITHER
a
time_series_filter
OR a
prometheus_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.
Show more
Installs
898
Repository
google/skills
GitHub Stars
18.6K
First Seen
Jul 31, 2026
Security Audits
Gen Agent Trust Hub
Pass
Socket
Pass
Snyk
Warn