# Labels

> Name events by what their props say: a run with errors becomes Validation failed, drawn your way in the feed and counted as an event of its own.

Source: https://status.mettr.app/docs/labels

What an event means is often something only you know. A `run` event whose `errors` prop is above 0 is a failed validation; a page view of `/pricing` from Ukraine may be one you watch for. A label says so once: its name takes the event's place in the live feed, with your colour and icon, and it counts as an event of its own in panels, filters, alerts and the MCP server. Free applies a site's first three labels; [Pro and Business](/docs/plans-and-limits) apply every one.

## Make a label

Open the site's settings, **Labels**, and **Add label**. A label has:

- **A name**, such as `Validation failed`: up to 60 characters, one of its own on the site.
- **Its events**: a type (product event, page view, error or payment) and a name. Give the exact name (`run`), the start of names ending in `*` (`checkout.*` takes `checkout.started` and `checkout.done`), or nothing for any. Page views have no name.
- **When**: up to 5 conditions that must all hold, each a prop the event sends (or its page, source, country, device, browser, OS or user), an operator and a value:
  - **is**, **is not** and **contains** read text, as filters do; contains ignores case. An empty **is** means the prop is not there.
  - **above**, **at least**, **below** and **at most** read numbers: a number, or a text that is one (`"3"`). Anything else, such as `"3 errors"` or `true`, does not match.
- **Its look**: one of the feed's eight colours, made for both the light and the dark theme; an icon, or the event's own; and whether its whole row is tinted.

The dialog shows the events of the last 7 days the label would take, as feed rows, so you see it work before you save it. Only those who manage the site change its labels, and the team's audit log keeps each change.

An AI assistant connected through the [MCP server](/docs/mcp) can make and change labels too, if you ticked **Also change your dashboards** when you connected it: ask it to "label runs with errors above 0 as Validation failed". It tries the label on the last 7 days first, and deletes only the labels it made.

## The order matters

An event takes the first label it matches, top to bottom, as a page takes the first section its path starts with. Put the narrower label first:

1. `Validation failed`: `run` when `errors` is above 0.
2. `Validation passed`: any `run`.

The second then means the runs the first did not take. Move a label up or down in the list with its arrows.

## In the feed

A labelled event shows the label's name in place of its own (its own on hover), in the label's colour and icon, its row tinted if you asked. Click its badge to filter the whole dashboard to the label. The live stream, the feed's history, [TV mode](/docs/tv-mode) and the MCP server's `get_feed` all carry the label.

## As an event of its own

`label` is a field like any other, so a label is a virtual event:

- a tile that counts it: **Add panel** lists one for each label under **Labels**, opened in [the builder](/docs/dashboard#your-own-panels) to name and keep (a **Number** of events with the condition **Label** is `Validation failed`);
- **Bars by** or a **Top list** of **Label**, to see failed and passed runs side by side; with two labels or more, **Add panel** has **Events by label** ready;
- **Add filter** with **Label**, which narrows every panel;
- an [alert](/docs/alerts-and-reports) on a panel that counts it;
- `query_metrics` in the [MCP server](/docs/mcp), with the filter `label eq Validation failed` or grouped by `label`.

Labels are read from your events as they are asked for, never stored on them, so a new or changed label applies to past events too. Renaming a label renames it in the site's panels and alerts that count it.

## On the Free plan

Free applies three labels a site, the first three of the list: a fourth cannot be added, by hand or through MCP. A team that goes back to Free keeps all its labels and may change, move or delete them; only the first three apply, the rest marked **Not applied**, until it is on Pro again. Move the ones that matter most to the top.
