> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibraniumlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CloudAMQP alert source

Use the **CloudAMQP** alert source to turn CloudAMQP alarms (queue depth, consumer count, and the rest) into Vibe OnCall alerts. You add a **webhook recipient** in CloudAMQP that points at a Vibe URL, and Vibe does the mapping: each alarm rule opens its own alert, repeats of the same alarm fold into it, and the alert resolves when CloudAMQP clears the alarm. There is no payload to write and nothing to configure on the CloudAMQP side beyond the URL.

> CloudAMQP **fires** an alarm → Vibe **opens** one alert per alarm rule and target → CloudAMQP **clears** it → Vibe **resolves** that alert.

**Where to find it:** **Settings → On-call → Routing** (or *your team* → **Routing**) → **Create** → **Alert source** → **CloudAMQP**. Paging, escalation, and Slack posting then run through the alert route the source is attached to, the same as any other source.

***

### Connect CloudAMQP to Vibe OnCall

1. **Create the source in Vibe.** Go to **Settings → On-call → Routing** → **Create** → **Alert source**, pick **CloudAMQP**, and attach it to the route that should handle these alerts. Save, then copy the source's **webhook URL**. Treat it like a password: anyone who has it can send alerts into Vibe OnCall.
2. **Add a webhook recipient in CloudAMQP.** In the CloudAMQP console, open your instance → **Alarms**, and add a recipient of type **Webhook** with the Vibe URL as its value.
3. **Point your alarms at the recipient.** Create or edit the alarms you want in Vibe (for example a **Queue** alarm on message count, or a **Consumer** alarm) and select the new recipient.
4. **Send a test.** Use CloudAMQP's test button on the recipient, or let an alarm fire, then check the **Alerts** list in Vibe.

![](https://mintcdn.com/vibranium-labs/SkUuSRbIK8p9lcIx/images/integrations/8.png?fit=max\&auto=format\&n=SkUuSRbIK8p9lcIx\&q=85\&s=95ab604367408e790126ab16d4420f76)

If you are moving from PagerDuty, you can keep the PagerDuty recipient on your alarms while you validate. Point a CloudAMQP webhook recipient at a source attached to a route that doesn't page anyone, confirm alerts open and resolve as expected, then switch the recipient over to your production source.

***

### What an Alert Looks Like

| Alert field | Comes from |
| - | - |
| Title | `<instance name>: <alarm type> alarm on <vhost>/<queue> (threshold <N>)`, for example `orders-broker: queue alarm on prod/orders (threshold 1000)`. Alarms that aren't about one queue drop the `on …` part, and alarms without a threshold drop the `(threshold …)` part. |
| Description | On queue alarms, the measured value and the alarm's threshold, for example `Value 1520 (threshold 1000)`. Alarms that don't send a value have no description. |
| Source | **CloudAMQP**. The instance hostname is in the `hostname` metadata. |
| Severity | **SEV4** for every alarm. CloudAMQP doesn't send a severity; to raise it, add a severity attribute on the route (see [Alert Routes: Enrichment and Notifications](https://docs.vibraniumlabs.ai/alerts/alert-routes-enrichment-and-notifications)). |
| Status | Open when the alarm fires, Resolved when CloudAMQP sends the clear. |

Vibe also stores these as **metadata** on the alert. All but `queues` can be used in notification-rule conditions and in the alert list filters; `queues` is shown on the alert for reference.

| Metadata key | What it holds |
| - | - |
| `alarmType` | The CloudAMQP alarm type: `queue`, `consumer`, `cpu`, … |
| `appName` | The CloudAMQP instance name |
| `hostname` | The instance hostname |
| `vhost` | The virtual host |
| `queue` | The queue name, on queue alarms |
| `messageType` | Which message count a queue alarm measures, for example `total` |
| `threshold` | The alarm rule's threshold, for example `1000`. Use it to tell tiered rules apart |
| `queues` | On consumer alarms, the queues that tripped it with their consumer counts |

For example, to page a team only for queue-depth alarms on the `prod` vhost, add a notification-rule condition on `alarmType` = `queue` and `vhost` = `prod`. To make the higher of two tiered rules more severe, add a severity attribute on the route with a condition on `threshold` = `1000`.

***

### How Repeats and Clears Are Grouped

CloudAMQP gives each alarm a key, and Vibe combines it with the instance hostname, the vhost, and the rule's threshold to form the alert's **dedup key**. Each alarm rule gets its own alert, so a clear only resolves the alert of the rule that cleared.

* **Queue alarms** get one alert per rule and queue. With tiered rules on one queue (for example over 0 and over 1000 messages), each opens its own alert, and the higher one clearing leaves the lower one open. While both fire, you see two alerts and responders are paged for each.
* **Consumer alarms** get one alert per rule and instance. CloudAMQP reports every affected queue in one notification, so a rule's queues share one alert; the queue names are in the `queues` metadata.
* **A clear** resolves the matching open alert. If the alarm fires again later, a new alert opens.

Two cases still share an alert, because CloudAMQP's notification carries nothing that tells them apart:

* Two rules that differ only in their time window.
* Two consumer rules with the same threshold that watch different queues.

If you change a rule's threshold while its alarm is active, the clear arrives with the new threshold and won't match the open alert. Resolve that alert by hand.

***

### Reminders

While an alarm stays active, CloudAMQP can re-send it on a reminder interval. Vibe folds each reminder into the open alert instead of opening a new one, and the timeline shows them together, for example **Alert was triggered again 2 times, 3:02 PM – 3:06 PM**.

* **No extra pages.** Responders are paged once, when the alert opens. A reminder pages again only if the route's notification rule has a count condition (for example, page when an alert repeats 5 times). If you use one and don't want reminders to count, turn reminders off on the Vibe recipient in CloudAMQP.
* **Values are from when the alert opened.** The title, description, and metadata keep the first notification's values; reminders don't update them. For the queue's current depth, check CloudAMQP.

***

### Other Details Worth Knowing

* Every CloudAMQP alarm type goes through the same mapping; there is nothing to set per type.
* If an alarm arrives without CloudAMQP's alarm key, Vibe groups it by instance, alarm type, and threshold instead.
* A notification that matches no open alert, such as a clear for an alert already resolved in Vibe, is ignored.
* Adding the Vibe webhook doesn't change an alarm's other recipients (email, Slack, PagerDuty, …). They keep notifying alongside Vibe, so you can run both while you validate.

***

### Related

* [Alert sources](https://docs.vibraniumlabs.ai/integrations/alert-sources) — every source Vibe OnCall accepts and what each one dedups on
* [Routing](https://docs.vibraniumlabs.ai/alerts/routing.md) — create the source and connect it to a route
* [Alert Routes: Enrichment and Notifications](https://docs.vibraniumlabs.ai/alerts/alert-routes-enrichment-and-notifications) — set severity, add count conditions, decide who gets paged
* [Alert Deduplication](https://docs.vibraniumlabs.ai/alerts/alert-deduplication.md) — how the dedup key behaves across sources


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.