You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/05/25 02:16:57 UTC

[GitHub] [skywalking] zhyyu edited a comment on issue #7000: The meaning of 'Counter' variable in RunningRule

zhyyu edited a comment 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 immediately. 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:
users@infra.apache.org