Skywalking 钉钉告警

 

1、添加钉钉告警

 

 

2、修改配置文件 

/usr/local/apache-skywalking-apm-bin/config/ alarm-settings.yml

修改  alarm-settings.yml 告警文件

 

添加在  文档尾部(注意格式)


dingtalkHooks:
textTemplate: |-
{
"msgtype": "text",
"text": {
"content": "Apache SkyWalking Alarm: \n %s."
}
}
webhooks:
- url: https://oapi.dingtalk.com/robot/send?access_token=be3408b8119542861644b84c587   
secret: SECd5cab256e2e732e09f7cf6

webhooks:
# - http://127.0.0.1/notify/
# - http://127.0.0.1/go-wechat/
- http://127.0.0.1/alerting/notify/

 

这个就介入了,可以调低告警配置  然后让程序告警 测试

posted @ 2024-01-23 19:01  不会游泳的鱼丶  阅读(113)  评论(0编辑  收藏  举报