EAS defines two event types in CloudMonitor: Service and ServiceInstance. The EAS event controller pushes these events to CloudMonitor in real time. You can then view them and configure rules for operations, auditing, or alerts in the CloudMonitor console or by using the API.
View EAS events
Use the console
To view EAS events in the CloudMonitor console, perform the following steps:
-
Log on to the Cloud Monitor console.
-
In the navigation pane, choose .
On the Event Monitoring tab, select PAI for Product, and then click Search to view EAS system events.
In the Actions column of the target event, click Details. The following is an example:
Use the API
You can also use the DescribeSystemEventAttribute API to view EAS events.
Create and enable alert rules
Use the console
Create an alert rule for a system event. Configure the following key parameters:
Product type: Select PAI.
Event Type: Select ServiceInstance or Service.
Event Level: Select one or more event levels based on your business requirements.
Event name: Select one or more event names to monitor. For descriptions, see the Appendix.
Keyword Filtering: Specify keywords to filter events based on their
contentfield.
Use the API
You can also use the API to create and enable alert rules. For details, see Create an alert rule for an event and Enable an event alert rule.
FAQ
Does a service instance refer to an inference service or a pod instance?
The Service event type represents service-level events. The ServiceInstance event type represents pod instance-level events. In this context, a service instance is a pod instance.
Appendix: Supported EAS events
EAS defines the following service-level and pod instance-level events.
Event type | Event name | Description | Event level |
ServiceInstance | EAS:ServiceInstance:Running | The pod instance is running. | INFO |
EAS:ServiceInstance:Pending | The pod instance is pending scheduling. | INFO | |
EAS:ServiceInstance:Completed | The pod instance has completed. | INFO | |
EAS:ServiceInstance:Terminating | The pod instance is being deleted. | INFO | |
EAS:ServiceInstance:Terminated | The pod instance has been deleted. | INFO | |
EAS:ServiceInstance:Unknown | The pod instance encountered an unknown exception. | WARN | |
EAS:ServiceInstance:Evicted | The pod instance is evicted. | WARN | |
EAS:ServiceInstance:ErrImagePull | An error occurred while pulling the image for the pod instance. | WARN | |
EAS:ServiceInstance:ImagePullBackOff | Failed to pull the image for the pod instance. | WARN | |
EAS:ServiceInstance:CrashLoopBackOff | The pod instance has crashed. | CRITICAL | |
EAS:ServiceInstance:Error | An internal error occurred in the pod instance. | CRITICAL | |
EAS:ServiceInstance:Failed | The pod instance failed to run. | CRITICAL | |
EAS:ServiceInstance:SpotToBeReleased | The spot instance is about to be released. | WARN | |
Service | EAS:Service:ReplicasChanged | The number of service replicas changed. | INFO |
EAS:Service:StatusChanged | The service status changed. | INFO | |
EAS:Service:Unavailable | The service is unavailable. | CRITICAL | |
EAS:Service:UpdateFailed | The service update failed. | CRITICAL |