youjie23 opened a new issue, #13492:
URL: https://github.com/apache/skywalking/issues/13492

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Description
   
   ## Problem Description
   Currently, the `AlarmMessage` (sent via webhook) does not include the 
`silence-period` defined in the alarm rule. This makes it difficult for 
external systems to accurately determine when an alarm has truly recovered, as 
they don't know the duration for which SkyWalking will suppress duplicate 
alerts.
   
   ## Proposed Solution
   Add a new field `silencePeriod` to the `AlarmMessage` data structure. The 
value of this field should be the `silence-period` (in minutes) configured in 
the triggered alarm rule.
   
   ## Expected Benefits
   - Downstream systems can calculate the expected end time of the silence 
period (`startTime` + `silencePeriod`).
   - This enables more efficient and accurate detection of alarm recovery: if 
no new `AlarmMessage` for the same rule and entity is received after the 
calculated silence period end time, it can be considered recovered.
   - Facilitates the automation of alarm recovery notifications or self-healing 
operations.
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request to implement this on your own?
   
   - [x] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to