Skip to content

Monitors

Start with Monitors

Create your first Appwrite usage monitor, get alerted when outbound bandwidth spikes, and check its first reading in the Console.

2 min read

Raw

In this quick start you create a monitor that alerts your team when your project sends more than 1 GB of data in an hour.

Open Monitors

Monitors tab with no monitors yet, and Create monitor and Read the docs buttons
Monitors tab with no monitors yet, and Create monitor and Read the docs buttons

Sign in to the Appwrite Console and open a project. Open Monitors under Observe in the sidebar and click Create monitor. If the dialog asks for a type, choose Usage.

Set the condition

Usage condition of outbound bandwidth greater than 1 GB counted over 1 hour, above a chart of the last 24 hours that crosses the threshold once
Usage condition of outbound bandwidth greater than 1 GB counted over 1 hour, above a chart of the last 24 hours that crosses the threshold once

  1. Under Condition, set the Metric to Outbound bandwidth and leave Applies to on The whole project.
  2. Set Alert when the value is to greater than, enter 1, and select GB. Leave Counted over set to 1 hour.

The Console fills in a starting threshold from your recent usage, so check that it reads 1. The chart under the condition plots your recent outbound bandwidth against the threshold and tells you how often the monitor would have fired.

Choose who to notify

Notify with Owners selected, Warning severity, and Name, cooldown expanded with the name Outbound bandwidth spike and a 1 hour cooldown
Notify with Owners selected, Warning severity, and Name, cooldown expanded with the name Outbound bandwidth spike and a 1 hour cooldown

  1. Under Notify, keep Owners selected, and leave Severity on Warning.
  2. Expand Name, cooldown and enter a name such as Outbound bandwidth spike. If you leave it blank, the Console names the monitor after its condition.
  3. Click Create.

Check the result

Outbound bandwidth spike monitor firing with a last value of 1.32 GB against a 1 GB threshold, and its open alert with an Acknowledge button
Outbound bandwidth spike monitor firing with a last value of 1.32 GB against a 1 GB threshold, and its open alert with an Acknowledge button

Until Appwrite evaluates the new monitor, the Monitors list shows it as Pending. Open it to see its Status and Last value. If the monitor fires, its alert appears on the Alerts tab.

To stop evaluating the monitor, turn off its switch in the Monitors list, or open it, go to Settings, switch Status to Paused, and click Update. Turn it back on to resume.

Next steps

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.