GCP Compute Metrics¶
This page lists the Compute metrics collected by the GCP app.
In the table below, the metric type prefixes are omitted. For example, the full name of the dropped_bytes_count
metric, of type firewall
, is compute.googleapis.com/firewall/dropped_bytes_count
.
Firewall¶
Metric type prefix: compute.googleapis.com/firewall
Metric |
Description |
---|---|
|
Count of incoming bytes dropped by the firewall. |
|
Count of incoming packets dropped by the firewall. |
Guest¶
Metric type prefix: compute.googleapis.com/guest
Metric |
Description |
---|---|
|
The average number of runnable tasks in the run-queue. For Container-Optimized OS, or Ubuntu running GKE. |
|
CPU usage, in seconds. For Container-Optimized OS, or Ubuntu running GKE. |
|
Number of bytes used on disk for file systems. For Container-Optimized OS, or Ubuntu running GKE. |
|
The cumulative time spent on the I/O operations that are in progress; that is, the actual time in queue and when disks were busy. Requests issued in parallel are counted as a single one. For Container-Optimized OS, or Ubuntu running GKE. |
|
Merged disk operations count. Disk operations which are adjacent to each other may be merged by the kernel for efficiency. For Container-Optimized OS, or Ubuntu running GKE. |
|
Bytes transferred in disk operations. For Container-Optimized OS, or Ubuntu running GKE. |
|
Disk operations count. For Container-Optimized OS, or Ubuntu running GKE. |
|
Amount of time spent on the disk operations, by direction. This metric only includes time spent on completed operations. For Container-Optimized OS, or Ubuntu running GKE. |
|
The queue length on the disk averaged over the last 60 seconds. For Container-Optimized OS, or Ubuntu running GKE. |
|
The cumulative weighted IO time spent on the disk. For Container-Optimized OS, or Ubuntu running GKE. |
|
Anonymous memory usage, in Bytes. Summing values of all states yields the total anonymous memory used. For Container-Optimized OS, or Ubuntu running GKE. |
|
Memory usage by each memory state, in Bytes. Summing values of all states yields the total memory on the machine. For Container-Optimized OS, or Ubuntu running GKE. |
|
Dirty pages usage, in Bytes. For Container-Optimized OS, or Ubuntu running GKE. |
|
Page cache memory usage, in Bytes. Summing values of all states yields the total anonymous memory used. For Container-Optimized OS, or Ubuntu running GKE. |
|
Unevictable memory usage, in Bytes. For Container-Optimized OS, or Ubuntu running GKE. |
|
OS Features like GPU support, KTD kernel, third party modules as unknown modules. 1 if the feature is enabled and 0, if disabled. For Container-Optimized OS, or Ubuntu running GKE. |
|
Number of times a machine problem has happened. For Container-Optimized OS, or Ubuntu running GKE. |
|
Whether a problem is affecting the system or not. The problem is affecting the system when set to 1 and is not affecting the system when set to 0. For Container-Optimized OS, or Ubuntu running GKE. |
|
Number of seconds that the operating system has been running for. For Container-Optimized OS, or Ubuntu running GKE. |
Instance¶
Metric type prefix: compute.googleapis.com/instance
Metric |
Description |
---|---|
|
Number of vCPUs visible inside the guest. For many GCE machine types, the number of vCPUs visible inside the guest is equal to the |
|
Number of vCPUs reserved on the host of the instance. |
|
Wait time is the time a vCPU is ready to run, but unexpectedly not scheduled to run. The wait time returned here is the accumulated value for all vCPUs. The time interval for which the value was measured is returned by Monitoring in whole seconds as start_time and end_time. This metric is only available for VMs that belong to the e2 family or to overcommitted VMs on sole-tenant nodes. |
|
Delta vCPU usage for all vCPUs, in vCPU-seconds. To compute the per-vCPU utilization fraction, divide this value by (end-start)*N, where end and start define this value’s time interval and N is |
|
Fractional utilization of allocated CPU on this instance. Values are typically numbers between 0.0 and 1.0 (but some machine types allow bursting above 1.0). Charts display the values as a percentage between 0% and 100% (or more). This metric is reported by the hypervisor for the VM and can differ from |
|
Disk’s maximum per-second read throughput over a period of time specified by the user. The period must be one minute or longer. |
|
Disk’s maximum per-second read requests count over a period of time specified by the user. The period must be one minute or longer. |
|
Disk’s maximum per-second write throughput over a period of time specified by the user. The period must be one minute or longer. |
|
Disk’s maximum per-second write requests count over a period of time specified by the user. The period must be one minute or longer. |
|
Count of bytes read from disk. |
|
Count of disk read IO operations. |
|
Count of bytes written to disk. |
|
Count of disk write IO operations. |
|
The validation status of early boot integrity policy. |
|
The validation status of late boot integrity policy. |
|
Count of bytes received from the network. |
|
Count of packets received from the network. |
|
Count of bytes sent over the network. |
|
Count of packets sent over the network. |
|
Delta of how long the VM has been running, in seconds. Note: to get the total number of seconds since VM start, use compute.googleapis.com/instance/uptime_total. |
|
Elapsed time since the VM was started, in seconds. |
No prefix¶
These metrics do not have a metric type prefix.
Metric |
Description |
---|---|
|
The total amount of memory in the VM. This metric is only available for VMs that belong to the e2 family. |
|
Memory currently used in the VM. This metric is only available for VMs that belong to the e2 family. |
|
The amount of memory read into the guest from its own swap space. This metric is only available for VMs that belong to the e2 family. |
|
The amount of memory written from the guest to its own swap space. This metric is only available for VMs that belong to the e2 family. |
Instance group¶
Metric type prefix: compute.googleapis.com/instance_group
Metric |
Description |
---|---|
|
Estimated capacity that the instance group will have if predictive autoscaling is enabled. Currently available only for autoscaled instance groups and equal to the predicted number of serving VMs multiplied by utilization target. |
|
Estimated number of VMs that the instance group will have if predictive autoscaling is enabled. Currently available only for autoscaled instance groups. |
|
The sum of the estimated values of the scaling metric for all serving VMs if predictive autoscaling is enabled. Currently available only for autoscaled instance groups. |
|
The number of VMs in the instance group. |
Mirroring¶
Metric type prefix: compute.googleapis.com/mirroring
Metric |
Description |
---|---|
|
Count of dropped mirrored packets. |
|
Count of mirrored bytes. |
|
Count of mirrored packets. |
NAT¶
Metric type prefix: compute.googleapis.com/nat
Metric |
Description |
---|---|
|
Number of ports allocated to a VM by the NAT gateway. |
|
Count of connections closed over the NAT gateway. |
|
Count of received packets dropped by the NAT gateway. |
|
Count of sent packets dropped by the NAT gateway. |
|
Count of new connections created over the NAT gateway. |
|
Number of connections currently open on the NAT gateway. |
|
Maximum number of connections from a VM to a single internet endpoint (IP:port). |
|
Count of bytes received (Internet -> VM) via the NAT gateway. |
|
Count of packets received (Internet -> VM) via the NAT gateway. |
|
Count of bytes sent (VM -> Internet) over the NAT gateway. |
|
Count of packets sent (VM -> Internet) over the NAT gateway. |
Private Service Connect¶
Metric type prefix: compute.googleapis.com/private_service_connect
Metric |
Description |
---|---|
|
Number of Consumer Forwarding Rules connected to a PSC Attachment ID. |
|
IP usage of the monitored service attachment. |
Quota¶
Metric type prefix: compute.googleapis.com/quota
Metric |
Description |
---|---|
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/instances_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/instances_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/instances_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/internal_lb_forwarding_rules_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/internal_lb_forwarding_rules_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/internal_lb_forwarding_rules_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/internal_managed_forwarding_rules_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/internal_managed_forwarding_rules_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/internal_managed_forwarding_rules_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/internal_protocol_forwarding_rules_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/internal_protocol_forwarding_rules_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/internal_protocol_forwarding_rules_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/ip_aliases_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/ip_aliases_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/ip_aliases_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/psc_google_apis_forwarding_rules_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/psc_google_apis_forwarding_rules_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/psc_google_apis_forwarding_rules_per_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/psc_ilb_consumer_forwarding_rules_per_producer_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/psc_ilb_consumer_forwarding_rules_per_producer_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/psc_ilb_consumer_forwarding_rules_per_producer_vpc_network. |
|
Number of attempts to exceed the limit on quota metric compute.googleapis.com/subnet_ranges_per_vpc_network. |
|
Current limit on quota metric compute.googleapis.com/subnet_ranges_per_vpc_network. |
|
Current usage on quota metric compute.googleapis.com/subnet_ranges_per_vpc_network. |