Create a folder and add labels

You’ll organize your alert into a folder and add labels that control how notifications get routed.

Folders organize alerts by team, service, or purpose, and control who can manage them.

In this milestone, you create a folder, then add rule-level labels.

  1. In the Add folder and labels section, click New folder to open the create dialog.

  2. Give your folder a name — Alerts works for this tutorial, or pick something meaningful to your team — then click Create. Grafana saves the folder and selects it for your rule.

  1. Click Add labels to open the labels editor. Labels are simple key-value tags you attach to the alert. Grafana uses them to decide who to notify.

  2. Add a label with the key severity and the value critical, then click Save.

    A server returning 5xx errors is significant, so this alert deserves the critical tag.

  3. Your alert now has a folder and a label. Next, you’ll tell Grafana how often to check the query and how long the problem must last before the alert fires.


page 7 of 12