GCP Compute Engine OpenTelemetry Assets
| Version | 0.4.0
|
| Subscription level What's this? |
Basic |
| Developed by What's this? |
Elastic |
| Minimum Kibana version(s) | 9.6.0 |
To use pre-release integrations, go to the Integrations page in Kibana, scroll down, and toggle on the Display beta integrations option.
This package contains Kibana assets for monitoring Compute Engine virtual machines with Google Cloud Monitoring metrics collected by the OpenTelemetry Collector.
The package is content only. It does not configure data collection. Use the Google Cloud Monitoring (OpenTelemetry) input package (googlecloudmonitor_input_otel) to collect Compute Engine metrics into Elasticsearch.
You need Elasticsearch for storing and searching your data and Kibana for visualizing and managing it. You can use our hosted Elasticsearch Service on Elastic Cloud, which is recommended, or self-manage the Elastic Stack on your own hardware.
Install the Google Cloud Monitoring OpenTelemetry Input package (googlecloudmonitor_input_otel) and configure it to collect Compute Engine Cloud Monitoring metrics (for example, compute.googleapis.com/instance/cpu/utilization). This content package provides assets that visualize data collected by that input.
When configuring the input package, set the dataset name to gcp.compute.otel so that data is written to the metrics-gcp.compute.otel-default data stream, which these dashboards query.
| Dashboard | Description |
|---|---|
| [GCP Compute] Overview | Fleet-wide health overview covering CPU utilization, memory, swap, disk throughput, IOPS, latency, network, firewall drops, and instance availability across zones. |
| [GCP Compute] GCE Instance Detail | Per-instance deep-dive into CPU, memory, swap, network throughput, disk throughput, IOPS, I/O latency, queue depth, disk health, uptime, and interruption events. |
Alert rule templates provide pre-defined configurations for creating alert rules in Kibana.
For more information, refer to the Elastic documentation.
Alert rule templates require Elastic Stack version 9.6.0 or later.
The following alert rule templates are available:
View the alert rule templates
| Name | Description |
|---|---|
| [GCP Compute OTel] CPU saturation across a zone | Alerts when a significant share of the VM fleet in a zone runs at or above 90% of its reserved CPU cores (averaged over 15 minutes). Fleet-level by design: a single busy VM does not page. Returns one row per breaching project and zone with the saturated instance names. |
| [GCP Compute OTel] CPU steal from host contention | Alerts when VMs in a zone spend at least 10% of their vCPU time ready to run but not scheduled by the hypervisor (CPU steal, from scheduler_wait_time) over 15 minutes. Shared-core VMs, which are throttled by design, are excluded. Returns one row per affected project and zone. |
| [GCP Compute OTel] Disk at provisioned IOPS or throughput limit | Alerts when a disk with independently provisioned performance (Hyperdisk, pd-extreme) uses at least 90% of its provisioned IOPS or provisioned throughput, averaged over 15 minutes. Disks without provisioning metrics (pd-standard, pd-balanced, pd-ssd) are skipped. Returns one row per saturated disk. |
| [GCP Compute OTel] Persistent disk I/O saturation | Alerts when an attached disk has a sustained deep I/O queue (average queue depth >= 8) combined with elevated average I/O latency over 15 minutes, indicating it is at its IOPS or throughput ceiling. Latency thresholds differ by storage type. Returns one row per saturated disk. |
| [GCP Compute OTel] Disk performance severely degraded | Alerts when GCE reports a disk's performance status as Severely Degraded for every sample in a 20-minute window. The routine Degraded status is intentionally ignored. Returns one row per affected disk. |
| [GCP Compute OTel] Firewall dropped packet spike | Alerts when the VPC firewall dropped-packet rate for a zone spikes: the highest 5-minute rate in the last 15 minutes is at least 1000 packets/s and at least 5 times the median 5-minute rate over the last hour. Returns one row per affected project and zone. |
| [GCP Compute OTel] Managed instance group size drop | Alerts when a managed instance group loses at least half of its instances (and at least 2) within 30 minutes, comparing the current size with the maximum size in the window. Returns one row per affected instance group. |
| [GCP Compute OTel] Memory pressure across a zone | Alerts when multiple VMs in a zone are under memory pressure: at least 95% of guest RAM in use (balloon driver view) or sustained swap-in of at least 1 MiB/s, averaged over 15 minutes. Fleet-level by design. Returns one row per breaching project and zone. |
| [GCP Compute OTel] Clustered VM interruptions in a zone | Alerts when at least 3 distinct VMs in the same zone record an interruption (live-migration maintenance event, Spot/preemptible preemption, or host-error termination) within 30 minutes. Single maintenance events are expected background noise and do not alert. Returns one row per affected project and zone. |
SLO templates provide pre-defined configurations for creating SLOs in Kibana.
For more information, refer to the Elastic documentation.
SLO templates require Elastic Stack version 9.4.0 or later.
The following SLO templates are available:
View the SLO templates
| Name | Description |
|---|---|
| [GCP Compute OTel] Average disk I/O latency 99.5% rolling 30 days | This SLO tracks the I/O latency of each Compute Engine persistent disk and Hyperdisk volume, as observed by the hypervisor through the Google Cloud Monitoring receiver. A 5-minute timeslice is good when the average of compute.googleapis.com/instance/disk/average_io_latency for the disk stays below 50 ms (50000 microseconds). The objective is that 99.5% of 5-minute timeslices are good over a rolling 30-day period. Sustained high average I/O latency stalls databases, queues and other I/O-bound workloads running on the VM. It is caused either by saturation (IOPS or throughput approaching the provisioned or size-based ceiling, visible as rising average_io_queue_depth) or by Compute Engine infrastructure degradation (instance/disk/performance_status = Severely Degraded). The 50 ms threshold is deliberately set for the slowest standard disk type (pd-standard, HDD-backed); for fleets of SSD-backed disks (pd-balanced, pd-ssd, Hyperdisk) consider cloning this SLO with a storage_type filter and a tighter threshold. The metric does not carry instance_name, so instances are identified by instance_id and the disk by device_name. |
This integration includes one or more Kibana dashboards that visualizes the data collected by the integration. The screenshots below illustrate how the ingested data is displayed.
Changelog
| Version | Details | Minimum Kibana version |
|---|---|---|
| 0.4.0 | Enhancement (View pull request) Add alerting rule templates for zone-level CPU saturation, CPU steal, memory pressure, firewall drop spikes, managed instance group size drops, and clustered VM interruptions, plus disk alerts for provisioned I/O limits, queue saturation, and severely degraded performance, and an SLO for average disk I/O latency. |
9.6.0 |
| 0.3.0 | Enhancement (View pull request) Add a "View in Google Console" row action to the instance tables, open "View metrics in Discover" in the same tab, chart network, disk, swap, firewall and CPU metrics on the overview and instance detail dashboards as totals per time bucket instead of per-second values that were inflated when instances started or stopped, count each interruption event once, and sort instances without memory data last in the memory utilization table. |
9.6.0 |
| 0.2.0 | Enhancement (View pull request) Improve overview dashboard header and navigation, align dashboard titles with the [GCP OTel] naming convention, open instance drilldowns in the same tab, fix scheduler wait axis formatting and limit zone charts to the top 10 zones. |
9.6.0 |
| 0.1.0 | Enhancement (View pull request) Initial draft of the GCP Compute Engine OpenTelemetry Assets package. |
9.6.0 |