Cloud Monitoring provides a set of dashboard definitions available on
GitHub in the
as JSON files.
These JSON files provide dashboards with charts specific to a variety of Google Cloud services, for example Compute Engine, Cloud Storage, BigQuery, and others. The charts present a selection of metrics relevant to a specific service.
Unlike the built-in, predefined dashboards, which you can't edit or delete, these dashboards are considered custom dashboards, so you can modify them to better suit your needs.
Installing a dashboard
To install dashboards from the GitHub repository, do the following:
Clone or download the repository:
git clone https://github.com/GoogleCloudPlatform/monitoring-dashboard-samples.git
Identify the dashboards you want to install. For example, the directory
monitoring-dashboard-samples/dashboards/computecontains a file named
Install the desired dashboards. For example:
gcloud monitoring dashboards create --config-from-file=gce-vm-instance-monitoring.json
For more information about installing dashboards, see Using the API.
Viewing the installed dashboard
Each file in the repository creates a new custom dashboard. For example,
gce-vm-instance-monitoring.json creates a dashboard with the title
"GCE VM Instance Monitoring".
In the Cloud Console, select Monitoring or click the following button:
In the Monitoring navigation panel, click Dashboards.
Click on "GCE VM Instance Monitoring" in the list. If you have a lot of dashboards, you might want to filter for custom dashboards or for the name of the new dashboard. For information on filtering this list, see Viewing custom dashboards.
The following screenshot shows the part of the installed dashboard: