View historical alerts

Updated at:

After alerts are triggered, you can view the alerts by cloud service, application group, alert level, and alert contact group.

Procedure

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Alerts > Alert History.
  3. On the Alert History page, filter or search for the relevant alert records.
  4. In the Alert History list, find the relevant alert record and click Details in the Actions column.
    In the panel that appears, view the resource, alert rule, alert contact, and details of the alert.

Alert states and notification conditions

Use alert history to check whether an alert was triggered. If you cannot find a record, first check the query time range and filters. Records beyond the retention period have been automatically deleted.

After you find a record, check the Status column. An alert has one of four states: normal, alerting, insufficient data, or failed. For records marked Alerts or Back to normal, a notification is typically sent. Whether it is sent also depends on the following notification conditions.

The following conditions suppress notification delivery. This is expected behavior.

Notification condition

Description

Hit blacklist

An alert blacklist is configured for the instance.

Not in the effective period

The alert is outside the effective period configured in the alert rule.

Mute Period

The alert was triggered and the issue has not recovered within the mute period.

Notification Disabled

The alert rule is configured not to send recovery notifications when an alert is cleared.

If notifications are suppressed during the Mute Period and the alert comes from Container Service for Kubernetes (ACK), only one notification is sent during the same mute period for a notification channel even if multiple instances trigger alerts. This is expected behavior, not a missed notification.

View notification results

If the record is marked Alerts or Back to normal but the target contacts did not receive a notification, check the delivery result of each channel in alert history:

  1. On the Alert History page, click the alert contact group in the Notification Contacts column of the target alert.
  2. On the Notification Contacts tab, view the notification channels of all contacts in the group.
  3. Hover over the notification result icon to view the details returned by each channel.

The details show the delivery result and failure reason of each channel, including carrier-side failures. For issues such as insufficient quota or blocked phone numbers, troubleshoot each item in How do I troubleshoot the issue of not receiving alert notifications?.

Query limits and retention period

Both the console and the DescribeAlertLogList API operation can query records only within the last year. The interval between the start time and end time of a single query cannot exceed 15 days. If a console query exceeds either limit, an invalid parameter error is reported.

Alert history records are retained for one year and automatically deleted when the retention period expires.

To query records in batches, call the DescribeAlertLogList API operation and observe the following parameter requirements:

  • Both the start time and end time must be within the last year.

  • StartTime and EndTime must be both specified or both left empty, and the interval cannot exceed 15 days.

  • If you do not specify a time range, the alert history of the last 15 minutes is queried by default.

For request parameters and response fields, see DescribeAlertLogList.