Search code examples
google-cloud-platformgoogle-cloud-monitoringgoogle-cloud-metrics

need understanding on guest-metrics in google cloud


I am collecting metrics from Monitoring in google cloud through rest-api. In the api documentation from https://cloud.google.com/monitoring/api/metrics_gcp I am seeing lot of metrics beginning with guest like

guest/cpu/usage_time 
guest/disk/bytes_used 
guest/disk/io_time

I am seeing the same kind of metrics beginnging with instance like

instance/cpu/usage_time
instance/disk/max_read_bytes_count

I have searched the documentation, but I am not getting clear idea of what is the difference between guest and instance metrics. Which metrics is preferred? Can anyone give suggestion? Thanks


Solution

  • The guest/... is used to monitor the system health of COS instances.

    While for the instance/... it is targeted at regular GCE VM instances metrics not COS instance type.