-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
|
Why period 1? That seems not working. You at least need 2 periods to make the last period in the window. |
Beta Was this translation helpful? Give feedback.
-
|
We carefully read the tips you gave, and tried to set the statistical period to 2, 5, and 10 respectively, but none of them achieved the desired effect. Whenever the current statistical period ends, a new alarm will be generated immediately. We checked the data stored in the sw_metrics-cpm index and found that the smallest unit of storage is per minute. At the same time, we made some verifications for this situation. We refreshed every 20 seconds within one minute and found that the last minute The cpm data is not consistent, including calling the API. Therefore, we guess that when the alarm rule is calculated, it will be calculated in real-world units of every minute. In the last minute, the wrong value will be calculated because the data has not been counted temporarily. |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the alarm rule, we have a new question and would like to seek your help. We have configured an alarm rule for service_sla, set silence-period=0, and the actual index value has always been greater than the configured threshold. However, the sending frequency of the alarm information is not fixed every 1 minute, it will be sent every 2 to 2 minutes periodically, can you give us some advice on how to deal with this situation? @wu-sheng Sincerely look forward to your reply and suggestions |
Beta Was this translation helpful? Give feedback.



Why period 1? That seems not working. You at least need 2 periods to make the last period in the window.