zhyyu commented on issue #7000:
URL: https://github.com/apache/skywalking/issues/7000#issuecomment-847478291


   Ok, I think it's a bug; The default alarm-settings.yml
   
   ```
   service_resp_time_rule:
       metrics-name: service_resp_time
       op: ">"
       threshold: 1000
       period: 10
       count: 3
       silence-period: 5
       message: Response time of service {name} is more than 1000ms in 3 
minutes of last 10 minutes.
   ```
   
   if 1, 2, 3 minutes metrics match the threshold, it will not triggered. It 
hava to wait 3 more minutes to wait for triggering because of 'Counter' compare 
'countThreshold' twice in the source code. So the default rule message is not 
accurate.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to