Skip to content

Commit 81d53fc

Browse files
committed
Merge branch 'main' of github.com:flashcatcloud/flashduty-docs
2 parents 4fa9563 + 89d2af3 commit 81d53fc

8 files changed

Lines changed: 26 additions & 14 deletions

File tree

en/on-call/integration/alert-integration/label-enhancement.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Prepare a CSV format mapping table file to map resource type IDs in alerts to ac
132132
</Step>
133133

134134
<Step title="Create Mapping Table">
135-
1. Go to `Integration Center``Label Mapping` `Create Label Mapping`
135+
1. Go to `Configuration``Mappings``Schema` `Create mapping schema`
136136
2. Fill in basic info like name, description, management team, etc.
137137
3. In `Mapping Table Data`, upload the prepared CSV file (if quantity is small, you can edit and add in mapping details page after creation)
138138
4. Select `Source Label` (e.g., `ID`), select `Target Label` (e.g., `Type`)
@@ -170,7 +170,7 @@ Prepare a CSV format mapping table file to map resource type IDs in alerts to ac
170170

171171
<Steps>
172172
<Step title="Create Mapping Service">
173-
1. Go to `Integration Center``Mapping Service` `Create Mapping Service`
173+
1. Go to `Configuration``Mappings``API` `Create API`
174174
2. Fill in service configuration:
175175

176176
| Configuration | Description | Example |
@@ -179,8 +179,8 @@ Prepare a CSV format mapping table file to map resource type IDs in alerts to ac
179179
| Description | Service purpose description | Query asset info by host IP |
180180
| Request URL | API request address | `https://mapping-api.example.com/v1/enrich-event` |
181181
| Headers | HTTP request header configuration | `X-Auth-Token: your-token` |
182-
| Timeout | Request timeout in seconds | 5 |
183-
| Retry Count | Number of retries after failure | 2 |
182+
| Timeout | Request timeout in seconds | 1 |
183+
| Retry Count | Number of retries after failure | 1 |
184184

185185
<Tip>
186186
If the API uses HTTPS with an untrusted certificate, you can enable the `Skip Certificate Verification` option.

en/on-call/integration/webhooks/alert-webhook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ curl -X POST 'https://example.com/alert/webhook?a=a' \
156156

157157
2. **Will pushes continue after failure?**
158158

159-
Retries for specific network errors, max 2 retries:
159+
Retries for specific network errors, max 1 retries:
160160
- context deadline exceeded (excluding awaiting headers)
161161
- i/o timeout
162162
- eof

en/on-call/integration/webhooks/custom-actions.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,13 @@ When an incident is confirmed to impact production services, trigger external st
254254

255255
- Service needs to return response within 1 second; exceeding 1 second is considered a failure
256256

257+
2. **Will pushes continue after failure?**
257258

258-
2. **Trusted IP whitelist for push source?**
259+
Retries for specific network errors, max 1 retries:
260+
- context deadline exceeded (excluding awaiting headers)
261+
- i/o timeout
262+
- eof
263+
264+
3. **Trusted IP whitelist for push source?**
259265
- {ip_whitelist}
260266
- May be updated in the future, please check regularly

en/on-call/integration/webhooks/incident-webhook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ curl -X POST 'https://example.com/incident/webhook?a=a' \
197197

198198
2. **Will pushes continue after failure?**
199199

200-
Retries for specific network errors, max 2 retries:
200+
Retries for specific network errors, max 1 retries:
201201
- context deadline exceeded (excluding awaiting headers)
202202
- i/o timeout
203203
- eof

zh/on-call/integration/alert-integration/label-enhancement.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ keywords: ["标签增强", "自动标签", "数据提取", "字段映射", "告
132132
</Step>
133133

134134
<Step title="创建映射表">
135-
1. 进入 `集成中心``标签映射``创建标签映射`
135+
1. 进入 `配置中心``映射数据``元数据表``创建映射表`
136136
2. 填写基本信息,如名称、描述、管理团队等
137137
3.`映射表数据` 处,上传准备好的 CSV 文件(如果数量较少,创建完成后可以在映射详情页面中编辑添加)
138138
4. 选择 `源标签`(如 `ID`),选择 `目标标签`(如 `Type`
@@ -170,7 +170,7 @@ keywords: ["标签增强", "自动标签", "数据提取", "字段映射", "告
170170

171171
<Steps>
172172
<Step title="创建映射服务">
173-
1. 进入 `集成中心``映射服务``创建映射服务`
173+
1. 进入 `配置中心``映射数据``API``创建API`
174174
2. 填写服务配置信息:
175175

176176
| 配置项 | 说明 | 示例 |
@@ -179,8 +179,8 @@ keywords: ["标签增强", "自动标签", "数据提取", "字段映射", "告
179179
| 描述 | 服务用途说明 | 根据主机 IP 查询资产信息 |
180180
| 请求 URL | API 的请求地址 | `https://mapping-api.example.com/v1/enrich-event` |
181181
| 请求头 | HTTP 请求头配置 | `X-Auth-Token: your-token` |
182-
| 超时时间 | 请求超时时间(秒) | 5 |
183-
| 重试次数 | 请求失败后的重试次数 | 2 |
182+
| 超时时间 | 请求超时时间(秒) | 1 |
183+
| 重试次数 | 请求失败后的重试次数 | 1 |
184184

185185
<Tip>
186186
如果 API 使用 HTTPS 且证书不受信任,可开启 `跳过证书验证` 选项。

zh/on-call/integration/webhooks/alert-webhook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ curl -X POST 'https://example.com/alert/webhook?a=a' \
162162

163163
2. **推送失败后是否会持续推送?**
164164

165-
针对特定的网络错误,会进行重试,最多重试2次:
165+
针对特定的网络错误,会进行重试,最多重试1次:
166166
- context deadline exceeded (排除 awaiting headers)
167167
- i/o timeout
168168
- eof

zh/on-call/integration/webhooks/custom-actions.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,13 @@ curl -X POST 'https://example.com/incident/action?a=a' \
260260

261261
- 服务需要在 2 秒内返回响应,超过 2 秒则认为响应失败
262262

263+
2. **推送失败后是否会持续推送?**
263264

264-
2. **推送来源可信 IP 白名单?**
265+
针对特定的网络错误,会进行重试,最多重试1次:
266+
- context deadline exceeded (排除 awaiting headers)
267+
- i/o timeout
268+
- eof
269+
270+
3. **推送来源可信 IP 白名单?**
265271
- {ip_whitelist}
266272
- 未来可能会更新,请定期查验

zh/on-call/integration/webhooks/incident-webhook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ curl -X POST 'https://example.com/incident/webhook?a=a' \
203203

204204
2. **推送失败后是否会持续推送?**
205205

206-
针对特定的网络错误,会进行重试,最多重试2次:
206+
针对特定的网络错误,会进行重试,最多重试1次:
207207
- context deadline exceeded (排除 awaiting headers)
208208
- i/o timeout
209209
- eof

0 commit comments

Comments
 (0)