Duansg commented on issue #3757:
URL: https://github.com/apache/hertzbeat/issues/3757#issuecomment-3302062256

   > Is my understanding correct?
   > 
   > If `repeat interval < group interval`, then the repeat interval has no 
effect. This is because when `sendGroupAlert` is called, the elapsed time (now 
- lastsendtime) will necessarily be greater than the repeat interval.
   > 
   > If `repeat interval > group interval`, then any new alarms that fire 
during the repeat_interval are discarded. A notification will only be sent for 
the alarms that are firing in the final group_interval cycle before the 
repeat_interval elapses.
   
   Yes, your understanding is correct. However, this configuration is generally 
not recommended. As stated in the Prometheus documentation: `"repeat_interval" 
should be a multiple of "group_interval"`.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to