-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Improve SLA documentation (#32)
- Loading branch information
Showing
16 changed files
with
118 additions
and
10 deletions.
There are no files selected for viewing
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
docs/04-features/04-slas/02-slas-notification/01-notification-email.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
id: 'notification-email' | ||
title: 'email notification' | ||
--- | ||
|
7 changes: 7 additions & 0 deletions
7
docs/04-features/04-slas/02-slas-notification/02-notification-wecombot.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
id: 'notification-wecombot' | ||
title: 'weCom bot notification' | ||
--- | ||
|
||
|
||
|
3 changes: 3 additions & 0 deletions
3
docs/04-features/04-slas/02-slas-notification/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"label": "SLAs Notifications" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"label": "Slas" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 9 additions & 5 deletions
14
...ntent-docs/current/04-features/04-slas.md → ...rent/04-features/04-slas/01-slas-intro.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
--- | ||
id: 'slas' | ||
title: 'SLAs' | ||
id: 'slas-intro' | ||
title: 'SLAs介绍' | ||
--- | ||
SLA 是系统的核心功能,也是通知用户的通道。用户可以给每个规则配置多个SLA来通知不同的用户群,一个SLA也可以给多个规则检查作业使用,目前系统只支持邮件。 | ||
### 邮件通道 | ||
- 在告警通道管理里面添加新的通道,填上相应的配置 | ||
- 在SLA 里面 添加告警通道,输入接收邮箱和抄送邮箱 | ||
### 配置 SLA | ||
- 在sla中创建sla, | ||
![创建sla](/doc/image/create_slas.png) | ||
- 在通知里面创建一个通道 | ||
![创建通知](/doc/image/create_notify.png) | ||
- 进去sla后,在sla中创建个通知关联上这个通道 | ||
![sla关联通知](/doc/image/slas_add_notify.png) | ||
### SLA 使用 | ||
创建数据质量检查作业时可以在配置页面选择SLA,当检查结果为失败时会通过该SLA里面所配置的告警通道进行告警 |
24 changes: 24 additions & 0 deletions
24
...-docs/current/04-features/04-slas/02-slas-notification/01-notification-email.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: 'notification-email' | ||
title: '邮件通知' | ||
--- | ||
|
||
## 介绍 | ||
支持用邮件通知 | ||
|
||
## 属性配置 | ||
|
||
### 通知发件人配置 | ||
|
||
| 参数 | 描述 | | ||
| ------------------------- |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| mail.smtp.host | SMTP 服务器地址 | | ||
| mail.smtp.port | SMTP 服务器端口 | | ||
| mail.sender | 邮件发送者 | | ||
| mail.smtp.auth | 是否需要认证 | | ||
| mail.user | 验证用户名 | | ||
| mail.passwd | 验证密码 | | ||
| mail.smtp.starttls.enable | 如果为true,则在发出任何登录命令之前,允许使用STARTTLS命令(如果服务器支持)将连接切换到 TLS-protected 的连接。 如果服务器不支持STARTTLS,则在不使用TLS的情况下继续连接。 | | ||
| mail.smtp.ssl.enable | 如果设置为true,则默认情况下使用SSL进行连接并使用SSL端口。对于“smtp”协议,默认值为false,对于“smtps”协议,则默认值为true。 | | ||
| mail.smtp.ssl.trust | 如果已设置,并且尚未指定套接字工厂,则启用 MailSSLSocketFactory。如果设置为“*”,则所有主机都是受信任的。如果设置为以空格分隔的主机列表,则这些主机是受信任的。否则,信任取决于服务器提供的证书。 | | ||
|
14 changes: 14 additions & 0 deletions
14
...cs/current/04-features/04-slas/02-slas-notification/02-notification-wecombot.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
id: 'notification-wecombot' | ||
title: '企业微信机器人通知' | ||
--- | ||
|
||
## 介绍 | ||
支持用企业微信机器人通知 | ||
|
||
## 属性配置 | ||
|
||
| 参数 | 描述 | | ||
| ------------------------- |-------------------------------------------------------------------------------------------------------------------| | ||
| webhook | 企业微信机器人 webhook 地址. 如 `https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=12345678-xxxx-xxxx-xxxx-123456789999` | | ||
|
3 changes: 3 additions & 0 deletions
3
...urus-plugin-content-docs/current/04-features/04-slas/02-slas-notification/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"label": "SLAs Notifications" | ||
} |
3 changes: 3 additions & 0 deletions
3
i18n/zh-CN/docusaurus-plugin-content-docs/current/04-features/04-slas/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"label": "Slas" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.