Skip to content

Commit bfd0f9d

Browse files
authored
Merge pull request #331 from flashcatcloud/codex/update-alert-status-mappings
docs(on-call): correct alert status mappings
2 parents 32ab2bc + d34cbb6 commit bfd0f9d

4 files changed

Lines changed: 46 additions & 16 deletions

File tree

‎en/on-call/integration/alert-integration/alert-sources/guance.mdx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ Choose this option when you need to route alerts to different channels based on
7272

7373
<div class="md-block">
7474

75-
| Guance | Flashduty | Status |
76-
| ---------- | -------- | ---- |
77-
| Critical | Critical | Critical |
78-
| Error | Warning | Warning |
79-
| Warning | Warning | Warning |
80-
| Info | Info | Info |
81-
| Data Missing | Info | Info |
75+
| Guance `df_status` | Flashduty | Status |
76+
| --- | --- | --- |
77+
| `critical`, `fatal` | Critical | Critical |
78+
| `error`, `warning` | Warning | Warning |
79+
| `info`, `nodata` | Info | Info |
80+
| Other values | Info | Info |
81+
| `ok` | Info | Resolved (OK) |
8282

8383
</div>

‎en/on-call/integration/alert-integration/alert-sources/tencent-cm.mdx‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,21 @@ Choose this option when you need to route alerts to different channels based on
6666
---
6767
<div class="md-block">
6868

69-
All metric alerts from Tencent Cloud Monitor correspond to "warning" severity level alerts in Flashduty.
69+
When `alarmLevel` is present, Flashduty maps the alert severity as follows:
70+
71+
| Tencent Cloud Monitor `alarmLevel` | Flashduty | Status |
72+
| --- | --- | --- |
73+
| `Remind` | Info | Info |
74+
| `Warn` | Warning | Warning |
75+
| `Serious` | Critical | Critical |
76+
77+
When `alarmLevel` is missing or unrecognized, Flashduty uses the default severity for the alert type:
78+
79+
| Tencent Cloud Monitor `alarmType` | Flashduty | Status |
80+
| --- | --- | --- |
81+
| `metric` | Warning | Warning |
82+
| `event`, `prometheus`, and other types | Critical | Critical |
83+
84+
Recovery is evaluated independently: an `event` alert is resolved (OK) when `recoverTime` is not `0`; all other alert types are resolved (OK) when `alarmStatus` is `0`.
7085

7186
</div>

‎zh/on-call/integration/alert-integration/alert-sources/guance.mdx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ keywords: ["告警集成", "观测云告警事件", "监控告警", "数据接
7676

7777
<div className="md-block">
7878

79-
| 观测云 | Flashduty | 状态 |
80-
| ---------- | -------- | ---- |
81-
| 紧急 | Critical | 严重 |
82-
| 重要 | Warning | 警告 |
83-
| 警告 | Warning | 警告 |
84-
| 信息 | Info | 提醒 |
85-
| 数据断档 | Info | 提醒 |
79+
| 观测云 `df_status` | Flashduty | 状态 |
80+
| --- | --- | --- |
81+
| `critical`、`fatal` | Critical | 严重 |
82+
| `error`、`warning` | Warning | 警告 |
83+
| `info`、`nodata` | Info | 提醒 |
84+
| 其他值 | Info | 提醒 |
85+
| `ok` | Info | 已恢复(OK) |
8686

8787
</div>

‎zh/on-call/integration/alert-integration/alert-sources/tencent-cm.mdx‎

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,21 @@ keywords: ["告警集成", "腾讯云监控 CM集成", "监控告警", "数据
6868
---
6969
<div className="md-block">
7070

71-
腾讯云监控所有指标告警均对应到 Flashduty “警告(warning)”级别告警。
71+
`alarmLevel` 存在时,按以下规则映射到 Flashduty 告警级别:
72+
73+
| 腾讯云监控 `alarmLevel` | Flashduty | 状态 |
74+
| --- | --- | --- |
75+
| `Remind` | Info | 提醒 |
76+
| `Warn` | Warning | 警告 |
77+
| `Serious` | Critical | 严重 |
78+
79+
未提供或未识别 `alarmLevel` 时,使用告警类型的默认级别:
80+
81+
| 腾讯云监控 `alarmType` | Flashduty | 状态 |
82+
| --- | --- | --- |
83+
| `metric` | Warning | 警告 |
84+
| `event`、`prometheus` 及其他类型 | Critical | 严重 |
85+
86+
恢复状态单独判断:`event` 类型的 `recoverTime` 不为 `0` 时映射为已恢复(OK);其他类型的 `alarmStatus` 为 `0` 时映射为已恢复(OK)。
7287

7388
</div>

0 commit comments

Comments
 (0)