[home]feature: support home docs i18n en (#94)

* [home]feature: support home docs i18n en

* [home]feature: i18n update introduce

* [web-app]i18n for zh-TW

* [home]feature: i18n update docs
This commit is contained in:
tomsun28
2022-04-17 21:36:13 +08:00
committed by GitHub
parent 630c571f28
commit 81896f9ba1
57 changed files with 4553 additions and 499 deletions

View File

@@ -0,0 +1,36 @@
---
id: alert_threshold
title: 阈值告警配置
sidebar_label: 阈值告警配置
---
> 对监控指标配置告警阈值(警告告警,严重告警,紧急告警),系统根据阈值配置和采集指标数据计算触发告警。
### 操作步骤
1. **【告警配置】->【新增阈值】-> 【配置后确定】**
![threshold](/img/docs/help/alert-threshold-1.png)
如上图:
**指标对象**:选择我们需要配置阈值的监控指标对象 例如:网站监控类型下的 -> summary指标集合下的 -> responseTime响应时间指标
**阈值触发表达式**根据此表达式来计算判断是否触发阈值表达式环境变量和操作符见页面提示例如设置响应时间大于50触发告警表达式为 `responseTime > 50`。阈值表达式详细帮助见 [阈值表达式帮助](alert_threshold_expr)
**告警级别**:触发阈值的告警级别,从低到高依次为:警告-warning严重-critical紧急-emergency
**触发次数**:设置触发阈值多少次之后才会真正的触发告警
**通知模版**:告警触发后发送的通知信息模版,模版环境变量见页面提示,例如:`${app}.${metrics}.${metric}指标的值为${responseTime}大于50触发告警`
**全局默认** 设置此阈值是否对全局的此类指标都应用有效,默认否。新增阈值后还需将阈值与监控对象关联,这样阈值才会对此监控生效。
**启用告警**:此告警阈值配置开启生效或关闭
2. ** 阈值关联监控⚠️ 【告警配置】-> 【将刚设置的阈值】-> 【配置关联监控】-> 【配置后确定】**
> ** 注意⚠️ 新增阈值后还需将阈值与监控对象关联(即设置此阈值对哪些监控有效),这样阈值才会对此监控生效 **。
![threshold](/img/docs/help/alert-threshold-2.png)
![threshold](/img/docs/help/alert-threshold-3.png)
**阈值告警配置完毕,已经被成功触发的告警信息可以在【告警中心】看到。**
**若需要将告警信息邮件,微信,钉钉飞书通知给相关人员,可以在【告警通知】配置。**
其它问题可以通过交流群ISSUE反馈哦