---
schema_version: "1"
id: 67d273108c524d507c6d27460910478efc9ce97447f85ab945ef3833833360c8
title: Creating Alerts for Mule Apps Deployed to Hybrid Standalone
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/hybrid-standalone/creating-alerts-hybrid-apps.md
canonical_url: https://docs.mulesoft.com/hybrid-standalone/creating-alerts-hybrid-apps
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f41deae46170dc98f5475f9cde300e0849a0d5bb98b8cbba432533a19d901c3d
description: MuleSoft Documentation Site
latest: true
---
---
product: Hybrid Standalone Runtimes
---

# Creating Alerts for Mule Apps Deployed to Hybrid Standalone

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Configure proactive monitoring alerts for your Mule applications deployed to hybrid standalone
instances to ensure optimal performance, detect issues early, and maintain application reliability
across your distributed integration environment.

## Overview

Runtime Manager alerts for applications deployed to hybrid standalone are event alerts, such as
deployment success, deployment failure, and application undeployed.

Application performance monitoring based on metrics, such as response time, throughput, and resource
usage, isn’t available as Runtime Manager alerts. Use Anypoint Monitoring for those alerts. See
[Getting Alerts](https://docs.mulesoft.com/monitoring/alerts-hf).

On US Cloud and EU Cloud, Runtime Manager also provides threshold conditions for number of errors,
number of Mule messages, and response time.

> [!NOTE] On Canada Cloud, Japan Cloud, India Cloud, and Australia Cloud, Runtime Manager monitoring
> for hybrid standalone deployments isn’t available. Runtime Manager alerts on those control planes
> are limited to event alerts.
>
> For metric-based alerts, use Anypoint Monitoring. Basic and advanced Anypoint Monitoring alerts
> vary by control plane. See
> [Features Supported on Hyperforce](https://docs.mulesoft.com/hyperforce/#features-supported-on-hyperforce).
>
> Runtime Manager retains 30 days of alert history for audit and analysis.
>
> Alerts retrigger when conditions continuously exceed specified thresholds, ensuring persistent
> notification of ongoing issues.

You can also create custom alerts for applications deployed to CloudHub and CloudHub 2.0.

CloudHub triggers custom alerts when your application sends notifications to the Runtime Manager
console using Anypoint Connector for CloudHub (CloudHub Connector). See
[Custom Application Alerts and Notifications](https://docs.mulesoft.com/cloudhub/custom-application-alerts) for
information.

For applications deployed to CloudHub 2.0, custom alerts indicate whether an app deploys
successfully and whether it’s behaving as expected. See
[Configuring Application Alerts](https://docs.mulesoft.com/cloudhub-2/ch2-config-app-alerts) for more information.

> [!NOTE] For CloudHub 2.0, Alerts apply to applications only, not servers.

## Rate Limits on Alerts

Anypoint Platform enforces rate limits to control alert frequency and prevent excessive email
notifications. There’s no defined limit to the number of Runtime Manager alerts.

## Create an Alert

Configure alerts to monitor your Mule applications with customizable thresholds and notification
settings.

1.  In Runtime Manager, click **Alerts**.

    - If no alerts exist, you see the initial setup page:

      ![Alerts page with no alerts set up](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-no-alerts.png)

      Figure 1. The arrow shows the **Create your first alert** option.

    - For existing alert configurations, use the add button:

      ![Alerts page with blue plus (+) icon](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-create-additional-alert.png)

      Figure 2. The arrow shows the blue plus (**+**) icon on the **Alerts** page.

2.  Click the blue plus (**+**) icon to create a new alert.

    ![Create an Alert page](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-create-alert.png)

3.  Complete the required fields:

    - **Name**

      Unique and meaningful name for the alert

      The **Name** is limited to 256 characters.

    - **Severity level**

      Severity of the alert: **Critical**, **Warning**, or **Info**

    - **Source**

      The source of the alert: applications

    - **Application type**

      When the source is **Applications**, applications deploy to either CloudHub or local servers.
      Runtime Fabric application alerts are supported only using Anypoint Monitoring.

      You can’t create an alert that applies to both applications deployed to CloudHub and local
      servers. You must create separate alerts for each deployment type.

    - **Applications**

      The application to apply the alert to

    - **Condition**

      The condition that triggers the alert

      The available options depend on whether your alert is linked to an application running on
      CloudHub, or an application running locally. Some conditions require additional data. See
      [Alert Conditions](#alert-conditions).

    - **Subject**

      The subject of the alert email to send when the alert is triggered

      The subject can include variables. See [Alert Variables](#alert-variables).

    - **Message**

      The body text for the email to send when the alert is triggered. The message body can include
      variables. See [Alert Variables](#alert-variables).

    - **Recipients**

      The recipients of the alert email

      You can select up to 20 platform user IDs and enter up to 20 email addresses.

4.  Click **Create Alert**.

When an alert condition is triggered, Runtime Manager sends email notifications similar to this:

![Anypoint Platform Alert Notification email](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-alert-email.png)

## Alert Conditions

Configure specific conditions that trigger notifications based on your application monitoring
requirements. Alert conditions range from simple status notifications to complex performance
threshold monitoring.

### Conditions for Applications Deployed to CloudHub

For applications deployed to CloudHub, these alert conditions apply:

CPU usage - CloudHub

The CPU usage of the CloudHub workers that run the application is above or below the percentage for
the specified period of time.

![CPU usage - Cloudhub](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-apps-cpu.png)

To enable this condition, specify the percentage and duration that triggers the alert.

Custom application alert

The custom notification contains the specified text.

![Custom application alerts](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-custom.png)

To enable this condition, specify the notification text from the CloudHub Connector in your Mule
application. When the text in one of the notifications matches the specified string, an alert is
sent.

Exceeds event traffic threshold

The number of events of any type exceeds the threshold for the specified period of time.

![Exceeds event traffic threshold](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-exceeds-traffic.png)

To enable this condition, specify the capacity threshold and duration that triggers the alert. This
alert condition depends on the events you are tracking in your application. For information, see
[Business Events](https://docs.mulesoft.com/mule-runtime/latest/business-events).

Memory usage - CloudHub

Memory usage is a percentage that represents the JVM heap-used/JVM total memory. The alert triggers
if the memory usage is above or below the limit for the specified period of time.

![Memory usage - Cloudhub](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-apps-memory.png)

To enable this condition, specify the percentage and duration that triggers the alert.

These alerts for applications deployed to CloudHub require no additional parameters:

- Deployment failed

- Deployment success

- Secure data gateway connected

- Secure data gateway disconnected

- Worker not responding

### Conditions for Applications Deployed to Local Servers

These threshold conditions apply on US Cloud and EU Cloud. They aren’t available as Runtime Manager
alerts on Canada Cloud, Japan Cloud, India Cloud, and Australia Cloud. Use
[Anypoint Monitoring alerts](https://docs.mulesoft.com/monitoring/alerts-hf) for metric-based monitoring on those control
planes.

For applications deployed to local servers, these alert conditions apply:

Number of errors

The number of messaging errors reported by Mule runtime server in one minute reaches the specified
limit. The number of errors reported depends on error handling configuration in the app. For
information about Mule errors, see [Mule Errors](https://docs.mulesoft.com/mule-runtime/latest/mule-error-concept).

![Number of errors](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-number-errors.png)

To enable this condition, specify the number of errors per minute that triggers the alert.

Number of Mule messages

The number of Mule messages since the application started reaches the specified limit.

![Number of Mule messages](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-number-mule-messages.png)

To enable this condition, specify the number of Mule messages that triggers the alert.

Response time

The response time reaches the specified limit.

![Response time](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-conditions-response-time.png)

To enable this condition, specify the maximum response time that triggers the alert.

These event alerts for applications deployed to local servers require no additional parameters. They
are available on all control planes that support hybrid standalone:

- Application undeployed

- Deployment failure

- Deployment success

## Alert Variables

Customize alert email subjects and messages using dynamic variables that provide contextual
information about triggered events.

> [!NOTE] You can’t use the character combination `$&` in variable expressions.

<table><caption>Table 1. Application Alert Variables</caption> <colgroup><col> <col> <col></colgroup><thead><tr><th>Alert Category</th><th>Alert Type</th><th>Available Variables</th></tr></thead><tbody><tr><td colspan="2"><div><div><p>All Alerts</p></div></div></td><td><div><div><p><code>${resource}</code> <code>${severity}</code> <code>${state}</code></p></div></div></td></tr><tr><td rowspan="7"><div><div><p>CloudHub App Alerts</p></div></div></td><td><div><div><p><strong>CPU usage - CloudHub</strong></p></div></div></td><td rowspan="2"><div><div><p><code>${operator}</code> <code>${value}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Memory usage - CloudHub</strong></p></div></div></td></tr><tr><td><div><div><p><strong>Custom application notification</strong></p></div></div></td><td><div><div><p><code>${user}</code> <code>${priority}</code> <code>${transactionId}</code> <code>${message}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Deployment failed</strong></p></div></div></td><td><div><div><p><code>${user}</code> <code>${message}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Deployment success</strong></p></div></div></td><td rowspan="2"><div><div><p><code>${user}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Worker not responding</strong></p></div></div></td></tr><tr><td><div><div><p><strong>Exceeds event traffic threshold</strong></p></div></div></td><td><div><div><p><code>${period}</code> <code>${periodTimeUnit}</code></p></div></div></td></tr><tr><td rowspan="4"><div><div><p>Hybrid App Alerts</p></div></div></td><td><div><div><p>All Hybrid App Alerts</p></div></div></td><td><div><div><p><code>${name}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Number of Mule messages</strong></p></div></div></td><td rowspan="3"><div><div><p><code>${currentValue}</code> <code>${threshold}</code> <code>${location}</code></p></div></div></td></tr><tr><td><div><div><p><strong>Number of errors</strong></p></div></div></td></tr><tr><td><div><div><p><strong>Response time</strong></p></div></div></td></tr></tbody></table>

<table id="var-defs"><caption>Table 2. Variable Definitions</caption> <colgroup><col> <col></colgroup><thead><tr><th>Variable</th><th>Definition</th></tr></thead><tbody><tr><td><p><code>${currentValue}</code></p></td><td><p>Current value of metric that triggers the alert</p></td></tr><tr><td><p><code>${location}</code></p></td><td><p>Where to find more information about the alert</p></td></tr><tr><td><p><code>${message}</code></p></td><td><p>Message from the notification that trigger the alert</p></td></tr><tr><td><p><code>${name}</code></p></td><td><div><div><p>Name of the app that triggers the alert</p></div></div></td></tr><tr><td><p><code>${operator}</code></p></td><td><p>An operator, such as <code>&lt; &gt; =</code></p></td></tr><tr><td><p><code>${period}</code></p></td><td><p>Period of time over which to measure</p></td></tr><tr><td><p><code>${periodTimeUnit}</code></p></td><td><p>Period of time unit</p></td></tr><tr><td><p><code>${priority}</code></p></td><td><p>Priority of the notification that triggers the alert</p></td></tr><tr><td><p><code>${resource}</code></p></td><td><div><div><p>Name of the app that triggers the alert</p></div></div></td></tr><tr><td><p><code>${severity}</code></p></td><td><p>Severity of the alert</p></td></tr><tr><td><p><code>${state}</code></p></td><td><p>State of the resource that triggers the alert, such as Running or Disconnected</p></td></tr><tr><td><p><code>${threshold}</code></p></td><td><p>Count over the period of time that triggers the alert</p></td></tr><tr><td><p><code>${transactionId}</code></p></td><td><p>Transaction ID defined in the app or assigned by Mule</p></td></tr><tr><td><p><code>${user}</code></p></td><td><p>Anypoint Platform organization name</p></td></tr><tr><td><p><code>${value}</code></p></td><td><p>A value associated with an element</p></td></tr></tbody></table>

## Access and View Alerts

Runtime Manager provides multiple ways to access and monitor your application alert configurations
and history.

### Global Alert Management

Access all application alerts from the main alerts dashboard:

1.  In Runtime Manager, click **Alerts**:

    ![Alerts menu](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-view-all-alerts-tab.png)

    Figure 3. The arrow shows the **Alerts** menu.

From the alerts dashboard, you can:

- Create new application alerts

- Search alerts by name or configuration

- Filter alerts by source, condition, severity, or status

- Modify alert configurations by clicking alert names

- View alert status, settings, and trigger history in the details pane:

  ![Alert history in the details pane](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-history.png)

  Figure 4. The arrow shows the alert history in the details pane.

### Application-Specific Alert Views

View alerts associated with specific applications:

1.  In the **Applications** list, click the **Status** column for your target application.

2.  Click the **View Associated Alerts** link in the details pane:

    ![View Associated Alerts link in the details pane](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-view-details-pane.png)

    Figure 5. The arrow shows the **View Associated Alerts** link in the details pane.

### Alert History by Application

Review historical alert activity for specific applications:

1.  In the **Applications** list, click the name of your application.

2.  Click **Settings**.

3.  Click **Alerts History** :

    ![Alerts History tab on the Settings page](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-settings-alerts-history-tab.png)

    Figure 6. The arrow shows the **Alerts History** tab on the **Settings** page.

## Manage Alerts

Efficiently manage your application alert configurations through Runtime Manager’s alert management
interface.

### Alert Management Operations

From the **Alerts** page, select one or more alerts and use the management controls:

![Select toggle, alert state switch, Duplicate icon, and Delete icon](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-multi-select-manage.png)

Figure 7. The screenshot shows (**1**) the select toggle, (**2**) the alert state switch, (**3**)
the **Duplicate** icon, and (**4**) the **Delete** icon.

#### Enable and Disable Alerts

Control alert notification delivery for application monitoring:

- **Disable alerts**: Click the toggle switch to turn off notifications:

  ![Alert switch on](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-switch-on.png)

  Figure 8. The arrow shows the alert switch on.

  The **Active** column changes from **Yes** to **No**.

- **Enable alerts**: Click the toggle switch to turn on notifications:

  ![Alert switch off](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-switch-off.png)

  Figure 9. The arrow shows the alert switch off.

  The **Active** column changes from **No** to **Yes**.

> [!NOTE] Alert state changes affect all recipients of the alert notifications.

#### Duplicate Alerts

Create copies of existing alert configurations for similar applications:

1.  Select one or more alerts from the list.

2.  Click the **Duplicate** icon in the details pane:

    ![Duplicate alert icon](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-duplicate.png)

    Figure 10. The arrow shows the **Duplicate** alert icon.

Runtime Manager creates alert copies with `-copy` appended to the original alert names.

#### Delete Alerts

Remove unnecessary alert configurations:

1.  Select one or more alerts from the list.

2.  Click the **Delete** (trash can) icon in the details pane:

    ![Delete (trash can) icon](/mulesoft/current/en-us/hybrid-standalone/_images/alerts-delete.png)

    Figure 11. The arrow shows the **Delete** alert (trash can) icon.

3.  Click **OK**.

## See Also

- [Monitoring Hybrid Standalone Instances](https://docs.mulesoft.com/hybrid-standalone/monitoring-hybrid-standalone)

- [Creating Alerts for Servers, Server Groups, and Clusters](https://docs.mulesoft.com/hybrid-standalone/creating-alerts-hybrid)

- [Monitoring Dashboards for Server, Server Groups and Clusters](https://docs.mulesoft.com/hybrid-standalone/monitoring-dashboards-hybrid)

- [Getting Alerts](https://docs.mulesoft.com/monitoring/alerts-hf)

- [Features Supported on Hyperforce](https://docs.mulesoft.com/hyperforce/#features-supported-on-hyperforce)
