Google Cloud Platform Monitoring


Google Cloud Platform - An Overview

Google Cloud is Google's in-built cloud platform that provides a series of cloud services including computing, data storage, data analytics, and machine learning. Google Cloud Platform provides infrastructure as a service, platform as a service, and serverless computing environments.

Google Cloud Platform Monitoring - What we do

Applications Manager's Google Cloud Platform monitoring tool will give you complete visibility into every component of your Google Cloud environment thereby allowing you to optimize the performance of business critical Google cloud services. With our root cause analysis capabilities, you can easily identify the root cause of performance issues and troubleshoot them quickly.

Our Google Cloud monitoring capabilities will allow you to:

  • Effortlessly monitor compute elements of your Google Cloud Platform.
  • Collect and monitor key metrics like CPU usage, disk I/O, memory utilization, etc.
  • View network status and understand performance trends.

Creating a new Google Cloud Platform monitor

Prerequisites for monitoring Google Cloud metrics: Click here

Using the REST API to add a new Google Cloud Platform monitor: Click here

Follow the steps given below to create a new Google Cloud Platform monitor:

  1. Click on New Monitor link. Select Google Cloud Platform under Cloud Apps category.
  2. Specify the Display Name of the Google cloud application.
  3. Enter the GCP Services you want to monitor.
  4. Specify the Project ID to be monitored.
  5. Specify OAuth Provider name.
  6. If you choose the Advanced Settings option, input the action you want to perform on deleted resources.
  7. Enable Stop discovery if you want to stop discovering resources under a particular service.
  8. Specify the Polling interval in minutes.
  9. If you are adding a new monitor from Admin server, select a Managed server.
  10. Choose the Monitor Group with which you want to associate the Google Cloud Platform monitor with, from the combo box. You can choose multiple groups to associate your monitor.
  11. Click Add Monitor(s). This discovers the Google Cloud and starts monitoring it.

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on Google Cloud Platform under the Cloud Apps section. Displayed is the Google Cloud bulk configuration view distributed into three tabs:

  • Availability tab gives the availability history for the past 24 hours or 30 days.
  • Performance tab gives the health status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configuration.

Cloud monitoring software like Applications Manager provide complete visibility into your Google Cloud environments altogether in a single window based on the following tabs:

Overview

INVENTORY

Parameter Description
Compute Engine Instances Total number of Compute Engine instances available.
Cloud Storage Buckets Total number of Storage buckets available.
Cloud Filestore Instances Total number of Filestore instances available.
Kubernetes Engine Clusters Total number of Kubernetes Engine clusters available.
App Engine Applications Total number of App Engine applications available.
Cloud Functions Total number of Cloud Functions available.
Cloud Pub/Sub Topics Total number of Cloud Pub/Sub topics available.
Cloud Dataflow Jobs Total number of Cloud Dataflow jobs available.
Bigtable Instances Total number of Bigtable instances available.
BigQuery Instances Total number of BigQuery instances available.
Cloud SQL Instances Total number of Cloud SQL instances available.

Quotas

Parameter Description
Metric name Name of the resource.
Limit Total quotas allocated.
Used Number of quotas used.
Available Number of quotas available.
 
Note: Quota metrics are mapped under performance polling. To change the polling interval, go to Settings → Performance polling → Optimize data collection and choose 'Google Cloud Platform' for 'Monitor Type' and 'Quotas' for the 'Metric name' and change the 'Default Polling Status'.

Compute

Kubernetes Engine

Parameter Description
Name Name of the Kubernetes cluster.
Location Name Location of the Kubernetes cluster.
Status Current status of the cluster.
Endpoint IP address of this cluster's master endpoint.
Current Node Count Total number of nodes currently present in the cluster.
User Pods Count Total number of pods currently present in the cluster.

By clicking over the cluster name, you will be redirected to the Google Kubernetes Engine monitoring dashboard.

Compute Engine

Parameter Description
Name Name of the Compute Engine Instance.
Instance ID ID of the Compute Engine Instance.
Status Status of the Compute Engine Instance.
Zone Zone in which the instance is available.
External IP Address External IP Address of the instance.
OS Platform Operating System of the Compute Engine Instance.

By clicking over the instance name, you will be redirected to the Google Compute Engine monitoring dashboard.

Storage

Cloud Storage

Parameter Description
Name The name of the bucket in the Google Cloud instance.
Location The location of the bucket.
Location Type The type of location that the bucket resides in.
Storage Class The storage type of the bucket.
Bucket Size The size of the bucket (in GB).
Number of Objects Total number of objects available in the bucket.

By clicking over the bucket name, you will be redirected to the Google Cloud Storage monitoring dashboard.

Cloud Filestore

Parameter Description
Name The name of the Filestore in the Google Cloud instance.
Location Name The name of the region where the instance is created.
Fileshare Name The name of the file share.
Instance Tire The service tier of the instance.
Total Storage Total storage capacity of the Filestore instance (in TB).
Storage Utilization The amount of storage utilized in the Filestore instance (in percentage).
Current IP Address Current IP address of the Filestore.

By clicking over the Filestore name, you will be redirected to the Google Cloud Filestore monitoring dashboard.

Troubleshooting

1. Authentication Failed. Request has invalid authentication credentials.

  • In AppManager, go to Settings → Discovery and Data Collection → Credential Settings → OAuth Provider and check if the provider used in the GCP monitor has Valid Access Token and Refresh Token.
  • Verify if the provider is created for the project being monitored.
  • Verify if the prerequisites are fulfilled.

2. Access denied. Cloud resource manager API disabled.

  • Go to GCP Console → APIs & Services → Library. Check if the Cloud Resource Manager API is enabled.
  • If you enabled this API recently, wait a few minutes for the action to propagate and retry.

3. Authentication failed while connecting to Stackdriver API.

  • Go to GCP Console → APIs & Services → Library and ensure Stackdriver API and Stackdriver Monitoring API are enabled.
  • Check if the arguments of the selected OAuth Provider are valid.

4. Unable to fetch instances (or) Error fetching instances.

  • Go to GCP console → APIs & Services → Library, and check if Compute Engine API is enabled.
Note: Make sure you have a working internet connection to add or fetch data from the cloud services. If your environment requires the use of a proxy server to excess external websites, you can configure the proxy settings under the Settings tab.