This document provides links to different types of alerting policies. The linked content might help you create the alerting policies that you need to monitor your services.
If you use the Cloud Monitoring API, we recommend that you use the Google Cloud CLI or client libraries to create your alerting policies. If you use the Google Cloud CLI, you pass to it a JSON file that contains the policy definition. For more information, see Create alerting policies by using the API.
Each entry in the following list contains a brief description and two links.
If you use the Cloud Monitoring API and want more information,
then click on JSON
.
If you use the Google Cloud console, then click on console
:
- Compare value of a metric to a threshold: JSON, console
- Compare rate of change of metric's value to a threshold: JSON, console
- Create alert on metric absence: JSON, console
- Compare value of forecasted metric value to a threshold: JSON, console
- Monitor a dynamic group of resources: JSON, console
- Create alert for an uptime check: JSON, console
- Monitor count of VM processes: JSON, console
- Compare a ratio of metrics to a threshold: JSON, console
- Monitor quota metrics: JSON , console