You can create a notification rule for a Platform for AI (PAI) workspace to track and monitor the status of Deep Learning Containers (DLC) jobs. This topic describes how to create a notification rule.
Limits
The following types of event targets are available only in the China (Ulanqab) region: Voice Calls, Text Message, and Email.
Procedure
Go to the Create Event Rule panel. For more information, see Workspace notification.
In the Create Event Rule panel, configure the parameters and click Submit. The following table describes the parameters.
Parameter
Description
Rule name
Follow the on-screen instructions to specify a rule name.
Event Type
Select DLC Jobs from the Event Source drop-down list. Values in the Event Type drop-down list:
Job Failure: The system sends an event notification if a job fails.
Job Complete (Succeeded or Failed): The system sends an event notification after a job is completed.
Automatic Fault Tolerance: The system sends an event notification if an exception or error occurs in a DLC job and automatic fault tolerance is performed.
Event Scope
The scope of the event. Valid values:
Created by Me: DLC jobs that you created
In the current workspace: all DLC jobs in the current workspace.
Event Target
DingTalk Notification
To use a DingTalk chatbot, you need to configure the Webhook and Additional Signature parameters. For more information, see the "Appendix: Obtain a webhook URL and a key" section in the Workspace notification topic. You can click Test Connectivity to check whether the configured content is valid.
Voice Calls
You can select an Event Target and specify a contact. If no contact is available, you can click Create to create a contact.
Text Message
You can select an Event Target and specify a contact. If no contact is available, you can click Create to create a contact.
Email
You can select an Event Target and specify a contact. If no contact is available, you can click Create to create a contact.
NoteYou can select Voice Calls, Text Message, and Email only in the China (Ulanqab) region.
After you create a notification rule, an event notification is sent to the configured event target when an event that meets the specified conditions is triggered.
References
After you receive a notification on DLC job status changes, you can obtain the training job details by viewing the job. For more information, see View training jobs.