This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 0a3845f8a Automated deployment:
84ed993d869ba19da1d148e327e73b63c755b3fa
0a3845f8a is described below
commit 0a3845f8a8dc903cc0fd246c7a752534deada983
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Apr 20 05:18:07 2022 +0000
Automated deployment: 84ed993d869ba19da1d148e327e73b63c755b3fa
---
en-us/development/backend/spi/alert.html | 29 ++++++++++++++++++++-
en-us/development/backend/spi/alert.json | 2 +-
.../guide/alert/alert_plugin_user_guide.html | 8 ++++--
.../guide/alert/alert_plugin_user_guide.json | 2 +-
en-us/docs/dev/user_doc/guide/task/flink.html | 2 +-
en-us/docs/dev/user_doc/guide/task/flink.json | 2 +-
img/alert/alert_scenarios_en.png | Bin 0 -> 33920 bytes
img/alert/alert_scenarios_zh.png | Bin 0 -> 36607 bytes
img/alert/alert_step_2.png | Bin 34429 -> 159166 bytes
img/alert/alert_step_3.png | Bin 44253 -> 240057 bytes
img/alert/alert_step_4.png | Bin 78671 -> 144842 bytes
zh-cn/development/backend/spi/alert.html | 29 ++++++++++++++++++++-
zh-cn/development/backend/spi/alert.json | 2 +-
.../guide/alert/alert_plugin_user_guide.html | 8 ++++--
.../guide/alert/alert_plugin_user_guide.json | 2 +-
15 files changed, 74 insertions(+), 12 deletions(-)
diff --git a/en-us/development/backend/spi/alert.html
b/en-us/development/backend/spi/alert.html
index 0a5bf76a5..f47d5c955 100644
--- a/en-us/development/backend/spi/alert.html
+++ b/en-us/development/backend/spi/alert.html
@@ -26,7 +26,7 @@
</li>
<li>
<p>dolphinscheduler-alert-plugins</p>
-<p>This module is currently a plug-in provided by us, such as Email, DingTalk,
Script, etc.</p>
+<p>This module is currently a plug-in provided by us, and now we have
supported dozens of plug-ins, such as Email, DingTalk, Script, etc.</p>
</li>
</ul>
<h4>Alert SPI Main class information.</h4>
@@ -54,6 +54,7 @@ This package is a plug-in parameter definition. Our front-end
uses the from-crea
<li>
<p>DingTalk</p>
<p>Alert for DingTalk group chat bots</p>
+<p>Related parameter configuration can refer to the DingTalk robot
document.</p>
</li>
<li>
<p>EnterpriseWeChat</p>
@@ -68,6 +69,32 @@ This package is a plug-in parameter definition. Our
front-end uses the from-crea
<p>SMS</p>
<p>SMS alerts</p>
</li>
+<li>
+<p>FeiShu</p>
+<p>FeiShu alert notification</p>
+</li>
+<li>
+<p>Slack</p>
+<p>Slack alert notification</p>
+</li>
+<li>
+<p>PagerDuty</p>
+<p>PagerDuty alert notification</p>
+</li>
+<li>
+<p>WebexTeams</p>
+<p>WebexTeams alert notification</p>
+<p>Related parameter configuration can refer to the WebexTeams document.</p>
+</li>
+<li>
+<p>Telegram</p>
+<p>Telegram alert notification</p>
+<p>Related parameter configuration can refer to the Telegram document.</p>
+</li>
+<li>
+<p>Http</p>
+<p>We have implemented a Http script for alerting. And calling most of the
alerting plug-ins end up being Http requests, if we not support your alert
plug-in yet, you can use Http to realize your alert login. Also welcome to
contribute your common plug-ins to the community :)</p>
+</li>
</ul>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please
contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
diff --git a/en-us/development/backend/spi/alert.json
b/en-us/development/backend/spi/alert.json
index cdbc6554b..308181bfa 100644
--- a/en-us/development/backend/spi/alert.json
+++ b/en-us/development/backend/spi/alert.json
@@ -1,6 +1,6 @@
{
"filename": "alert.md",
- "__html": "<h3>DolphinScheduler Alert SPI main
design</h3>\n<h4>DolphinScheduler SPI Design</h4>\n<p>DolphinScheduler is
undergoing a microkernel + plug-in architecture change. All core capabilities
such as tasks, resource storage, registration centers, etc. will be designed as
extension points. We hope to use SPI to improve DolphinScheduler’s own
flexibility and friendliness (extended sex).</p>\n<p>For alarm-related codes,
please refer to the <code>dolphinscheduler-alert-api</code> mo [...]
+ "__html": "<h3>DolphinScheduler Alert SPI main
design</h3>\n<h4>DolphinScheduler SPI Design</h4>\n<p>DolphinScheduler is
undergoing a microkernel + plug-in architecture change. All core capabilities
such as tasks, resource storage, registration centers, etc. will be designed as
extension points. We hope to use SPI to improve DolphinScheduler’s own
flexibility and friendliness (extended sex).</p>\n<p>For alarm-related codes,
please refer to the <code>dolphinscheduler-alert-api</code> mo [...]
"link": "/dist/en-us/development/backend/spi/alert.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
b/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
index 06c31d9f8..dba7d3a84 100644
--- a/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
+++ b/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
@@ -12,13 +12,17 @@
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="banner-tips"><div>🤔
Have queries regarding Apache DolphinScheduler, Join Slack channel to disscuss
them <a class="link-tips"
href="https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw">join
#dolphinscheduler channel</a>! 🌟</div></div><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span> [...]
<h2>How to Create Alert Plugins and Alert Groups</h2>
-<p>In version 2.0.0, users need to create alert instances, and then associate
them with alert groups. Alert group can use multiple alert instances and notify
them one by one.</p>
+<p>In version 2.0.0, users need to create alert instances, and needs to choose
an alarm policy when defining an alarm instance, there are three options: send
if the task succeeds, send on failure, and send on both success and failure.
when the workflow or task is executed, if an alarm is triggered, calling the
alarm instance send method needs a logical judgment, which matches the alarm
instance with the task status, executes the alarm instance sending logic if it
matches, and filters if [...]
+The alarm module supports the following scenarios:
+<img src="/img/alert/alert_scenarios_en.png"></p>
+<p>The steps to use are as follows:</p>
<p>First, go to the Security Center page. Select Alarm Group Management, click
Alarm Instance Management on the left and create an alarm instance. Select the
corresponding alarm plug-in and fill in the relevant alarm parameters.</p>
<p>Then select Alarm Group Management, create an alarm group, and choose the
corresponding alarm instance.</p>
<img src="/img/alert/alert_step_1.png">
<img src="/img/alert/alert_step_2.png">
<img src="/img/alert/alert_step_3.png">
-<img src="/img/alert/alert_step_4.png"></div></section><footer
class="footer-container"><div class="footer-body"><div><h3>About us</h3><h4>Do
you need feedback? Please contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img cla [...]
+<img src="/img/alert/alert_step_4.png">
+</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>About us</h3><h4>Do you need feedback? Please
contact us through the following ways.</h4></div><div
class="contact-container"><ul><li><a
href="/en-us/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>Email List</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
diff --git a/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
b/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
index 6752164fd..5deaec3fc 100644
--- a/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
+++ b/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
@@ -1,6 +1,6 @@
{
"filename": "alert_plugin_user_guide.md",
- "__html": "<h1>Alert Component User Guide</h1>\n<h2>How to Create Alert
Plugins and Alert Groups</h2>\n<p>In version 2.0.0, users need to create alert
instances, and then associate them with alert groups. Alert group can use
multiple alert instances and notify them one by one.</p>\n<p>First, go to the
Security Center page. Select Alarm Group Management, click Alarm Instance
Management on the left and create an alarm instance. Select the corresponding
alarm plug-in and fill in the relev [...]
+ "__html": "<h1>Alert Component User Guide</h1>\n<h2>How to Create Alert
Plugins and Alert Groups</h2>\n<p>In version 2.0.0, users need to create alert
instances, and needs to choose an alarm policy when defining an alarm instance,
there are three options: send if the task succeeds, send on failure, and send
on both success and failure. when the workflow or task is executed, if an alarm
is triggered, calling the alarm instance send method needs a logical judgment,
which matches the alar [...]
"link":
"/dist/en-us/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/dev/user_doc/guide/task/flink.html
b/en-us/docs/dev/user_doc/guide/task/flink.html
index 39b2dea76..418aeebef 100644
--- a/en-us/docs/dev/user_doc/guide/task/flink.html
+++ b/en-us/docs/dev/user_doc/guide/task/flink.html
@@ -54,7 +54,7 @@
<p>If you are using the flink task type in a production environment, it is
necessary to configure the required environment first. The following is the
configuration file:
<code>/dolphinscheduler/conf/env/dolphinscheduler_env.sh</code>.</p>
<p><img src="/img/tasks/demo/flink_task01.png" alt="demo-flink-simple"></p>
<h4>Upload the Main Package</h4>
-<p>When using the Flink task node, you need to upload the jar package to the
Resource Centre for the execution, refer to the <a
href="../resource.md">resource center</a>.</p>
+<p>When using the Flink task node, you need to upload the jar package to the
Resource Center for the execution, refer to the <a
href="../resource.md">resource center</a>.</p>
<p>After finish the Resource Centre configuration, upload the required target
files directly by dragging and dropping.</p>
<p><img src="/img/tasks/demo/upload_jar.png" alt="resource_upload"></p>
<h4>Configure Flink Nodes</h4>
diff --git a/en-us/docs/dev/user_doc/guide/task/flink.json
b/en-us/docs/dev/user_doc/guide/task/flink.json
index f6453611f..b9f790f97 100644
--- a/en-us/docs/dev/user_doc/guide/task/flink.json
+++ b/en-us/docs/dev/user_doc/guide/task/flink.json
@@ -1,6 +1,6 @@
{
"filename": "flink.md",
- "__html": "<h1>Flink Node</h1>\n<h2>Overview</h2>\n<p>Flink task type for
executing Flink programs. For Flink nodes, the worker submits the task by using
the Flink command <code>flink run</code>. See <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a> for more details.</p>\n<h2>Create Task</h2>\n<ul>\n<li>Click
<code>Project -> Management-Project -> Name-Workflow Definition</code>,
and click the "Create Workflow" but [...]
+ "__html": "<h1>Flink Node</h1>\n<h2>Overview</h2>\n<p>Flink task type for
executing Flink programs. For Flink nodes, the worker submits the task by using
the Flink command <code>flink run</code>. See <a
href=\"https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/cli/\">flink
cli</a> for more details.</p>\n<h2>Create Task</h2>\n<ul>\n<li>Click
<code>Project -> Management-Project -> Name-Workflow Definition</code>,
and click the "Create Workflow" but [...]
"link": "/dist/en-us/docs/dev/user_doc/guide/task/flink.html",
"meta": {}
}
\ No newline at end of file
diff --git a/img/alert/alert_scenarios_en.png b/img/alert/alert_scenarios_en.png
new file mode 100644
index 000000000..adc1b1ad6
Binary files /dev/null and b/img/alert/alert_scenarios_en.png differ
diff --git a/img/alert/alert_scenarios_zh.png b/img/alert/alert_scenarios_zh.png
new file mode 100644
index 000000000..bd2d6236d
Binary files /dev/null and b/img/alert/alert_scenarios_zh.png differ
diff --git a/img/alert/alert_step_2.png b/img/alert/alert_step_2.png
index dabd5e9a0..75fbe3ee2 100644
Binary files a/img/alert/alert_step_2.png and b/img/alert/alert_step_2.png
differ
diff --git a/img/alert/alert_step_3.png b/img/alert/alert_step_3.png
index 125e4945a..0501d84ab 100644
Binary files a/img/alert/alert_step_3.png and b/img/alert/alert_step_3.png
differ
diff --git a/img/alert/alert_step_4.png b/img/alert/alert_step_4.png
index ed62cc67d..0ed8893d9 100644
Binary files a/img/alert/alert_step_4.png and b/img/alert/alert_step_4.png
differ
diff --git a/zh-cn/development/backend/spi/alert.html
b/zh-cn/development/backend/spi/alert.html
index a772b3207..d0854fdb2 100644
--- a/zh-cn/development/backend/spi/alert.html
+++ b/zh-cn/development/backend/spi/alert.html
@@ -26,7 +26,7 @@
</li>
<li>
<p>dolphinscheduler-alert-plugins</p>
-<p>该模块是目前我们提供的插件,如 Email、DingTalk、Script等。</p>
+<p>该模块是目前我们提供的插件,目前我们已经支持数十种插件,如 Email、DingTalk、Script等。</p>
</li>
</ul>
<h4>Alert SPI 主要类信息:</h4>
@@ -54,6 +54,7 @@
<li>
<p>DingTalk</p>
<p>钉钉群聊机器人告警</p>
+<p>相关参数配置可以参考钉钉机器人文档。</p>
</li>
<li>
<p>EnterpriseWeChat</p>
@@ -64,6 +65,32 @@
<p>Script</p>
<p>我们实现了 Shell 脚本告警,我们会将相关告警参数透传给脚本,你可以在 Shell
中实现你的相关告警逻辑,如果你需要对接内部告警应用,这是一种不错的方法。</p>
</li>
+<li>
+<p>FeiShu</p>
+<p>飞书告警通知</p>
+</li>
+<li>
+<p>Slack</p>
+<p>Slack告警通知</p>
+</li>
+<li>
+<p>PagerDuty</p>
+<p>PagerDuty告警通知</p>
+</li>
+<li>
+<p>WebexTeams</p>
+<p>WebexTeams告警通知
+相关参数配置可以参考WebexTeams文档。</p>
+</li>
+<li>
+<p>Telegram</p>
+<p>Telegram告警通知
+相关参数配置可以参考Telegram文档。</p>
+</li>
+<li>
+<p>Http</p>
+<p>我们实现了Http告警,调用大部分的告警插件最终都是Http请求,如果我们没有支持你常用插件,可以使用Http来实现你的告警需求,同时也欢迎将你常用插件贡献到社区。</p>
+</li>
</ul>
</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img-change"
src="/img/twitterblue.png"/><p [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
diff --git a/zh-cn/development/backend/spi/alert.json
b/zh-cn/development/backend/spi/alert.json
index 61bdf9baf..e51c88beb 100644
--- a/zh-cn/development/backend/spi/alert.json
+++ b/zh-cn/development/backend/spi/alert.json
@@ -1,6 +1,6 @@
{
"filename": "alert.md",
- "__html": "<h3>DolphinScheduler Alert SPI 主要设计</h3>\n<h4>DolphinScheduler
SPI 设计</h4>\n<p>DolphinScheduler 正在处于微内核 +
插件化的架构更改之中,所有核心能力如任务、资源存储、注册中心等都将被设计为扩展点,我们希望通过 SPI 来提高 DolphinScheduler
本身的灵活性以及友好性(扩展性)。</p>\n<p>告警相关代码可以参考 <code>dolphinscheduler-alert-api</code>
模块。该模块定义了告警插件扩展的接口以及一些基础代码,当我们需要实现相关功能的插件化的时候,建议先阅读此块的代码,当然,更建议你阅读文档,这会减少很多时间,不过文档有一定的后滞性,当文档缺失的时候,建议以源码为准(如果有兴趣,我们也欢迎你来提交相关文档),此外,我们几乎不会对扩展接口做变更(不包括新增),除非重大架构调整,出现不兼容升级版本,因此,现有文档一般都�
�够满足。</p>\n<p>我们采用了原生的 JAVA-SPI,当你需要扩展的时候 [...]
+ "__html": "<h3>DolphinScheduler Alert SPI 主要设计</h3>\n<h4>DolphinScheduler
SPI 设计</h4>\n<p>DolphinScheduler 正在处于微内核 +
插件化的架构更改之中,所有核心能力如任务、资源存储、注册中心等都将被设计为扩展点,我们希望通过 SPI 来提高 DolphinScheduler
本身的灵活性以及友好性(扩展性)。</p>\n<p>告警相关代码可以参考 <code>dolphinscheduler-alert-api</code>
模块。该模块定义了告警插件扩展的接口以及一些基础代码,当我们需要实现相关功能的插件化的时候,建议先阅读此块的代码,当然,更建议你阅读文档,这会减少很多时间,不过文档有一定的后滞性,当文档缺失的时候,建议以源码为准(如果有兴趣,我们也欢迎你来提交相关文档),此外,我们几乎不会对扩展接口做变更(不包括新增),除非重大架构调整,出现不兼容升级版本,因此,现有文档一般都�
�够满足。</p>\n<p>我们采用了原生的 JAVA-SPI,当你需要扩展的时候 [...]
"link": "/dist/zh-cn/development/backend/spi/alert.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
b/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
index b13971627..62aee0a56 100644
--- a/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
+++ b/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html
@@ -11,13 +11,17 @@
</head>
<body>
<div id="root"><div class="md2html docs-page" data-reactroot=""><header
class="header-container header-container-dark"><div class="banner-tips"><div>🤔
有关于 Apache DolphinScheduler 的疑问,加入 Slack 频道来讨论他们 <a class="link-tips"
href="https://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw">join
#dolphinscheduler channel</a>! 🌟</div></div><div class="header-body"><span
class="mobile-menu-btn mobile-menu-btn-dark"></span><a
href="/zh-cn/index.html"><img cl [...]
-<p>在2.0.0版本中,用户需要创建告警实例,然后同告警组进行关联,一个告警组可以使用多个告警实例,我们会逐一进行进行告警通知。</p>
+<p>在2.0.0版本中,用户需要创建告警实例,在创建告警实例时,需要选择告警策略,有三个选项,成功发、失败发,以及成功和失败都发。在执行完工作流或任务时,如果触发告警,调用告警实例发送方法会进行逻辑判断,将告警实例与任务状态进行匹配,匹配则执行该告警实例发送逻辑,不匹配则过滤。创建完告警实例后,需要同告警组进行关联,一个告警组可以使用多个告警实例。
+告警模块支持场景如下:
+<img src="/img/alert/alert_scenarios_zh.png"></p>
+<p>使用步骤如下:</p>
<p>首先需要进入到安全中心,选择告警组管理,然后点击左侧的告警实例管理,然后创建一个告警实例,然后选择对应的告警插件,填写相关告警参数。</p>
<p>然后选择告警组管理,创建告警组,选择相应的告警实例即可。</p>
<img src="/img/alert/alert_step_1.png">
<img src="/img/alert/alert_step_2.png">
<img src="/img/alert/alert_step_3.png">
-<img src="/img/alert/alert_step_4.png"></div></section><footer
class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img [...]
+<img src="/img/alert/alert_step_4.png">
+</div></section><footer class="footer-container"><div
class="footer-body"><div><h3>联系我们</h3><h4>有问题需要反馈?请通过以下方式联系我们。</h4></div><div
class="contact-container"><ul><li><a
href="/zh-cn/community/development/subscribe.html"><img class="img-base"
src="/img/emailgray.png"/><img class="img-change"
src="/img/emailblue.png"/><p>邮件列表</p></a></li><li><a
href="https://twitter.com/dolphinschedule"><img class="img-base"
src="/img/twittergray.png"/><img class="img-change"
src="/img/twitterblue.png"/><p [...]
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-with-addons.min.js"></script>
<script
src="//cdn.jsdelivr.net/npm/[email protected]/dist/react-dom.min.js"></script>
<script>window.rootPath = '';</script>
diff --git a/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
b/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
index 459a869d6..9d82ba4bd 100644
--- a/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
+++ b/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.json
@@ -1,6 +1,6 @@
{
"filename": "alert_plugin_user_guide.md",
- "__html":
"<h2>如何创建告警插件以及告警组</h2>\n<p>在2.0.0版本中,用户需要创建告警实例,然后同告警组进行关联,一个告警组可以使用多个告警实例,我们会逐一进行进行告警通知。</p>\n<p>首先需要进入到安全中心,选择告警组管理,然后点击左侧的告警实例管理,然后创建一个告警实例,然后选择对应的告警插件,填写相关告警参数。</p>\n<p>然后选择告警组管理,创建告警组,选择相应的告警实例即可。</p>\n<img
src=\"/img/alert/alert_step_1.png\">\n<img
src=\"/img/alert/alert_step_2.png\">\n<img
src=\"/img/alert/alert_step_3.png\">\n<img
src=\"/img/alert/alert_step_4.png\">",
+ "__html":
"<h2>如何创建告警插件以及告警组</h2>\n<p>在2.0.0版本中,用户需要创建告警实例,在创建告警实例时,需要选择告警策略,有三个选项,成功发、失败发,以及成功和失败都发。在执行完工作流或任务时,如果触发告警,调用告警实例发送方法会进行逻辑判断,将告警实例与任务状态进行匹配,匹配则执行该告警实例发送逻辑,不匹配则过滤。创建完告警实例后,需要同告警组进行关联,一个告警组可以使用多个告警实例。\n告警模块支持场景如下:\n<img
src=\"/img/alert/alert_scenarios_zh.png\"></p>\n<p>使用步骤如下:</p>\n<p>首先需要进入到安全中心,选择告警组管理,然后点击左侧的告警实例管理,然后创建一个告警实例,然后选择对应的告警插件,填写相关告警参数。</p>\n<p>然后选择告警组管理,创建告警组,选择相应的告警实例即可。</p>\n<i
mg src=\"/img/alert/alert_step_1.png\">\n<img
src=\"/img/alert/alert_step_2.png\" [...]
"link":
"/dist/zh-cn/docs/dev/user_doc/guide/alert/alert_plugin_user_guide.html",
"meta": {}
}
\ No newline at end of file