wu-sheng commented on code in PR #13539: URL: https://github.com/apache/skywalking/pull/13539#discussion_r2508410251
########## docs/en/setup/backend/backend-alarm.md: ########## @@ -39,6 +39,9 @@ The metrics names in the expression could be found in the [list of all potential If the hook name is not specified, the global hook will be used. - **Silence period**. After the alarm is triggered at Time-N (TN), there will be silence during the **TN -> TN + period**. By default, it works in the same manner as **period**. The same Alarm (having the same ID in the same metrics name) may only be triggered once within a period. +- **Recovery observation period**. Defines the number of consecutive periods that the alarm condition must remain false before the alarm is considered recovered. When the alarm condition becomes false, the system enters an observation period. If the condition remains false for the specified number of periods, a recovery notification is sent. If the condition becomes true again during the observation period, the alarm returns to the FIRING state. +The default value is 0, which means immediate recovery notification when the condition becomes false. Review Comment: Please the make the codes to support recovery period as -1 as no recovery rules. And support no `recovery-text-template` in hooks as no need to send recovery notifications. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
