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.
You can modify these custom dashboards to suit your needs.
This page provides information on installing and viewing these dashboards.
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:
Tutorial: versioning your dashboards
If you are interested learning how to to version-control your Cloud Monitoring dashboards by using the Cloud Monitoring API, then see the tutorial Managing Cloud Monitoring dashboards automatically using the Cloud Monitoring API.