Cloud-native API Gateway provides unified management, analysis, display, and notification of event data. You can use events to track resource changes and troubleshoot abnormal events with built-in guidance.
Event model
A Cloud-native API Gateway event has the following parameters.
|
Parameter |
Description |
|
Time |
The time the event occurred. |
|
Product Name |
Cloud-native API Gateway |
|
Event Name |
The name of the event. It includes an event code and an event description. |
|
Event Level |
The Event Hub in Cloud-native API Gateway classifies events into three levels based on their impact.
|
|
Region |
The instance's region. |
|
Resource |
The Alibaba Cloud Resource Name (ARN) of the affected resource. |
|
Contents |
The details of the event. |
|
Actions |
View the event details. |
Entry point
Log on to the API Gateway console.
-
In the left navigation pane, select event.
Event query
The Event Center supports querying events by various criteria, such as:
-
Event level
-
Event name
-
Keyword
-
Event time
Query by event level
Filter events by their severity level.
The event levels are Critical, Warning, and Information.
Query by event name
Filter events by their name.
The event list includes the Event time, Event name, and Event level columns.
Query by keyword
Filter events by keyword. For example, to find events for the gateway instance gw-ctbq4qum1hknl20trv40d, enter gw-ctbq4qum1hknl20trv40 in the search box.
You can find keywords in the Resource and Contents columns of the list.
Query by event time
Query events within a custom time range.
In the Cloud Native API Gateway Event Center, you can query events from the last 90 days. The maximum time range for a single query is three consecutive days.
View event details
In the Actions column, click Details to view an event's details.
Event
The following scenarios and operations generate event notifications:
The following table lists all Cloud-native API Gateway events and their recommended actions.
|
Event code |
Event name |
Event level |
Cloud Monitor event name |
Description |
|
APIG:ElasticScaleOut |
Elastic scale-out of a cloud-native API gateway |
Warning |
APIG:ElasticScaleOut:Failed: The cloud-native API gateway failed to scale out. |
This event indicates the status of an elastic scale-out operation. |
|
INFO |
APIG:ElasticScaleOut:Executing: The cloud-native API gateway is scaling out. |
|||
|
INFO |
APIG:ElasticScaleOut:Executed: The cloud-native API gateway successfully scaled out. |
|||
|
APIG:ElasticScaleIn |
Elastic scale-in of a cloud-native API gateway |
Warning |
APIG:ElasticScaleIn:Failed: The cloud-native API gateway failed to scale in. |
This event indicates the status of an elastic scale-in operation. |
|
INFO |
APIG:ElasticScaleIn:Executing: The cloud-native API gateway is scaling in. |
|||
|
INFO |
APIG:ElasticScaleIn:Executed: The cloud-native API gateway successfully scaled in. |
|||
|
APIG:ElasticOpen |
Enabling elastic scaling for a cloud-native API gateway |
Warning |
APIG:ElasticOpen:Failed: Failed to enable elastic scaling for the cloud-native API gateway. |
This event indicates the result of enabling elastic scaling. |
|
INFO |
APIG:ElasticOpen:Executed: Elastic scaling was successfully enabled for the cloud-native API gateway. |
|||
|
APIG:ElasticClose |
Disabling elastic scaling for a cloud-native API gateway |
Warning |
APIG:ElasticClose:Failed: Failed to disable elastic scaling for the cloud-native API gateway. |
This event indicates the result of disabling elastic scaling. |
|
INFO |
APIG:ElasticClose:Executed: Elastic scaling was successfully disabled for the cloud-native API gateway. |
|||
|
APIG:ElasticStrategyUpdate |
Updating the elastic scaling policy for a cloud-native API gateway |
Warning |
APIG:ElasticStrategyUpdate:Failed: Failed to update the elastic scaling policy for the cloud-native API gateway. |
When elastic scaling is enabled, this event indicates the result of updating the elastic scaling policy. |
|
INFO |
APIG:ElasticStrategyUpdate:Executed: The elastic scaling policy for the cloud-native API gateway was successfully updated. |