# eb-monitoring

Part of **EB**

# EventBridge Monitoring and Alerting Console Guide

## Operations Overview

| Operation | Console Entry Path | Prerequisites | Description |
|----------|-------------------|---------------|-------------|
| Create Monitoring Dashboard | Console > EventBridge > Event Buses > [Target Event Bus] > Monitoring | EventBridge activated, custom event bus created, Hybrid Cloud Monitoring enabled, metric repository created | Create a custom enterprise monitoring dashboard with metrics and panels |
| Export Monitoring Data in Real Time | Console > EventBridge > Monitoring > Export monitoring data in real time | EventBridge activated, custom event bus or stream created, Hybrid Cloud Monitoring activated | Configure real-time export of EventBridge monitoring data via CloudMonitor Exporter |
| Configure Alert Rules (Event Stream) | Console > EventBridge > Event Streams > [Stream] > Monitoring | EventBridge activated, event stream created | Set up alert rules for event stream metrics with thresholds and notification channels |
| Configure Alert Rules (Event Bus) | Console > EventBridge > Event Buses > [Bus] > Monitoring | EventBridge activated, custom event bus created | Create alert rules for event bus metrics with mute periods, callbacks, and push channels |
| Create Hybrid Cloud Monitoring Dashboard | Console > EventBridge > Event Streams > [Stream] > Monitoring > View Dashboard | EventBridge activated, event stream created, Hybrid Cloud Monitoring activated, namespace created | Build a hybrid cloud dashboard by adding EventBridge metrics and configuring panels |

## Step-by-Step Instructions

### Create Monitoring Dashboard

**Navigation**: Console > EventBridge > Event Buses > [Target Event Bus] > Monitoring

**Prerequisites**:
- EventBridge is activated and authorized
- A custom event bus is created
- Hybrid Cloud Monitoring is enabled
- A metric repository is created

1. Log on to the EventBridge console and click **Event Buses** in the left navigation panel  
   - Element: **Event Buses** (menu) — left navigation panel

2. Select a region using the **region dropdown** and click the name of the target event bus  
   - Element: **region dropdown** (dropdown) — top menu bar

3. On the event bus page, click **Monitoring** in the left navigation pane  
   - Element: **Monitoring** (menu) — left navigation pane

4. Click the icon in the top-right corner and select **View Enterprise Monitoring Dashboard**  
   - Element: **View Enterprise Monitoring Dashboard** (link) — top-right corner

5. In the CloudMonitor console, click **Metrics Repository** in the left navigation pane  
   - Element: **Metrics Repository** (menu) — left navigation pane

6. Click the repository name, then click **Add Metric** on the Metric Repository Details page  
   - Element: **Add Metric** (button) — top-right corner

7. In the Metric Management Panel dialog box, select the **Cloud Product Metrics** tab and click **Add Account**  
   - Element: **Add Account** (button) — dialog box

8. In the Add Account dialog box, select **Current Account** and click **OK**  
   - Element: **OK** (button) — dialog box

9. Click the icon to the right of Current Account, select **EventBridge** product, and click **OK**  
   - Element: **OK** (button) — dialog box

10. Click **Add Metric**, select the EventBridge metric, set **Data Precision**, and click **OK**  
    - Element: **OK** (button) — dialog box

11. On the Dashboards page, click **View Dashboard**  
    - Element: **View Dashboard** (button) — top-left corner

12. Hover over the folder icon and click **Folder**  
    - Element: **Folder** (button) — left navigation pane

13. Enter a name for the new dashboard folder and click **Create**  
    - Element: **Create** (button) — top-right corner

14. Click the panel icon and then click **Add an empty panel**  
    - Element: **Add an empty panel** (button) — left navigation pane

15. On the Edit Panel page, set the monitoring metrics and chart type, then click **Apply**  
    - Element: **Apply** (button) — upper-right corner  
    - Notes: To add multiple charts, click the icon.

16. Click the save **icon** on the New dashboard page  
    - Element: **icon** (button) — center

17. Enter a name for the dashboard, select the folder, and click **Save**  
    - Element: **Save** (button) — bottom

18. On the Monitoring page, click the **Subscribe** switch for the target dashboard  
    - Element: **Subscribe** (switch) — column

19. Set the email address and **Running Time** in the Subscription dialog box  
    - Element: **Test Subscription** (button) — dialog box  
    - Notes: Gmail cannot display images correctly. Use a different mailbox.

20. Click **Test Subscription** and confirm success via email  
    - Element: **Test Subscription** (button) — dialog box

21. Click **OK** to confirm subscription  
    - Element: **OK** (button) — dialog box

22. Click **View** in the Operations column for the target dashboard  
    - Element: **View** (button) — Operations column

23. Click **Delete** in the Operations column for the target dashboard  
    - Element: **Delete** (button) — Operations column

24. Click **OK** in the confirmation dialog box  
    - Element: **OK** (button) — confirmation dialog

### Export Monitoring Data in Real Time

**Navigation**: Console > EventBridge > Monitoring > Export monitoring data in real time

**Prerequisites**:
- EventBridge is activated and the required permissions are granted
- A custom event bus or event stream is created
- Hybrid Cloud Monitoring is activated

1. Log on to the EventBridge console and navigate to the **Monitoring** section  
   - Element: **Monitoring** (menu) — left-side navigation pane

2. Click the icon in the upper-right corner of the Monitoring page and select **Export monitoring data in real time**  
   - Element: **Export monitoring data in real time** (link) — upper-right corner  
   - Notes: The icon is represented as an image with alt text '6QqnsJIbtT'

3. Follow on-screen instructions on the **Exporter** page in the CloudMonitor console  
   - Element: **Exporter** (tab) — CloudMonitor console  
   - Notes: Instructions vary by region: China region follows on-screen guidance; International region refers to a separate guide.

### Configure Alert Rules (Event Stream)

**Navigation**: Console > EventBridge > Event Streams > [Target Stream] > Monitoring

**Prerequisites**:
- EventBridge activated and required permissions granted
- An event stream has been created

1. Log in to the EventBridge console and click **Event stream** in the left-side navigation pane  
   - Element: **Event stream** (link) — left-side navigation pane

2. Select the target region from the top navigation bar and click the name of the target event stream  
   - Element: **name of the target event stream** (link) — top navigation bar

3. On the event stream's overview page, click **Monitoring** in the left-side navigation pane  
   - Element: **Monitoring** (link) — left-side navigation pane

4. Click the **Set Alert Rule** icon in the upper-right corner and then click **Set Alert Rule**  
   - Element: **Set Alert Rule** (button) — upper-right corner  
   - Notes: This redirects to the CloudMonitor console.

5. In the **New Alert Rule** panel, configure all parameters and click **Confirm**  
   - Element: **Confirm** (button) — New Alert Rule panel  
   - Notes: The form includes sections: Rule Description, Mute For, Effective Time, Tags, Contact Group, Alert Callback, Push Channel, and Missing Data Handling.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Resource Range | dropdown | No | All Resources | Selects the scope of resources to monitor. |
| Rule Description | text_input | Yes | — | Contains the rule name, metric type, metric, threshold, and alert level. |
| Metric Type | dropdown | Yes | Simple Metric, Combined Metrics, Expression, Dynamic Threshold | Specifies the type of metric to monitor. |
| Metric | dropdown | Yes | Incoming event count | The specific metric to track. |
| Threshold | text_input | Yes | — | The value that triggers the alert. |
| Alert Level | dropdown | Yes | Warn, Critical | The severity level of the alert. |
| Mute For | dropdown | No | 1 Minute, 5 Minutes, 15 Minutes, 30 Minutes, 60 Minutes, 3 Hours, 6 Hours, 12 Hours, 24 Hours | The interval before resending a notification for an unresolved alert. |
| Effective Time | text_input | No | — | The active period during which notifications are sent. |
| Tag Key | text_input | No | — | A key for tagging the alert rule. |
| Tag Value | text_input | No | — | A value for tagging the alert rule. |
| Contact Group | text_input | Yes | — | The group of contacts that receive alert notifications. |
| Alert Callback | text_input | No | — | A publicly accessible URL to which CloudMonitor sends alert information using POST requests. |
| Push Channel | checkbox | No | Auto Scaling, Log Service, Message Service (MNS), Function Compute | Enables integration with other services for automated responses to alerts. |
| Missing data handling | dropdown | No | Do nothing, Send alert for missing data, Considered normal | Specifies the action to take when monitoring data is unavailable. |

### Configure Alert Rules (Event Bus)

**Navigation**: Console > EventBridge > Event Buses > [Target Bus] > Monitoring

**Prerequisites**:
- EventBridge activated and required permissions granted
- Custom event bus created

1. Log on to the EventBridge console  
   - Element: **EventBridge console** (link) — top navigation bar

2. Click **Event Buses** in the left-side navigation pane, select a region, and click the target event bus name  
   - Element: **Event Buses** (menu) — left-side navigation pane

3. Click **Monitoring** in the left-side navigation pane  
   - Element: **Monitoring** (menu) — left-side navigation pane

4. Click the icon in the upper-right corner and select **Create Alert Rule**  
   - Element: **Create Alert Rule** (link) — upper-right corner  
   - Notes: Icon shown as image: 6QqnsJIbtT

5. Click **New Alert Rule** in the panel  
   - Element: **New Alert Rule** (button) — main content area

6. Configure all parameters in the form and click **Confirm**  
   - Element: **Confirm** (button) — bottom of the form panel  
   - Notes: Includes configuring metric type, threshold, alert level, mute period, effective time, tags, contact group, callback URL, push channels, and no-data handling method.

| Parameter | Type | Required | Options/Values | Description |
|-----------|------|----------|----------------|-------------|
| Resource range | dropdown | No | All Resources | Select to apply the alert rule to all your event buses. |
| Rule description | text_input | Yes | — | Enter a name for the alert rule and configure conditions such as metric type, metric, threshold, and alert level. |
| Mute For | dropdown | No | 5 Minutes, 15 Minutes, 30 Minutes, 60 Minutes, 3 Hours, 6 Hours, 12 Hours, 24 Hours | The period CloudMonitor waits before resending a notification for an unresolved alert. |
| Effective Time | text_input | No | — | The time window during which CloudMonitor sends alert notifications. |
| Tag key | text_input | No | — | The key of the tag associated with the alert rule. |
| Tag value | text_input | No | — | The value of the tag associated with the alert rule. |
| Alert contact group | text_input | Yes | — | The alert contact group that receives alert notifications. |
| Alert callback | text_input | No | — | A publicly accessible URL that receives alert information via HTTP POST requests. |
| Push channels | checkbox | No | Auto Scaling, Log Service, Simple Message Queue (formerly MNS), Function Compute | Forward alert information to other Alibaba Cloud services through selected channels. |
| No-data handling method | dropdown | No | Do not do anything, Send alert notifications, Treat as normal | Action taken when no metric data is available. |

### Create Hybrid Cloud Monitoring Dashboard

**Navigation**: Console > EventBridge > Event Streams > [Event Stream Name] > Monitoring > View Dashboard

**Prerequisites**:
- EventBridge activated and permissions granted
- Event stream created
- Hybrid Cloud Monitoring activated
- Namespace created

1. Log on to the EventBridge console  
   - Element: **EventBridge console** (link) — top navigation bar

2. Select your region and click the name of your event stream  
   - Element: **Event Stream** (link) — top navigation bar

3. Click **Monitoring** in the left-side navigation pane  
   - Element: **Monitoring** (link) — left-side navigation pane

4. Click the Settings icon and then click **View Dashboard**  
   - Element: **View Dashboard** (link) — upper-right corner  
   - Notes: The Settings icon is represented by a gear icon.

5. Navigate to the CloudMonitor console  
   - Element: **CloudMonitor console** (link) — redirected page

6. Click **Namespace** in the left-side navigation pane  
   - Element: **Namespace** (link) — left-side navigation pane

7. Click the name of your namespace and then click **Add metric**  
   - Element: **Add metric** (button) — Namespace Details page

8. Click **Add Account** and select **Current Account**  
   - Element: **Add Account** (button) — Add Account dialog box

9. Remove ECS and add **EventBridge** as a monitored service  
   - Element: **Add Product** (button) — Add Product dialog box  
   - Notes: ECS is added by default; remove it before adding EventBridge.

10. Select metrics for **EventBridge - EventStreaming** and set data precision, then click **Add metric**  
    - Element: **Add metric** (button) — Add metric panel

11. Click **Dashboards** in the left-side navigation pane  
    - Element: **Dashboards** (link) — left-side navigation pane

12. Hover over the folder icon and click **Folder**  
    - Element: **Folder** (link) — left-side navigation pane

13. Enter a name for the new dashboard folder and click **Create**  
    - Element: **Create** (button) — Create Folder dialog

14. Click the panel icon and then click **Add an empty panel**  
    - Element: **Add an empty panel** (link) — left-side navigation pane

15. On the **Query** tab, select the namespace and monitoring metrics  
    - Element: **Query** (tab) — Edit Panel page

16. Configure chart settings such as name, type, and visual style on the **Panel** tab  
    - Element: **Panel** (tab) — upper-right corner of Edit Panel page

17. Click **Apply** in the upper-right corner of the Edit Panel page  
    - Element: **Apply** (button) — upper-right corner

18. Click the **Save** icon on the New dashboard page  
    - Element: **Save** (icon) — upper-right corner

19. Enter a name for the dashboard, select the folder, and click **Save**  
    - Element: **Save** (button) — Save Dashboard dialog

20. Turn on the **Subscription** switch for the dashboard  
    - Element: **Subscription** (switch) — Subscription column

21. Set the email address and execution time in the Subscription dialog box  
    - Element: **Subscription** (dialog) — Subscription dialog  
    - Notes: Gmail may not display chart images correctly; use another email provider.

22. Click **Subscription Test** to send a test email  
    - Element: **Subscription Test** (button) — Subscription dialog

23. Click **OK** to confirm subscription  
    - Element: **OK** (button) — Subscription dialog

24. Click **View** to open the dashboard  
    - Element: **View** (link) — Operations column

25. Click **Delete** to remove the dashboard  
    - Element: **Delete** (link) — Operations column

## FAQ

Q: Where can I find the option to create an alert rule for my event bus?
A: Navigate to EventBridge Console > Event Buses > [Your Bus] > Monitoring, then click the icon in the upper-right corner and select "Create Alert Rule".

Q: Can I modify a dashboard after saving it?
A: Yes. After creation, you can click "View" to open the dashboard, then use editing controls in the CloudMonitor console to update panels, metrics, or layout.

Q: What happens if I leave the "Effective Time" field blank in an alert rule?
A: If left blank, the alert rule remains active 24/7. Specify a time range only if you want notifications restricted to certain hours.

Q: Why can't I see EventBridge metrics in my namespace?
A: Ensure you’ve added the "EventBridge" product in the metric repository or namespace setup. By default, only ECS may be included—remove it and explicitly add EventBridge.

Q: Do I need special permissions to export real-time monitoring data?
A: Yes. Your account must have permissions for both EventBridge and CloudMonitor Exporter features. Contact your administrator if the option is grayed out.

## Pricing & Billing

### Billing Model
Alert rules are billed per request.

### Price Reference
- Standard tier: 0.001 / (for event stream alerts)
- Standard tier: 0.002 /tokens input, 0.003 /tokens output (for event bus alerts)

### Free Tier
- 1000 free requests per month (event stream alerts)
- 1 million tokens free per month (event bus alerts)

### Billing Notes
- Minimum charge is 1 request (event stream) or 1 hour (event bus).
- Quota limit: 100 QPS for alert rule evaluation.