Monitoring & Alerting
This course shows you how to monitor your operations on GCP. It starts with monitoring dashboards. You'll learn what they are and how to create, list, view, and filter them. You'll also see how to create a custom dashboard right in the GCP console.
The course then moves on to monitoring and alerting, where you'll learn about SLI-based alerting policies and third-party integrations. You'll also learn about SLO monitoring and alerting, along with integrating GCP monitoring with products like Grafana. We’ll wrap things up by touching on SIEM tools that are used to analyze audit and flow logs.
This course contains a handful of demos that give you a practical look at how to apply these monitoring techniques on the GCP platform. If you have any feedback relating to this course, feel free to reach out to us at email@example.com.
- Create, list, view, and filter dashboards
- Configure notifications, including through third-party channels
- Learn about SLI- and SLO-based alerting and monitoring
- Integrate GCP operations monitoring with Grafana
- Analyze logs with SIEM tools
This course is intended for anyone who wishes to learn how to manage GCP Operations monitoring.
To get the most out of this course, you should already have some experience with Google Cloud Platform.
Hello and welcome to creating a monitoring dashboard. In this lesson, we are going to take a look at what dashboards are, how you use them, and how to create them.
Monitoring dashboards in GCP are used to view and analyze metrics data for your environment. Cloud monitoring offers both predefined dashboards and custom dashboards.
The predefined dashboards allow you to quickly get to monitoring your Google Cloud resources and services without needing to perform any setup or configuration – and they come in three flavors: Google Cloud Platform, Applications, and Amazon Web Services. The Google Cloud Platform dashboards are used for Google Cloud products. The Applications dashboards are used for third-party apps like Cassandra and nginx. And, as its name implies, the Amazon Web Services dashboards are used for AWS services.
I should mention that you cannot delete a predefined dashboard, nor can you modify which charts are displayed on a predefined dashboard.
Custom dashboards offer you the ability to choose which charts are displayed and how those charts are configured. If you wish to use a custom dashboard, you can create it through the Google Cloud Console or via the “Dashboard” endpoint in the Cloud Monitoring API.
There are several quotas, limits, and authorizations that you need to be aware of before creating charts and dashboards. For example, it’s important to note that there is a limit of 1000 dashboards per workspace – and each dashboard can include a maximum of 25 charts. Each chart can include a max of 300 lines.
To create a dashboard - or to add charts to an existing dashboard - through the Cloud Console, your Cloud IAM role name for the Google Cloud project you are working in must be either Monitoring Editor, Monitoring Admin, or Project Owner.
If you prefer to use the Cloud Monitoring API to create your dashboard or to add charts, your Cloud IAM role ID for the project you are working in must be, at a minimum, roles/monitoring.dahboardEditor. This role provides the minimum permissions needed to create a dashboard or to add charts to a dashboard. Other role IDs that will allow you to create dashboards and to add charts are role/monitoring.editor, role/monitoring.admin, and role/owner.
In the next lesson, I’m going to show you how to list, view, and filter dashboards. However, before doing so, I do want to point out that the performance of any given chart is going to be tied to the number of time series that you intend to display. The number of time series are dependent, at least in part, on the structure of the metric type and monitored-resource type that are associated with the time series.
If you run into performance issues when displaying your metrics data, there are several steps you can take to improve the performance of your chart. You can filter your chart to remove unnecessary information, or you can combine multiple time series to collapse related information together. Another step you can take is to use outlier mode to focus on unusual data.
Join me in the next lesson, where I’ll show you how to list, view, and filter dashboards.
Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.
In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.
In his spare time, Tom enjoys camping, fishing, and playing poker.