Skip to main content

Google Cloud Monitoring diagnostics

v0.1.2

Read-only Google Cloud Monitoring diagnostics for bounded metric queries, metric descriptors, Cloud Interconnect attachment utilization, and alert policies. Metrics use the stable Monitoring v3 REST API; alert policies use the GA gcloud command.

4 allowed by default
Pack ID
gcp-monitoring
Vendor
emisar
OS
linux
Actions
4
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
gcloud curl jq

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install gcp-monitoring --hash sha256:db4ece861afcf33702179684bb857a42478824f696d980239c1a67f4eee12e87

Actions 4 total

View on GitHub
  • gcp.alert_policies exec low

    gcloud monitoring policies list

    List alerting policies in one Google Cloud project.

    View source on GitHub
  • gcp.interconnect_utilization script low

    Query Cloud Interconnect attachment utilization

    Query capacity plus received and sent byte rates for one Cloud Interconnect attachment, then calculate independent ingress and egress utilization ratios. The link is full duplex, so directions are never summed.

    View source on GitHub
  • gcp.metric_descriptors script low

    List Cloud Monitoring metric descriptors

    List active metric descriptors in one project, optionally restricted to a metric-type prefix. Returns a nextPageToken when another page exists.

    View source on GitHub
  • gcp.metric_query script low

    Query Cloud Monitoring time series

    Query one metric type over a bounded recent window, optionally narrowing by a Monitoring resource filter. Returns FULL time-series data and a nextPageToken when another page exists.

    View source on GitHub