A company hosts an e-commerce platform across a fleet of Linux Compute Engine virtual machines. The operations team needs to set up an alert whenever system memory utilization exceeds 80%. When configuring a Cloud Monitoring alerting policy, they observe that memory metrics are missing from the available resource metrics list. Which action should you take to make system memory metrics available in Cloud Monitoring?
- Install and configure the Google Cloud Ops Agent on the Compute Engine virtual machines.Cevap
- BInstall the legacy Stackdriver Monitoring Agent on the VM instances to collect memory metrics.
- CGrant the Compute Engine Service Agent the Owner primitive role at the project level.
- DEnable the Cloud Monitoring API at the organization node level instead of the project level.
Cevap
Install and configure the Google Cloud Ops Agent on the Compute Engine virtual machines.
Compute Engine hypervisor metrics include CPU, network, and disk I/O, but do not inspect internal guest OS memory usage. Installing the unified Google Cloud Ops Agent allows the OS to report guest-level metrics like memory usage directly to Cloud Monitoring.
Adım Adım Çözüm
Anahtar Kavram
Compute Engine Guest OS Telemetry Collection via Google Cloud Ops Agent