All Products
Search
Document Center

Application Real-Time Monitoring Service:Send alert events to EventBridge

Last Updated:Mar 11, 2026

When alerts fire in a complex production environment, you often need to trigger automated actions -- such as automated remediation or ticketing system integration. Application Real-Time Monitoring Service (ARMS) Alert Management integrates with EventBridge to forward alert lifecycle events (triggered, claimed, commented on, and cleared) to a custom event bus. From there, EventBridge routes events to downstream consumers based on rules you define.

How it works

  1. ARMS publishes alert events to your EventBridge custom event bus through a notification integration.

  2. Each event follows the CloudEvents 1.0 specification and is compatible with the open-source Alertmanager webhook format.

  3. You can consume EventBridge events to connect to a third-party platform, allowing you to implement automated remediation or ticketing system integration.

Step 1: Create EventBridge resources

Before you configure the ARMS integration, set up an event bus and event source in EventBridge.

  1. Create a custom event bus. For details, see Manage custom event buses. After you create the event bus, copy the public endpoint from the Event Bus Overview page. You need this value in Step 2.

    Event Bus public endpoint

  2. Add a custom event source to the event bus. For details, see Manage custom event sources. Note the event source name. You also need this value in Step 2.

    Custom event sources

Step 2: Configure the EventBridge integration in ARMS

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Alert Management > Integrations.

  3. Click the Notification Integration tab, then click EventBridge.

  4. In the Add Integration dialog box, configure the following parameters, and then click Save.

    ParameterDescriptionExample
    NameA display name for this integration.EventBridge integration
    DescriptionOptional. A short description of the integration.--
    EndpointThe public endpoint of the event bus you created in Step 1.https://xxxx.eventbridge.cn-hangzhou.aliyuncs.com
    AccessKeyThe AccessKey ID of your Alibaba Cloud account. For details, see Obtain an AccessKey pair.LTAI5tXxx
    AccessKey SecretThe AccessKey secret of your Alibaba Cloud account. For details, see Obtain an AccessKey pair.xXxXxXx
    Message Bus NameThe name of the event bus you created in Step 1.armstest
    regionIdThe region ID where the event bus resides.cn-hangzhou
    Event Source NameThe name of the event source you created in Step 1.arms

Step 3: Configure a notification policy

Wire the EventBridge integration to a notification policy so that matching alerts are forwarded to EventBridge.

  1. In the ARMS console, go to your notification policy configuration.

  2. Create or edit a notification policy. In the Ticket System field, select the EventBridge integration you created in Step 2.

For details, see Create and manage a notification policy.

Verify the integration

After you complete the setup, confirm that events reach EventBridge:

  1. Log on to the EventBridge console.

  2. Open your custom event bus and check for incoming events. For details, see Query events.

  3. Click Event Detail in the Actions column to inspect the event payload.

Event types

ARMS sends one event per alert lifecycle action. Each event uses a distinct type value.

Event codeAlert action
aliyun:arms:alarm:createAlert triggered
aliyun:arms:alarm:claimAlert claimed
aliyun:arms:alarm:commentComment added to alert
aliyun:arms:alarm:closeAlert cleared

Event payload reference

All events follow the CloudEvents 1.0 specification. The data.data object is compatible with the open-source Alertmanager webhook format.

Top-level fields

FieldTypeDescription
idstringUnique event ID.
sourcestringEvent source. Always arms.
typestringEvent code from the table above.
specversionstringCloudEvents version. Always 1.0.
datacontenttypestringContent type. Always application/json.
subjectstringUnique URL of the alert in the ARMS console.
aliyuneventbusnamestringName of the target event bus.
aliyunregionidstringRegion ID of the event bus.
aliyunaccountidstringAlibaba Cloud account ID.
aliyunpublishtimestringTimestamp when the event was published (ISO 8601).
aliyunoriginalaccountidstringOriginal Alibaba Cloud account ID.
aliyunpublishaddrstringIP address of the event publisher.
dataobjectEvent-specific payload. See below.

data object fields

FieldTypePresent inDescription
ownerstringAll eventsAlert owner (the contact specified in the notification policy).
handlerstringclaim, comment, closeAlert handler.
operatorstringclaim, comment, closeUser who performed the action.
commentstringcomment onlyContent of the comment.
solutionstringclose onlySolution recorded when clearing the alert.
timestampnumberAll eventsUnix timestamp in milliseconds.
dataobjectAll eventsAlertmanager-compatible alert payload. See below.

data.data object fields (Alertmanager-compatible)

FieldTypeDescription
statusstringfiring or resolved.
levelstringAlert severity level (for example, P2).
dispatchRuleNamestringName of the dispatch rule (for example, O & M team).
startTimestringAlert start time.
endTimestringAlert end time. Present only when the alert is resolved.
externalURLstringURL to the alert detail page in the ARMS console.
receiverstringReceiver identifier.
alertsarrayArray of individual alert objects.
commonLabelsobjectLabels shared by all alerts in the group.
commonAnnotationsobjectAnnotations shared by all alerts in the group.
groupLabelsobjectLabels used for alert grouping.

alerts[] object fields

FieldTypeDescription
fingerprintstringUnique hash identifying the alert.
statusstringfiring or resolved.
startsAtstringAlert start time (ISO 8601).
endsAtstringAlert end time (ISO 8601).
labelsobjectKey-value labels including severity, regionId, alertname, and ARMS-specific metadata.
annotationsobjectKey-value annotations including message.

Fields specific to each event type

The Alertmanager-compatible data.data structure remains the same across all event types. The following fields in the data object vary by event type:

Event typeAdditional fields in data
Alert triggered (create)owner
Alert claimed (claim)owner, handler, operator
Comment added (comment)owner, handler, operator, comment
Alert cleared (close)owner, handler, operator, solution

Example: alert triggered event

{
    "datacontenttype": "application/json",
    "aliyunaccountid": "11xxxxxxxxxxx",
    "data": {
        "owner": "xx",  // The owner of the alert. Set the value to the contact that is specified in the notification policy.
        "data": {        // The content of the alert. The alert content is compatible with the event format of the open source Alertmanager. For more information, see the official documentation of Prometheus (https://prometheus.io/docs/alerting/latest/configuration/#webhook_config).
            "alerts": [
                {
                    "fingerprint": "9b115ab3762a47b51a8efcb516d4aa50",
                    "annotations": {
                        "message": "Manually triggered test alert"
                    },
                    "startsAt": "2022-06-07T09:22:01.645000000Z",
                    "endsAt": "2022-06-07T09:27:39.099000000Z",
                    "labels": {
                        "severity": "error",
                        "regionId": "cn-hangzhou",
                        "_aliyun_arms_denoise_code": "0",
                        "_aliyun_arms_integration_name": "Custom integration",
                        "alertname": "Manually triggered alert",
                        "_aliyun_arms_product_type": "CUSTOM",
                        "_aliyun_arms_userid": "11xxxxxxxxxxx",
                        "_aliyun_arms_integration_id": "616",
                        "_aliyun_arms_is_denoise_filtered": "false"
                    },
                    "status": "firing"
                }
            ],
            "commonLabels": {
                "severity": "error",
                "regionId": "cn-hangzhou",
                "_aliyun_arms_denoise_code": "0",
                "_aliyun_arms_integration_name": "Custom integration",
                "alertname": "Manually triggered alert",
                "_aliyun_arms_product_type": "CUSTOM",
                "_aliyun_arms_userid": "11xxxxxxxxxxx",
                "_aliyun_arms_integration_id": "616",
                "_aliyun_arms_is_denoise_filtered": "false"
            },
            "externalURL": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
            "groupLabels": {
                "alertname": "Manually triggered alert",
            },
            "receiver": "",
            "level": "P2",
            "dispatchRuleName": "O & M team",
            "startTime": "2022-06-07 17:22:01",
            "commonAnnotations": {
                "message": "Manually triggered test alert"
            },
            "status": "firing"
        },
        "timestamp": 1654593783951
    },
    "subject": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345", // The globally unique URL of the alert.
    "aliyunoriginalaccountid": "11xxxxxxxxxxx",
    "source": "arms",
    "type": "aliyun:arms:alarm:create",
    "aliyunpublishtime": "2022-06-07T09:23:04.003Z",
    "specversion": "1.0",
    "aliyuneventbusname": "armstest",
    "id": "d997f8c775d4d15b05f3346d5863fdc6******_create",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "xx.xx.xx.xx"
}

Example: alert claimed event

{
    "datacontenttype": "application/json",
    "aliyunaccountid": "11xxxxxxxxxxx",
    "data": {
        "owner": "xx", // The owner of the alert.
        "handler": "xx", // The handler of the alert.
        "data": { // The content of the alert. The alert content is compatible with the event format of the open source Alertmanager. For more information, see the official documentation of Prometheus (https://prometheus.io/docs/alerting/latest/configuration/#webhook_config).
            "alerts": [
                {
                    "fingerprint": "9b115ab3762a47b51a8efcb516d4aa50",
                    "annotations": {
                        "message": "Manually triggered test alert"
                    },
                    "startsAt": "2022-06-07T09:20:43.780000000Z",
                    "endsAt": "2022-06-07T09:25:43.780000000Z",
                    "labels": {
                        "severity": "error",
                        "regionId": "cn-hangzhou",
                        "_aliyun_arms_denoise_code": "0",
                        "_aliyun_arms_integration_name": "Custom integration",
                        "alertname": "Manually triggered alert",
                        "_aliyun_arms_product_type": "CUSTOM",
                        "_aliyun_arms_userid": "11xxxxxxxxxxx",
                        "_aliyun_arms_integration_id": "616",
                        "_aliyun_arms_is_denoise_filtered": "false"
                    },
                    "status": "firing"
                }
            ],
            "commonLabels": {
                "severity": "error",
                "regionId": "cn-hangzhou",
                "_aliyun_arms_denoise_code": "0",
                "_aliyun_arms_integration_name": "Custom integration",
                "alertname": "Manually triggered alert",
                "_aliyun_arms_product_type": "CUSTOM",
                "_aliyun_arms_userid": "11xxxxxxxxxxx",
                "_aliyun_arms_integration_id": "616",
                "_aliyun_arms_is_denoise_filtered": "false"
            },
            "externalURL": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
            "groupLabels": {
                "alertname": "Manually triggered alert",
            },
            "receiver": "",
            "level": "P2",
            "dispatchRuleName": "O & M team",
            "startTime": "2022-06-07 17:20:43",
            "commonAnnotations": {
                "message": "Manually triggered test alert"
            },
            "status": "firing"
        },
        "operator": "xx", // The operator of the alert.
        "timestamp": 1654593717195
    },
    "subject": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
    "aliyunoriginalaccountid": "11xxxxxxxxxxx",
    "source": "arms",
    "type": "aliyun:arms:alarm:claim",
    "aliyunpublishtime": "2022-06-07T09:21:57.362Z",
    "specversion": "1.0",
    "aliyuneventbusname": "armstest",
    "id": "59e174db-f843-473a-9d3e-df3421******",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "118.31.XX.XX"
}

Example: comment added to alert event

{
    "datacontenttype": "application/json",
    "aliyunaccountid": "11xxxxxxxxxxx",
    "data": {
        "owner": "xx", // The owner of the alert.
        "handler": "xx", // The handler of the alert.
        "data": {  // The content of the alert. The alert content is compatible with the event format of the open source Alertmanager. For more information, see the official documentation of Prometheus (https://prometheus.io/docs/alerting/latest/configuration/#webhook_config).
            "alerts": [
                {
                    "fingerprint": "9b115ab3762a47b51a8efcb516d4aa50",
                    "annotations": {
                        "message": "Manually triggered test alert"
                    },
                    "startsAt": "2022-06-07T09:20:44.000000000Z",
                    "endsAt": "2022-06-07T09:22:00.000000000Z",
                    "labels": {
                        "severity": "error",
                        "regionId": "cn-hangzhou",
                        "_aliyun_arms_denoise_code": "0",
                        "_aliyun_arms_integration_name": "Custom integration",
                        "alertname": "Manually triggered alert",
                        "_aliyun_arms_product_type": "CUSTOM",
                        "_aliyun_arms_userid": "11xxxxxxxxxxx",
                        "_aliyun_arms_integration_id": "616",
                        "_aliyun_arms_is_denoise_filtered": "false"
                    },
                    "status": "resolved"
                }
            ],
            "commonLabels": {
                "severity": "error",
                "regionId": "cn-hangzhou",
                "_aliyun_arms_denoise_code": "0",
                "_aliyun_arms_integration_name": "Custom integration",
                "alertname": "Manually triggered alert",
                "_aliyun_arms_product_type": "CUSTOM",
                "_aliyun_arms_userid": "11xxxxxxxxxxx",
                "_aliyun_arms_integration_id": "616",
                "_aliyun_arms_is_denoise_filtered": "false"
            },
            "externalURL": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
            "groupLabels": {
                "alertname": "Manually triggered alert",
            },
            "receiver": "",
            "level": "P2",
            "dispatchRuleName": "O & M team",
            "startTime": "2022-06-07 17:20:44",
            "endTime": "2022-06-07 17:22:00",
            "commonAnnotations": {
                "message": "Manually triggered test alert"
            },
            "status": "resolved"
        },
        "comment": "Solution: False positive", // The content of the comment.
        "operator": "xx", // The operator of the alert.
        "timestamp": 1654593720385
    },
    "subject": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
    "aliyunoriginalaccountid": "11xxxxxxxxxxx",
    "source": "arms",
    "type": "aliyun:arms:alarm:comment",
    "aliyunpublishtime": "2022-06-07T09:22:00.435Z",
    "specversion": "1.0",
    "aliyuneventbusname": "armstest",
    "id": "ef38ca1b-89cb-4c7c-9052-b73e15******",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "118.31.XX.XX"
}

Example: alert cleared event

{
    "datacontenttype": "application/json",
    "aliyunaccountid": "11xxxxxxxxxxx",
    "data": {
        "owner": "xx", // The owner of the alert.
        "handler": "xx", // The handler of the alert.
        "data": { // The content of the alert. The alert content is compatible with the event format of the open source Alertmanager. For more information, see the official documentation of Prometheus (https://prometheus.io/docs/alerting/latest/configuration/#webhook_config).
            "alerts": [
                {
                    "fingerprint": "9b115ab3762a47b51a8efcb516d4aa50",
                    "annotations": {
                        "message": "Manually triggered test alert"
                    },
                    "startsAt": "2022-06-07T09:20:44.000000000Z",
                    "endsAt": "2022-06-07T09:22:00.000000000Z",
                    "labels": {
                        "severity": "error",
                        "regionId": "cn-hangzhou",
                        "_aliyun_arms_denoise_code": "0",
                        "_aliyun_arms_integration_name": "Custom integration",
                        "alertname": "Manually triggered alert",
                        "_aliyun_arms_product_type": "CUSTOM",
                        "_aliyun_arms_userid": "11xxxxxxxxxxx",
                        "_aliyun_arms_integration_id": "616",
                        "_aliyun_arms_is_denoise_filtered": "false"
                    },
                    "status": "resolved"
                }
            ],
            "commonLabels": {
                "severity": "error",
                "regionId": "cn-hangzhou",
                "_aliyun_arms_denoise_code": "0",
                "_aliyun_arms_integration_name": "Custom integration",
                "alertname": "Manually triggered alert",
                "_aliyun_arms_product_type": "CUSTOM",
                "_aliyun_arms_userid": "11xxxxxxxxxxx",
                "_aliyun_arms_integration_id": "616",
                "_aliyun_arms_is_denoise_filtered": "false"
            },
            "externalURL": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
            "groupLabels": {
                "alertname": "Manually triggered alert",
            },
            "receiver": "",
            "level": "P2",
            "dispatchRuleName": "O&M team",
            "startTime": "2022-06-07 17:20:44",
            "endTime": "2022-06-07 17:22:00",
            "commonAnnotations": {
                "message": "Manually triggered test alert"
            },
            "status": "resolved"
        },
        "solution": "", // The solution of the alert.
        "operator": "xx", // The operator of the alert.
        "timestamp": 1654593720279
    },
    "subject": "https://arms.console.aliyun.com/#/alarm/alert/detail/12345",
    "aliyunoriginalaccountid": "11xxxxxxxxxxx",
    "source": "arms",
    "type": "aliyun:arms:alarm:close",
    "aliyunpublishtime": "2022-06-07T09:22:00.352Z",
    "specversion": "1.0",
    "aliyuneventbusname": "armstest",
    "id": "d997f8c775d4d15b05f3346d5863fdc6******_close",
    "aliyunregionid": "cn-hangzhou",
    "aliyunpublishaddr": "xx.xx.xx.xx"
}

What's next