HelloHaiNG opened a new issue #4933:
URL: https://github.com/apache/skywalking/issues/4933


   application.yml如下配置:
   
![application](https://user-images.githubusercontent.com/33769220/84751287-f83c4c80-afee-11ea-8aea-5c305d17aecc.png)
   nacos配置中心配置如下:
   
![nacos-config](https://user-images.githubusercontent.com/33769220/84751382-1609b180-afef-11ea-815a-2153d8957b0d.png)
   nacos告警规则如下:
   rules:
     # Rule unique name, must be ended with `_rule`.
     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.
   #  Active endpoint related metrics alarm will cost more memory than service 
and service instance metrics alarm.
   #  Because the number of endpoint is much more than service and instance.
   #
   #  endpoint_avg_rule:
   #    metrics-name: endpoint_avg
   #    op: ">"
   #    threshold: 1000
   #    period: 10
   #    count: 2
   #    silence-period: 5
   #    message: Response time of endpoint {name} is more than 1000ms in 2 
minutes of last 10 minutes
   webhooks:
     - http://10.xx.xx.xx:8030/alarm
   经过如上配置之后,发现application.yml中nacos配置不生效(即触发了告警的情况之下,并没有走webhooks)


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to