flashduty-knowledge-base 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/en.d.ts +1 -0
- package/dist/esm/en.js +114 -10
- package/dist/esm/zh.js +360 -71
- package/dist/iife/en.js +107 -3
- package/dist/iife/zh.js +346 -57
- package/dist/zh.d.ts +1 -0
- package/package.json +1 -1
package/dist/iife/en.js
CHANGED
|
@@ -311,7 +311,7 @@ attachment_stripped = true
|
|
|
311
311
|
|
|
312
312
|
Currently, all alerts pushed to Flashduty through email integration are set to Warning severity.
|
|
313
313
|
|
|
314
|
-
`,
|
|
314
|
+
`,i=`---
|
|
315
315
|
title: "Nightingale/FlashCat Integration"
|
|
316
316
|
description: "Push alert events from Nightingale (n9e) or Flashcat to Flashduty via webhook. When an alert is triggered, send a trigger event to Flashduty; when an alert recovers, send a recovery event to Flashduty"
|
|
317
317
|
date: "2024-05-11T10:00:00+08:00"
|
|
@@ -469,7 +469,7 @@ Nightingale/Flashcat to Flashduty alert severity mapping:
|
|
|
469
469
|
|
|
470
470
|
</details>
|
|
471
471
|
|
|
472
|
-
`,
|
|
472
|
+
`,o=`---
|
|
473
473
|
title: "Prometheus Integration Guide"
|
|
474
474
|
description: "Push Prometheus alert events to Flashduty through AlertManager using webhooks. When an alert is triggered, it sends a trigger event to Flashduty, and when the alert recovers, it sends a recovery event."
|
|
475
475
|
date: "2024-05-11T10:00:00+08:00"
|
|
@@ -1554,7 +1554,7 @@ Alibaba Cloud SLS monitoring to Flashduty alert severity mapping:
|
|
|
1554
1554
|
| 2 | Info | Info |
|
|
1555
1555
|
|
|
1556
1556
|
</div>
|
|
1557
|
-
`,u={CustomAlert:t,Email:a,N9e:
|
|
1557
|
+
`,u={CustomAlert:t,Email:a,N9e:i,Prometheus:o,Grafana:s,Zabbix:r,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:c,AliyunCm:h,AliyunSLS:e,AWSCW:e,AzureMonitor:`---
|
|
1558
1558
|
title: "AWS CloudWatch Integration"
|
|
1559
1559
|
description: "Sync AWS CloudWatch alert events to Flashduty via webhook to achieve automated alert noise reduction"
|
|
1560
1560
|
date: "2024-05-11T10:00:00+08:00"
|
|
@@ -5480,6 +5480,7 @@ The following event types are currently supported, with more potentially being a
|
|
|
5480
5480
|
| i_rslv | Close incident (automatically or manually) |
|
|
5481
5481
|
| i_reopen | Reopen incident |
|
|
5482
5482
|
| i_merge | Manually merge incidents |
|
|
5483
|
+
| i_comm | Add comment |
|
|
5483
5484
|
| i_r_title | Update incident title |
|
|
5484
5485
|
| i_r_desc | Update incident description |
|
|
5485
5486
|
| i_r_impact | Update incident impact |
|
|
@@ -6149,6 +6150,8 @@ CloseTime | int64 | No | Close time, EndTime is alert recovery time, CloseTime i
|
|
|
6149
6150
|
|
|
6150
6151
|
Below are specific instructions for each notification channel.
|
|
6151
6152
|
|
|
6153
|
+
<div class="feishu_app hide">
|
|
6154
|
+
|
|
6152
6155
|
## Feishu/Lark App
|
|
6153
6156
|
---
|
|
6154
6157
|
You need to configure \`Integration Center - IM - Feishu/Lark\` integration first to send message cards. If custom content is not set, the system default template will be used to render all label information:
|
|
@@ -6192,6 +6195,9 @@ If you want to display only key label information, you can refer to the code sni
|
|
|
6192
6195
|
{{if (index .Labels "mode")}}mode:{{index .Labels "mode"}}{{end}}
|
|
6193
6196
|
{{if (index .Labels "runbook_url")}}runbook_url:{{toHtml (index .Labels "runbook_url")}}{{end}}
|
|
6194
6197
|
\`\`\`
|
|
6198
|
+
</div>
|
|
6199
|
+
|
|
6200
|
+
<div class="dingtalk_app hide">
|
|
6195
6201
|
|
|
6196
6202
|
## Dingtalk App
|
|
6197
6203
|
---
|
|
@@ -6234,6 +6240,9 @@ If you want to display only key label information, you can refer to the code sni
|
|
|
6234
6240
|
{{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
|
|
6235
6241
|
{{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
|
|
6236
6242
|
\`\`\`
|
|
6243
|
+
</div>
|
|
6244
|
+
|
|
6245
|
+
<div class="wecom_app hide">
|
|
6237
6246
|
|
|
6238
6247
|
## WeCom App
|
|
6239
6248
|
---
|
|
@@ -6270,6 +6279,9 @@ As shown below:
|
|
|
6270
6279
|
|
|
6271
6280
|
|
|
6272
6281
|
**Note: WeCom limits card length. In the template rendering area, you can render up to 8 lines of content. Content beyond 8 lines will be hidden**
|
|
6282
|
+
</div>
|
|
6283
|
+
|
|
6284
|
+
<div class="slack_app hide">
|
|
6273
6285
|
|
|
6274
6286
|
## Slack App
|
|
6275
6287
|
---
|
|
@@ -6313,6 +6325,9 @@ If you want to display only key label information, you can refer to the code sni
|
|
|
6313
6325
|
{{if (index .Labels "mode")}}*mode*:{{index .Labels "mode"}}{{end}}
|
|
6314
6326
|
{{if (index .Labels "runbook_url")}}*runbook_url*:{{index .Labels "runbook_url"}}{{end}}
|
|
6315
6327
|
\`\`\`
|
|
6328
|
+
</div>
|
|
6329
|
+
|
|
6330
|
+
<div class="zoom hide">
|
|
6316
6331
|
|
|
6317
6332
|
## Zoom Bot
|
|
6318
6333
|
---
|
|
@@ -6412,6 +6427,10 @@ If you want to display only key label information, you can refer to the code sni
|
|
|
6412
6427
|
]
|
|
6413
6428
|
}
|
|
6414
6429
|
\`\`\`
|
|
6430
|
+
</div>
|
|
6431
|
+
|
|
6432
|
+
|
|
6433
|
+
<div class="sms hide">
|
|
6415
6434
|
|
|
6416
6435
|
## SMS
|
|
6417
6436
|
---
|
|
@@ -6420,6 +6439,9 @@ If custom content is not set, the system default template will be used for notif
|
|
|
6420
6439
|
\`\`\`
|
|
6421
6440
|
You have a pending incident: {{toHtml .Title}}, Channel: {{.ChannelName}}, Severity: {{.IncidentSeverity}}{{if gt .AlertCnt 1}}, Grouped {{.AlertCnt}} alerts{{end}}
|
|
6422
6441
|
\`\`\`
|
|
6442
|
+
</div>
|
|
6443
|
+
|
|
6444
|
+
<div class="email hide">
|
|
6423
6445
|
|
|
6424
6446
|
## Email
|
|
6425
6447
|
---
|
|
@@ -6619,4 +6641,86 @@ When you need to route alerts to different channels based on alert payload infor
|
|
|
6619
6641
|
|
|
6620
6642
|
</div>
|
|
6621
6643
|
|
|
6644
|
+
`,JiraSync:`---
|
|
6645
|
+
title: "Jira Sync"
|
|
6646
|
+
description: "Sync incidents with Jira issues through Jira Sync Webhook."
|
|
6647
|
+
date: "2024-05-11T10:00:00+08:00"
|
|
6648
|
+
url: "https://docs.flashcat.cloud/en/flashduty/jira-sync"
|
|
6649
|
+
---
|
|
6650
|
+
|
|
6651
|
+
Through Jira Sync Webhook, you can associate and synchronize Flashduty incidents with Jira Issues, enabling integration between Flashduty and Jira.
|
|
6652
|
+
|
|
6653
|
+
## Prerequisites
|
|
6654
|
+
- This integration is compatible with Jira Cloud, as well as versions 7.x and 8.x of Jira Server and Jira Data Center.
|
|
6655
|
+
- Currently, only one-way synchronization of incident information and status to Jira is supported. Information in Jira will not sync back to Flashduty.
|
|
6656
|
+
- For Jira Cloud, use an API Token in the password field during authorization configuration; for Jira Server or Data Center, use your Jira account password.
|
|
6657
|
+
|
|
6658
|
+
## Getting API Token in Jira Cloud (Jira Server and Data Center please skip)
|
|
6659
|
+
|
|
6660
|
+
- After logging into Jira Cloud, click your profile picture in the top right corner and select **Manage Account**.
|
|
6661
|
+
- On the **Manage Account** page, select the **Security** tab.
|
|
6662
|
+
- On the **Security** page, click **Create and manage API tokens**.
|
|
6663
|
+
- In the **Create and manage API tokens** dialog, enter an API token name and select an expiration time.
|
|
6664
|
+
- Click **Create** to generate the API token.
|
|
6665
|
+
- Copy the API token value and paste it into the API token field in Flashduty's authorization configuration.
|
|
6666
|
+
|
|
6667
|
+
## Configuring Integration in Flashduty
|
|
6668
|
+
|
|
6669
|
+
### 1. Create and Authenticate Jira Integration
|
|
6670
|
+
<div class="hide">
|
|
6671
|
+
|
|
6672
|
+
In the Integration Center, select **Webhook**, choose **Jira Sync** integration, and fill in the following authentication information.
|
|
6673
|
+
|
|
6674
|
+
</div>
|
|
6675
|
+
|
|
6676
|
+
- **Jira Platform Type**: Choose based on your version. For Data Center version, select Self-hosted (Server).
|
|
6677
|
+
- **Service URL**: For Cloud version, enter your actual access URL, e.g., https://your-domain.atlassian.net. For Server version, enter your service access URL, e.g., https://your-jira-server-url.com.
|
|
6678
|
+
- **Username**: Your Jira account name. For Cloud version, enter your email; for Server version, enter your Jira username.
|
|
6679
|
+
- **API Token/Password**: Your Jira account credentials. For Cloud version, enter API Token; for Server version, enter your Jira account password.
|
|
6680
|
+
- After completion, click **Next** to proceed with configuration.
|
|
6681
|
+
|
|
6682
|
+
**About Permissions**: Ensure your Jira account has permissions to access relevant projects, issue types, and create issues. Using an administrator account is recommended.
|
|
6683
|
+
|
|
6684
|
+
### 2. Jira Integration Configuration
|
|
6685
|
+
|
|
6686
|
+
- **Integration Name**: Define a name for this integration.
|
|
6687
|
+
- **Trigger Mode**:
|
|
6688
|
+
- Automatic: Configure conditions for Flashduty to automatically sync qualifying incidents to Jira.
|
|
6689
|
+
- Manual: Manually trigger Jira sync from the incident details page's more actions menu (integration name serves as trigger name).
|
|
6690
|
+
- **Project ID**: Select the target Jira project for synchronization.
|
|
6691
|
+
- **Issue Type**: Select the target Jira issue type.
|
|
6692
|
+
- **Channel**: Select the channel where this integration will be active. Only incidents within this channel can sync to Jira.
|
|
6693
|
+
- **Severity Mapping**: If the selected issue type doesn't support priority fields, this mapping cannot be configured.
|
|
6694
|
+
- **Custom Field Mapping**: Choose to sync certain or all incident labels and custom field content to Jira fields (text type fields only).
|
|
6695
|
+
|
|
6696
|
+
### 3. About Updates
|
|
6697
|
+
|
|
6698
|
+
- For incidents with existing Jira issues, updates to severity or status will automatically update in Jira, but Jira updates won't sync back to Flashduty.
|
|
6699
|
+
- Comments sync to Jira, but Jira comments won't sync back to Flashduty.
|
|
6700
|
+
- Updates to incident title, description, labels, or other fields won't update in Jira.
|
|
6701
|
+
|
|
6702
|
+
### 4. Flashduty to Jira Mapping
|
|
6703
|
+
|
|
6704
|
+
#### Field Mapping
|
|
6705
|
+
|
|
6706
|
+
| Jira | Flashduty |
|
|
6707
|
+
| ---------- | -------- |
|
|
6708
|
+
| Summary | Title |
|
|
6709
|
+
| Description | Description |
|
|
6710
|
+
| Priority | Severity |
|
|
6711
|
+
| Reporter | Integration configured user |
|
|
6712
|
+
| Comments | Comments |
|
|
6713
|
+
|
|
6714
|
+
#### Status Mapping
|
|
6715
|
+
|
|
6716
|
+
| Jira | Flashduty |
|
|
6717
|
+
| ---------- | -------- |
|
|
6718
|
+
| Todo | Pending |
|
|
6719
|
+
| In Progress | In Progress |
|
|
6720
|
+
| Done | Resolved |
|
|
6721
|
+
|
|
6722
|
+
### 5. Important Notes
|
|
6723
|
+
|
|
6724
|
+
- Flashduty syncs information according to default field mappings and your custom field configurations. If your Jira issue type has required fields without mapping relationships, Jira issue creation may fail.
|
|
6725
|
+
- Jira issue details are accessed using project KEY + number format. If you modify the project KEY, saved issue URLs in Flashduty may become inaccessible, so please modify project KEYs with caution.
|
|
6622
6726
|
`};n.FlashDocsEn=u})(window);
|