Skip to content

Commit e6f0877

Browse files
authored
Merge pull request #619 from flashcatcloud/fix/statuspal-alert-e2e
docs(statuspal): note the data.object.title fallback for the alert title
2 parents 9b3fdf5 + f3664d0 commit e6f0877

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • en/on-call/integration/alert-integration/alert-sources
  • zh/on-call/integration/alert-integration/alert-sources

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Statuspal pushes JSON. The `event` field is the event type, and `data.object` is
7676
| Field | Description | Use in Flashduty |
7777
| :--- | :--- | :--- |
7878
| `data.object.id` | Incident ID | Alert Key, label `incident_id` |
79-
| `data.object.l_title` | Incident title in each language | Alert title (English first, otherwise the first title) |
79+
| `data.object.l_title` | Incident title in each language | Alert title (English first, otherwise the first title; falls back to `data.object.title` when neither is present) |
8080
| `data.object.ends_at` | Incident end time | Recovers the alert when set, label `ends_at` |
8181
| `data.object.starts_at` | Incident start time | Label `starts_at` |
8282
| `data.object.service_ids` | IDs of the affected services | Label `service_ids` (comma-separated) |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Statuspal 推送 JSON,`event` 字段是事件类型,`data.object` 是对应
7676
| 字段 | 说明 | 在 Flashduty 中的用途 |
7777
| :--- | :--- | :--- |
7878
| `data.object.id` | 事件 ID | Alert Key,标签 `incident_id` |
79-
| `data.object.l_title` | 各语言的事件标题 | 告警标题(优先取英文,没有英文时取第一个) |
79+
| `data.object.l_title` | 各语言的事件标题 | 告警标题(优先取英文,没有英文时取第一个;两者都没有时取 `data.object.title`) |
8080
| `data.object.ends_at` | 事件结束时间 | 有值时恢复告警,标签 `ends_at` |
8181
| `data.object.starts_at` | 事件开始时间 | 标签 `starts_at` |
8282
| `data.object.service_ids` | 受影响的服务 ID | 标签 `service_ids`(逗号分隔) |

0 commit comments

Comments
 (0)