GCP Monitoring Alert policy

Viewed 607

I am attempting to create an alert policy when a metric value drops from 1 to 0. I understand how to set a threshold of below value, but is there a mechanism/logic/condition I can use to set an alert to be triggered if it lowers in value of x amount of minutes?

Thank you

1 Answers

In the Cloud Console:

  1. Go to Monitoring
  2. Select Alerting.
  3. Click Create policy.
  4. Click Add Condition in the Create new alerting policy window.

Target:
Select Resource Type (VM Instance/Container/etc)
Metric (CPU Usage/Memory/etc)
Period (Time Interval)

Configuration:
Condition triggers if
Condition (is below in your case)
Threshold
For (select number of minutes)

You can also refer on this Specifying conditions for alerting policies document.

Other metrics/alerting/monitoring how to guides and reference

Related