Overview

更新时间:
复制 MD 格式

The Microservices Engine (MSE) console provides the Event Center page on which you can manage, analyze, and view event data generated by Microservices Registry, Microservices Governance, and cloud-native gateways in a centralized manner. On the Event Center page, you can also configure settings to receive event notifications. For exception events, you can troubleshoot issues based on the instructions provided in the MSE console. This topic describes how to monitor event changes of all resources managed by MSE on the Event Center page.

Event model

The following table describes the parameters that are used to define an MSE event.

Parameter

Description

Resource type

The type of the MSE resource for which the event is generated. Valid values:

  • Nacos

  • ZooKeeper

  • Application

  • Cloud-native Gateway

Resource name

The description of the resource for which the event is generated. The information specified by this parameter varies with the value of Resource Type.

  • Nacos and ZooKeeper: The instance name and instance ID.

  • Application: The namespace and application name.

  • Cloud-native Gateway: The gateway name and instance ID.

Event type

The type of the event. Valid values:

  • Exception

  • Scaling

  • InstanceMaintenance

  • InstanceChange

  • LosslessNotification

  • HighAvailability

  • Security

Event name

The name of the event, which consists of an event code and an event description.

Event level

The severity of the event. Three event severities are provided based on the event impact.

  • INFO: Records a normal system operation or an expected user action that has no business impact.

  • WARN: Indicates a potential issue or a self-healed exception. This event may have a business impact and requires your attention.

  • CRITICAL: Indicates that the system has an exception that it cannot self-heal from, which disrupts business operations.

Time

The time at which the event is generated.

Event status

The status of the event. Valid values:

  • Completed

  • Executing

  • Succeeded

  • Failed

Initiator

The initiator of the event.

  • You can use the console or API operations to trigger events. If you trigger events by using an Alibaba Cloud account, root is displayed. If you trigger events as a RAM user, the ID of the RAM user is displayed. If you trigger events by using a role, the role name is displayed.

  • If an event is generated when the system performs automatic O&M or periodically runs system tasks or when O&M engineers initiate operations in the O&M system, SYSTEM is displayed.

  • Governance rules: Displays the rule type and rule ID, such as Rule Type (Rule ID). You can click the rule type to navigate to the governance rule page.

Event content

The content of the event.

Go to the Event Center page

  1. Log on to the MSE console.

  2. In the navigation pane on the left, choose Event Center.

Query events

On the Event Center page, you can query events from multiple dimensions. For example, you can query events based on the following items:

  • Resource type

  • Event type, event name, event severity, or event status

  • Event trigger time

Query events by resource type

You can select a specified resource type to filter events.

When you select Nacos, ZooKeeper, or Cloud-native Gateway, you can perform a fuzzy search by resource ID or resource name.

When you select Application, you can filter by Namespaces and perform a fuzzy search by application name.

Query events by event type, event name, event severity, or event status

Click the image.png icon next to Event type, event name, event level, or event status to filter the events.

The filter options for event type include HighAvailability, InstanceMaintenance, Scaling, Exception, Security, LosslessNotification, and InstanceChange. Select the options you need and click OK to apply the filter.

Query events by trigger time

You can select a time range to query the events that are generated within the specified time range.

Note

You can query events that are generated within up to the last 30 days on the Event Center page in the MSE console.

View the details of an event

Click Details in the Actions column of an event record to view its details. For some exception events, you can follow the suggestions provided on the Details page to take the next step and eliminate the risk.

Use the quick query feature

If Resource Type is set to Nacos, ZooKeeper, or Cloud-native Gateway, you can use the quick query feature to query the events that are generated for a resource. The following example shows how to use the quick query feature to query the events that are generated for a cloud-native gateway.

  1. Log on to the MSE Gateway Management console.

  2. In the navigation pane on the left, choose Cloud-native Gateway > Gateways.

  3. On the Gateways page, find the target gateway and choose More > Query Events in the Actions column.

References

  • For more information about all events supported by MSE and suggestions for handling each event, see Events.

  • MSE Event Center is integrated with CloudMonitor. You can click Go to CloudMonitor to configure alerts in the upper-right corner to open the CloudMonitor console and set up alerts for MSE events. For detailed instructions, see Create a system event alert rule.