Event Center centrally manages, stores, analyzes, and displays events generated by Cloud Native Gateway. You can view event details in Event Center and configure alarm notifications for events to promptly identify and handle issues.
Cloud Native Gateway currently supports the following events:
|
Elastic scaling | Scale-out | Triggered policy type, policy ID (name), and changed node IP address |
Elastic scaling | Scale-in | Triggered policy type, policy ID (name), and changed node IP address |
Elastic scaling | Binding an elastic scaling policy | Triggered policy type and policy ID (name) |
Elastic scaling | Unbinding an elastic scaling policy | Triggered policy type and policy ID (name) |
Instance modification | Modifying an access policy | Before change: blocklist/allowlist (changed IP address). After change: blocklist/allowlist (changed IP address). |
Instance maintenance | Gateway version upgrade | Gateway version upgrade, original version (version number), and target version (version number) |
Instance maintenance | Canceling a gateway version upgrade | Canceling a gateway version upgrade, original version (version number), and target version (version number) |
Viewing Event Details
2. In the left sidebar, click Cloud Native Gateway > Instance List, locate the target gateway, click its ID, and go to the instance information page.
3. After you go to the instance details page, select the Data Observation tab.
4. On the Observability page, go to the Event Center tab.
5. At the top of the page, set the time range (last 7 days, last 30 days, or a custom time range).
|
Event type | Elastic scaling is supported. |
Event Name | Summarized description of the event information, such as elastic scale-out, elastic scale-in, binding an elastic scaling policy, and unbinding an elastic scaling policy. |
Status | Whether an event is executed successfully. The statuses include succeeded and failed. |
Affected object | It is in the format of Group: group ID. |
Verifying Event Details | Event details, such as the event summary, involved objects, and event content. |
Trigger time. | Trigger time of an event, accurate to seconds. |
Configuring Alarm Rules for Events
1. On the Event Center page, click the Go to Event Bus to Configure Alarms button in the upper-left corner to go to the Event Set page.
2. On the Event Set page, click New Event Set and configure the event set information.
Event Set Name: Enter the name of the event set.
Event Set Description: Optional.
Tracking Method:
Delivery Configuration: You can select a custom or default delivery.
Tags: Enable and configure them as needed.
Event Storage: Enable the event storage switch and configure the event storage duration (1 day by default). The event storage feature is currently in public beta and is free for users. The subsequent pricing plan and billing policy will be announced separately.
3. After the event set is created, go to the event set details page, click the Basic Information Tab, click Manage Event Rules, go to the Event Rules page, click New, and configure the event pattern information.
Basic Information
Rule Name: Enter the name of an event rule. The rule name cannot be modified after it is created.
Event Example
Connector Type: Select the type for which you want to configure an alarm rule.
Event Instance Selection: Select the corresponding event instance.
Event Matching
Event Pattern: You can select the form mode or a custom model.
Connector Type: Select the type for which you want to configure an alarm rule.
4. Click Next and enter the event target information.
Trigger Mode: Select Message push.
Message Template: Two different push templates are provided based on the event type. You can select a template as needed. For alarm events, it is recommended to uniformly select the general notification template.
User Notification: Select the notification method and alarm recipient as required.
5. Click Complete to complete the alarm rule configuration.