> ## Documentation index
> The full klickops handbook index is at https://klickops.io/en/llms.txt
> The HTML of this page is at https://klickops.io/en/docs/alerts
> Language: en

# Alerts and notifications

Find out when an app is in trouble, and choose where that message goes.

## Two halves

**Alerts** decide when klickops tells you something. You set them per project. **Channels** decide where the message goes. They belong to the organization, so several projects can share one channel.

An alert without a channel still shows on the project's **Alerts** page. Nobody gets a message, though. A channel carries more than alerts. It also reports deploys, restarts, failures and billing events from every project in the organization. The channel's minimum severity decides which of these arrive.

## Setting up a channel

1. Open **Notifications** in the organization.
2. Add a channel. You can pick Slack, Microsoft Teams, email or a generic webhook.
3. Send a test message. Do it right away, so you catch a wrong webhook URL before the first incident.

## Emails

The owners and admins of an organization get an email even without a channel. This happens in three cases:

- An app keeps crashing or can't start.
- A domain still has no certificate an hour after you added it.
- A backup fails.

You get at most one email per incident per day. Once a channel receives incidents, you can turn these emails off. You do that for the whole organization under **Notifications**.

You choose your own emails on your **Account** page under **Emails**. There is a switch each for getting-started tips, the monthly summary and incidents. The monthly summary shows each of your organizations' month: what ran, what it cost, what needs a look, and what's new in klickops. Sign-in codes, invitations, security notices, billing and support replies always arrive.

## Choosing thresholds

Some alerts are always on. They report:

- Containers that keep crashing.
- Containers that ran out of memory and were stopped.
- Pods that are not ready for 10 minutes.
- Failed release commands and scheduled jobs.
- Problems with PostgreSQL.

Three more alerts react to load that lasts. A short spike doesn't trigger them. You set a threshold for each of these three:

| Alert | Fires when |
| --- | --- |
| CPU | Usage stays above the threshold. klickops measures it against the app's CPU limit. If the app has no limit, as on paid plans, klickops measures against its CPU request. |
| Memory | Usage stays above the threshold. |
| Volume | A volume fills past the threshold. |

The volume threshold matters most. Too much CPU or memory load makes an app slow. A full disk stops it, and data is often lost with it.

> [!Careful]
> If you never act on alerts, you learn to ignore the channel. If an alert has fired every week for a month and nobody acts, change something. Raise the threshold or fix the app. A noisy channel is worse than none, because it hides the one message that matters.

## Settings reference

| Setting | Default | What it does |
| --- | --- | --- |
| Enabled | on | Decides whether this project sends alerts at all. |
| CPU threshold | 80% of the limit or request | If CPU load stays above this, you get a message. |
| Memory threshold | 80% of the limit | If memory use stays above this, you get a message. |
| Volume threshold | 85% of capacity | If a volume fills past this, you get a message. |
| Channel | every channel in the organization | An alert goes to every channel whose minimum severity it meets. You set up channels in the organization. |

## Limits and gotchas

- **Alerts are per project.** Every new project starts with alerts on and the default thresholds. You only need to adjust them.
- **Channels are per organization.** If you delete a channel, no project gets messages through it anymore.
- **Alerts don't check whether your site is reachable.** They look at your apps from the inside. To check whether visitors can reach your site, use an external service.
- **Nobody gets paged.** A message lands in a channel. It doesn't escalate and doesn't call anyone.

## Related

- [Volumes](/en/docs/volumes), because their alert matters most.
- [When something is wrong](/en/docs/troubleshooting) explains what to do when an alert fires.
