Browse Source

add Feishu alert doc and configure email alert doc to the docsdev.js (#11173)

add Feishu alert doc and configure email alert doc to the docsdev.js
Tq 2 years ago
parent
commit
9859b5da1f

+ 16 - 0
docs/configs/docsdev.js

@@ -264,6 +264,10 @@ export default {
                                 title: 'Alert Component User Guide ',
                                 link: '/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html',
                             },
+                            {
+                                title: 'Email',
+                                link: '/en-us/docs/dev/user_doc/guide/alert/email.html',
+                            },
                             {
                                 title: 'Telegram',
                                 link: '/en-us/docs/dev/user_doc/guide/alert/telegram.html',
@@ -288,6 +292,10 @@ export default {
                                 title: 'Http',
                                 link: '/en-us/docs/dev/user_doc/guide/alert/http.html',
                             },
+                            {
+                                title: 'Feishu',
+                                link: '/en-us/docs/dev/user_doc/guide/alert/feishu.html',
+                            },
                         ],
                     },
                     {
@@ -673,6 +681,10 @@ export default {
                                 title: '告警组件向导',
                                 link: '/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html',
                             },
+                            {
+                                title: 'Email',
+                                link: '/zh-cn/docs/dev/user_doc/guide/alert/email.html',
+                            },
                             {
                                 title: 'Telegram',
                                 link: '/zh-cn/docs/dev/user_doc/guide/alert/telegram.html',
@@ -697,6 +709,10 @@ export default {
                                 title: 'Http告警',
                                 link: '/zh-cn/docs/dev/user_doc/guide/alert/http.html',
                             },
+                            {
+                                title: '飞书告警',
+                                link: '/zh-cn/docs/dev/user_doc/guide/alert/feishu.html',
+                            },
                         ],
                     },
                     {

+ 17 - 0
docs/docs/en/guide/alert/feishu.md

@@ -0,0 +1,17 @@
+# Feishu
+
+If you need to use `Feishu` for alerting, create an alert instance in the alert instance management and select
+the `Feishu` plugin.
+
+The following shows the `Feishu` configuration example:
+
+![alert-feishu](../../../../img/new_ui/dev/alert/alert_feishu.png)
+
+## Parameter Configuration
+
+* Webhook
+  > Copy the robot webhook URL shown below:
+
+  ![alert-feishu-webhook](../../../../img/new_ui/dev/alert/alert_feishu_webhook.png)
+
+[Feishu:Use bots in groups](https://www.feishu.cn/hc/en-US/articles/360024984973)

+ 14 - 0
docs/docs/zh/guide/alert/feishu.md

@@ -0,0 +1,14 @@
+# 飞书
+
+如果您需要使用到飞书进行告警,请在告警实例管理里创建告警实例,选择 Feishu 插件。飞书的配置样例如下:
+
+![alert-feishu](../../../../img/new_ui/dev/alert/alert_feishu.png)
+
+参数配置
+
+* Webhook
+  > 复制机器人的webhook地址,如下图所示:
+
+  ![alert-feishu-webhook](../../../../img/new_ui/dev/alert/alert_feishu_webhook.png)
+
+[飞书:如何在群组中使用机器人?](https://www.feishu.cn/hc/zh-CN/articles/360024984973)

BIN
docs/img/new_ui/dev/alert/alert_feishu.png


BIN
docs/img/new_ui/dev/alert/alert_feishu_webhook.png