Get alerted when something changes

Alert policies watch your metrics for you, and fire the moment a condition is met. Let us alert on a traffic spike at the shop.

Video, 1:05. Operations and security.

Steps

  1. Overview (0:00)
  2. Find it in All products (0:11)
  3. The condition (0:25)
  4. Who to tell (0:34)
  5. Enabled (0:44)
  6. Fired (0:48)
  7. Try it yourself (1:00)

Transcript

Alert policies watch your metrics for you, and fire the moment a condition is met. Let us alert on a traffic spike at the shop.

Open All products, at the bottom of the left panel. It lists every Sunsword service.

Choose Observability, then Alerting in the menu on the left.

Create a policy called shop-traffic-spike. The condition: serverless request count above 10, for one minute.

Add notification channels to be told by email or webhook. An alert also fires without one, and shows in the console.

The policy is enabled, and starts evaluating straight away.

Within a couple of minutes, with traffic at 26 requests a minute, the alert fires. It stays open until traffic drops or you resolve it.