Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

cloud-monitoring-chart-generation

Generate a Cloud Monitoring dashboard widget textproto from a PromQL or ListTimeSeries query.

  • Part of google/skills
  • 6.2k installs
  • DevOps & Self-hosting · Monitoring

When to use it

You already have a resolved PromQL query or ListTimeSeries filter and need a valid widget textproto for a dashboard.

For example

You say

Use cloud-monitoring-chart-generation to turn this PromQL query into a dashboard widget: rate(node_cpu_seconds_total{mode="idle"}[5m]) for metric node_cpu_seconds_total, unit s, resource type gce_instance.

You get
  • Widget textproto file
  • SemanticPlotSpec JSON
  • Validation result

How it works

  • Prefers ListTimeSeries filters over PromQL unless PromQL is explicitly requested.
  • Copies the query string exactly and never rewrites it.
  • Falls back to writing the textproto directly if scripts can't run in the sandbox.

Before installing

Requires Python 3 and the packages in scripts/requirements.txt to run the bundled scripts.

This skill includes 8 scripts your assistant may run on your computer.