Find your next open-source project

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

cloud-monitoring-list-time-series-request

Build a valid Cloud Monitoring ListTimeSeries request with filter, interval, and aggregation settings.

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

When to use it

You already know which metric you want but need a correct filter and aggregation query to chart it.

For example

You say

Use cloud-monitoring-list-time-series-request to build a ListTimeSeries request for compute.googleapis.com/instance/cpu/utilization on project my-proj, last 6 hours, grouped by zone.

You get
  • ListTimeSeries JSON parameters
  • Filter expression
  • Aggregation spec

How it works

  • Picks perSeriesAligner and crossSeriesReducer from the metric's kind and value type.
  • Sets alignmentPeriod from the lookback window, e.g. 60s for one hour.
  • Validates the request against live telemetry with view set to HEADERS.

Before installing

A GCP Project ID must be provided or resolvable, otherwise the skill asks you to clarify it.