---
title: "Monitor Google Compute Engine performance with Datadog"
description: "Monitor your Google Compute Engine performance to spot hiccups and bottlenecks, to enable rapid investigation of any issue, and to know when to scale up your VMs."
author: "Jean-Mathieu Saponaro"
date: 2016-09-22
tags: ["infrastructure monitoring", "google cloud", "google compute engine", "gcp gce", "compute"]
blog_type_id: the-monitor
locale: en
---

[Google Compute Engine](https://cloud.google.com/compute/) (GCE), part of the suite of services offered on the Google Cloud Platform (GCP), provides you on-demand and easily scalable virtual machines. Launched in 2013, it has become a serious alternative to [AWS EC2](https://www.datadoghq.com/blog/top-5-ways-to-improve-your-aws-ec2-performance.md) and has been adopted by major companies such as Spotify, which [decided](https://cloudplatform.googleblog.com/2016/02/Spotify-chooses-Google-Cloud-Platform-to-power-data-infrastructure.html) to move all its infrastructure to GCP in early 2016.

As the core of your cloud infrastructure, virtual machine instances need to be closely monitored in order to spot hiccups and bottlenecks, to enable rapid investigation of any issue, and to know when to scale up.

Datadog collects the Google Compute Engine performance metrics you need, and is an easy way to monitor your VM instances’ activity, health, and performance. Datadog provides highly targeted alerts, and can correlate what’s happening in GCE with metrics and events from the rest of your infrastructure.

![Google Compute Engine performance - default dashboard](https://web-assets.dd-static.net/42588/1776301744-monitor-google-compute-engine-performance-with-datadog-compute-engine-performance-dashboard.png)
*Google Compute Engine default dashboard in Datadog*

## The Compute Engine performance metrics you need

Google Compute Engine’s performance metrics are collected by the Datadog integration so you can properly monitor your GCE instances with:

- Status checks to see if your instances are down or running properly
- Metrics tracking the percentage of allocated CPU currently in use on the instance. Note that some instance types allow bursting above 100% usage.
- Throughput metrics to give you insights on:
  
  - I/O: number of read and write operations as well as volume of data read from or written to disk
  - Network: volume of data received and sent over the network
  - Saturation: number of throttled read and write operations as well as the corresponding amount of data being throttled

[In our docs](https://docs.datadoghq.com/integrations/google_cloud_platform.md), you will find a list of all the metrics collected from GCE, with a brief description of each.

![GCE CPU utilization](https://web-assets.dd-static.net/42588/1776301752-monitor-google-compute-engine-performance-with-datadog-compute-engine-performance-cpu.png)

## Runtime slicing with tags

Datadog automatically tags your GCE metrics with their associated instance type, host name, availability zone, and more. Tags are automatically formatted as key:value pairs, such as ``region:us-central1``, which allows you to aggregate your incoming metrics from different instances. For example, you can monitor the average CPU utilization by region and determine if additional machines need to be spun up to meet localized demand.

Any [network tags](https://cloud.google.com/vpc/docs/add-remove-network-tags) and [labels](https://cloud.google.com/compute/docs/labeling-resources) assigned to your Google Compute Engine instances will also appear as tags in Datadog.

You can use tags to slice and dice your metrics, and to filter and group your hosts for a comprehensive view of your infrastructure.

## And all the power of Datadog

You can of course use all the features Datadog offers, from advanced [alerting](https://www.datadoghq.com/blog/monitoring-101-alerting.md) mechanisms to [host maps](https://www.datadoghq.com/blog/host-maps-just-got-better.md) and [outlier detection](https://www.datadoghq.com/blog/introducing-outlier-detection-in-datadog.md), to properly monitor GCE and effectively investigate any performance issue.

![Compute Engine performance hostmap](https://web-assets.dd-static.net/42588/1776301756-monitor-google-compute-engine-performance-with-datadog-compute-engine-performance-hostmap.png)
*Host map showing GCE instances running by zone*

Host maps provide you a bird’s-eye view of all your Google Compute Engine instances so you can check their health at a glance. You can then filter and group them using any of your labels and tags.

## Start monitoring GCE in a few seconds

If you are already a Datadog user, you can start monitoring GCE as part of [our integration with Google Cloud Platform](https://app.datadoghq.com/account/settings#integrations/google_cloud_platform). Otherwise you can sign up for <!-- Sign-up trigger (a free trial) omitted --> and immediately start monitoring your Google Compute Engine instances alongside the rest of your infrastructure, applications, and services.