Google Cloud Platform Integration
The Google Cloud Platform integration is full-featured native integration offering agentless data ingestion of GCP metric data, as well as pre-defined dashboards and alert conditions for certain GCP services.
Metrics Configuration
Wavefront ingests Google Cloud Platform metrics using the v3 Stackdriver Monitoring APIs. For details on the metrics, see the metrics documentation.
Metrics originating from Google Cloud Platform are prefixed with gcp.
within Wavefront. Once the integration has
been set up, you can browse the available GCP metrics in the metrics browser.
Dashboards
Wavefront provides Google Cloud Platform dashboards for the following services:
- Google App Engine
- Google BigQuery
- Google Cloud Bigtable
- Google Cloud Billing
- Google Cloud Datastore
- Google Cloud Dataproc
- Google Cloud Functions
- Google Cloud Logging
- Google Cloud Pub/Sub
- Google Cloud Router
- Google Cloud Spanner
- Google Cloud Storage
- Google Cloud VPN
- Google Compute Engine
- Google Container Engine
- Google Firebase
- Google Kubernetes Engine
- Google ML Engine
Alerts
The Google Cloud Platform integration dashboard contains predefined alert conditions. These conditions are embedded as queries in the dashboard’s charts. For example:
To create the alert, click the Create Alert link under the query and configure the alert properties (notification targets, condition checking frequency, etc.).
Google Cloud Platform Integration
Add a GCP Integration
Adding a Google Cloud Platform (GCP) integration requires establishing a trust relationship between GCP and Tanzu Observability by Wavefront. Minimum required permissions you need depend on the services that you are using. See Google Cloud Platform Overview and Permissions for details.
The overall process involves the following:
- Creating a service account
- Giving that account viewer privileges
- Downloading a JSON private key
To register a Google Cloud Platform integration:
- In the Name text box, enter a meaningful name.
- In the JSON key text box, enter your JSON key to give read-only access to a GCP project. Note: The JSON key is securely stored and never exposed except for read-only access to the GCP APIs.
- (Optional) Select the categories to fetch.
-
(Optional) In the Metric Allow List text box, you can add metrics to an allow list by entering a regular expression.
For example, to monitor all the CPU metrics coming from the Compute Engine, enter
^gcp.compute.instance.cpu.*$
. - (Optional) In the Additional Metric Prefixes text box, enter a comma separated list of additional metrics prefixes. The metrics names that start with these prefixes will be imported in addition to what you have selected as categories.
- (Optional) Change the Service Refresh Rate. The default is
5
minutes. -
(Optional) Select to enable Detailed Histogram Metrics, Delta Counts, and Pricing & Billing information. Note: Enabling Detailed Histogram Metrics and Delta Counts will increase your ingestion rate and costs.
If you select to enable the Pricing & Billing information, you must also provide an API key.
- Click Register.
Metric Name | Description |
---|---|
gcp.appengine.flex.autoscaler.capacity | Utilization capacity multiplied by number of serving VMs. |
gcp.appengine.flex.autoscaler.connections.current | Number of current reading and writing connections per App Engine flexible environment instance. Intended to be used for autoscaling. |
gcp.appengine.flex.autoscaler.current_utilization | The sum of the utilization of a specified metric for all serving VMs. |
gcp.appengine.flex.autoscaler.server.request_count_count | Request counts for an App Engine flexible environment instance.Intended to be used for autoscaling. |
gcp.appengine.flex.autoscaler.server.request_count_rate | Request rate for an App Engine flexible environment instance.Intended to be used for autoscaling. |
gcp.appengine.flex.connections.current | Number of current active connections per App Engine flexible environment version. |
gcp.appengine.flex.cpu.reserved_cores | Total number of CPU cores allocated to an App Engine flexible environment version. |
gcp.appengine.flex.cpu.utilization | Fractional utilization of allocated CPU across an AppEngine flexible environment version. 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). |
gcp.appengine.flex.disk.read_bytes_count_count | Delta count of bytes read from disk across an App Engine flexible environment version. |
gcp.appengine.flex.disk.read_bytes_count_rate | Rate at which the bytes are read from disk across an App Engine flexible environment version. |
gcp.appengine.flex.disk.write_bytes_count_count | Delta count of bytes written from disk across an App Engine flexible environment version. |
gcp.appengine.flex.disk.write_bytes_count_rate | Rate at which the bytes are written from disk across an App Engine flexible environment version. |
gcp.appengine.flex.instance.connections.current | Number of current active connections per App Engine flexible environment instance. |
gcp.appengine.flex.instance.cpu.utilization | Fractional CPU utilization for all cores on a single AppEngine flexible instance. Values are typically numbers between 0.0 and 1.0 for a single core (but might exceed 1.0 in total). Charts display the values as a percentage between 0% and 100% (or more). |
gcp.appengine.flex.instance.network.received_bytes_count_count | Delta count of incoming network bytes in an App Engine flexible instance. |
gcp.appengine.flex.instance.network.received_bytes_count_rate | Rate of the incoming network bytes in an App Engine flexible instance. |
gcp.appengine.flex.instance.network.sent_bytes_count_count | Delta count of outgoing network bytes in an App Engine flexible instance. |
gcp.appengine.flex.instance.network.sent_bytes_count_rate | Rate of the outgoing network bytes in an App Engine flexible instance. |
gcp.appengine.flex.network.received_bytes_count_count | Delta count of incoming network bytes across all VMs in an App Engine flexible environment version. |
gcp.appengine.flex.network.received_bytes_count_rate | Rate of the incoming network bytes across all VMs in an App Engine flexible environment version. |
gcp.appengine.flex.network.sent_bytes_count_count | Delta count of outgoing network bytes across all VMs in an App Engine flexible environment version. |
gcp.appengine.flex.network.sent_bytes_count_rate | Rate of the outgoing network bytes across all VMs in an App Engine flexible environment version. |
gcp.appengine.system.instance_count | Number of instances that exist. |
gcp.appengine.system.memory.usage | Total memory used by running instances. |