YunfengGao commented on a change in pull request #6794:
URL: https://github.com/apache/skywalking/pull/6794#discussion_r619639063



##########
File path: oap-server/server-alarm-plugin/src/test/resources/alarm-settings.yml
##########
@@ -121,3 +121,16 @@ feishuHooks:
       secret: dummysecret
     - url: https://open.feishu.cn/open-apis/bot/v2/hook/dummy_token2
       secret:
+
+welinkHooks:
+  textTemplate: "Apache SkyWalking Alarm: \n %s."
+  webhooks:
+      # you may find your own client_id and client_secret in your app, below 
are dummy, need to change.
+    - client_id: "19950212172337588234567"
+      client_secret: d7bc50ee-1995-0212-870f-64673cb797fe

Review comment:
       ok, but i wonder why cannot use "d7bc50ee-1995-0212-870f-64673cb797fe" 
here since it's not real.

##########
File path: docs/en/setup/backend/backend-alarm.md
##########
@@ -257,6 +257,24 @@ feishuHooks:
       secret: dummysecret
 ```
 
+## WeLink Hook
+To do this you need to follow the [WeLink Webhooks 
guide](https://open.welink.huaweicloud.com/apiexplorer/#/apiexplorer?type=internal&method=POST&path=/welinkim/v1/im-service/chat/group-chat)
 and create new Webhooks.
+The alarm message will send through HTTP post by `application/json` content 
type if you configured WeLink Webhooks as following:
+```yml
+welinkHooks:
+  textTemplate: "Apache SkyWalking Alarm: \n %s."
+  webhooks:
+      # you may find your own client_id and client_secret in your app, below 
are dummy, need to change.
+    - client_id: "19950212172337588234567"

Review comment:
       done.




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