Consolidating Reporting in Google Cloud Platform | Stackdriver Monitoring Dashboard

Monitor Resources in Multiple Projects | Google Cloud Platform

Question

You need to monitor resources that are distributed over different projects in Google Cloud Platform.

You want to consolidate reporting under the same Stackdriver Monitoring dashboard.

What should you do?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D.

The best approach for monitoring resources that are distributed over different projects in Google Cloud Platform and consolidating reporting under the same Stackdriver Monitoring dashboard would be option C: Configure a single Stackdriver account, and link all projects to the same account.

Option A, using Shared VPC to connect all projects, could work for consolidating resources, but it doesn't necessarily provide a solution for consolidating monitoring and reporting in a single Stackdriver Monitoring dashboard.

Option B, creating a separate Stackdriver account for each project and granting Stackdriver Account Editor access to all other projects, would result in separate monitoring dashboards for each project, which does not achieve the goal of consolidating monitoring and reporting in a single Stackdriver Monitoring dashboard.

Option D, creating a Group in Stackdriver and adding project names as criteria for that group, could potentially work for grouping resources and monitoring them, but it still doesn't consolidate reporting under the same Stackdriver Monitoring dashboard.

Therefore, option C is the best approach to achieve the goal of monitoring resources that are distributed over different projects in Google Cloud Platform and consolidating reporting under the same Stackdriver Monitoring dashboard. This involves configuring a single Stackdriver account and linking all projects to the same account.

To link multiple projects to the same Stackdriver account, you can follow these steps:

  1. Open the Stackdriver Monitoring page in the Google Cloud Console.
  2. Click on the three horizontal lines in the top-left corner of the page to open the navigation menu.
  3. Under "Monitoring," click on "Dashboards."
  4. Click on the "Create Dashboard" button.
  5. In the "Add Chart" section, click on "Select resource type" and choose the type of resource you want to monitor.
  6. In the "Select resource" section, choose the projects you want to monitor from the dropdown menu.
  7. Repeat steps 5 and 6 to add more charts and resources as needed.

By linking all projects to the same Stackdriver account, you can create a single dashboard to monitor and report on all resources across the multiple projects.