May 20, 2021 WeChat Mini Program Development Document
There are currently two alarm configurations available for small program cloud development:
Developers can use this feature by logging into the WeChat Developer Tool in alert settings on the Settings page of the Cloud Development Console. Current ways to join the alert group include:
Ways to remove group members include:
Developers can configure alarm policies in the Custom Alerts page of the Cloud Development Console by logging into the WeChat Developer Tool. Up to 50 alarm policies can be configured per environment, and up to 10 alarm conditions can be added to each alert policy.
Information to be entered for each alert strategy includes:
Basic alarms include:
Basic alarms set alarm rules for the system default, developers temporarily unable to modify the relevant alarm rules, but can set the way the alarm can be received by the alarm channel configuration.Detailed alarm rules can refer to the alarm rules.
The system is currently available in two messaging channels for pushing basic alarms:
By default, the system opens these two alarm channels.
Developers can use this feature in the alarm settings in the Settings page of the Cloud Development Console by logging in to the WeChat developer tool.By default, there are two channels of the bulletin alarm and group alerts at the same time.If you need to adjust, click Settings to modify it.
Existing alarm rules include:
situation | describe | Alarm rule | Public alarm |
---|---|---|---|
Resource use reminder | storage | 80% package, 90% package | Small procedure all developers |
Resource use reminder | Storage download number | 80% package, 90% package | Small procedure all developers |
Resource use reminder | Storage upload adjustment | 80% package, 90% package | Small procedure all developers |
Resource use reminder | CDN backward traffic | 80% package, 90% package | Small procedure all developers |
Resource use reminder | CDN traffic | 80% package, 90% package | Small procedure all developers |
Resource usage reminders | The number of cloud function calls | 80% package volume, 90% package volume | Small program for all developers |
Resource usage reminders | Cloud function resource usage | 80% package volume, 90% package volume | Small program for all developers |
Resource usage reminders | Database capacity | 80% package volume, 90% package volume | Small program for all developers |
Resource usage reminders | The number of database reads | 80% package volume, 90% package volume | Small program for all developers |
Resource usage reminders | The number of database writes | 80% package volume, 90% package volume | Small program for all developers |
Billing-related reminders | Notification of the success of the new purchase shipment | After the successful delivery of the new purchase | The order-placer and the small program administrator |
Billing-related reminders | Notification of resource expiration | Push starts 7 days before the resource expires | Small program for all developers |
Billing-related reminders | Renewal success notification | After the renewal is successful | The order-placer and the small program administrator |
Billing-related reminders | The resource is notified of the suspension | After the resource is stopped | Small program for all developers |
Billing-related reminders | Resource release notification | After the resource is released | Small program for all developers |
Billing-related reminders | Package changes are notified of success | After successful upgrade or degradation | The order-placer and the small program administrator |
Billing-related reminders | Resource over-limit stop notification | After the resource exceeds the service limit | Small program for all developers |