xbkaishui opened a new issue #5460:
URL: https://github.com/apache/skywalking/issues/5460


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [√ ] Feature or performance improvement
   
   ___
   ### Requirement or improvement
   - Please describe your requirements or improvement suggestions.
   Currently I saw slack and normal webhooks were added in SW, I want to add 
feature to support wechat webhook. 
   Design: 
   for the wechat webhook, it is similar to slack webhook, the difference is 
the request body , for example
   ```
   curl 
'https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa'
 \
      -H 'Content-Type: application/json' \
      -d '
      {
           "msgtype": "text",
           "text": {
               "content": "hello world"
           }
      }'
   
   ```
   
   For the Alarm webhook function, I think we can make some kind of 
abstraction, make the request body as a template
   using template engine to render the template with the AlarmMessge 
   


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