Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Monitoring: Out-of-the-box dashboards #27864

Merged
merged 11 commits into from
Oct 14, 2020
21 changes: 21 additions & 0 deletions docs/sources/datasources/cloudmonitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,3 +335,24 @@ Only available in Grafana v7.1+.

Click on a time series in the panel to see a context menu with a link to View in Metrics Explorer in Google Cloud Console. Clicking that link opens the Metrics Explorer in the Google Cloud Console and runs the query from the Grafana panel there.
The link navigates the user first to the Google Account Chooser and after successfully selecting an account, the user is redirected to the Metrics Explorer. The provided link is valid for any account, but it only displays the query if your account has access to the GCP project specified in the query.

## Out-of-the-box dashboards

> Only available in Grafana v7.3+.

The updated Cloud Monitoring data source ships with pre-configured dashboards for five of the most popular GCP services:

1. BigQuery Query Monitoring
1. Cloud SQL Monitoring
1. GCE VM Instance Monitoring
1. GKE Cluster Monitoring
1. HTTP_S Load Balancer Monitoring

To import the pre-configured dashboards, go to the configuration page of a Cloud monitoring data source and click on the `Dashboards` tab. Click `Import` for the dashboard you would like to use.
The datasource of the newly created dashboard panels will be the one selected above.

The dashboards have a template variable which is populated with the projects accessible by the configured service account every time the dashboard is loaded. After the dashboard is loaded, you can select the project you prefer from the drop-down list.

To customize the dashboard, we recommend saving the dashboard under a different name, because otherwise the dashboard will be overwritten when a new version of the dashboard is released.

{{< docs-imagebox img="/img/docs/v73/cloud-monitoring-dashboard-import.png" caption="Cloud Monitoring dashboard import" >}}