flashduty-knowledge-base 1.2.3-beta.1 → 1.2.4-beta.0

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/esm/en.js CHANGED
@@ -4693,23 +4693,24 @@ When you need to route alerts to different channels based on alert payload infor
4693
4693
  ## I. Huawei Cloud APM Alert Push Configuration
4694
4694
 
4695
4695
  ### Create FlashDuty Alert Channel
4696
- 1. Log in to your Huawei Cloud console, search for \`SMN\` (Simple Message Notification) service and enter the corresponding product console
4696
+
4697
+ 1. Log in to your Huawei Cloud Console, search for \`SMN\` (Simple Message Notification) service and enter its console
4697
4698
  2. Select \`Topic Management=>Topics\` from the left navigation bar
4698
- 3. Click \`Create Topic\`, enter \`FlashDuty\` in the topic name field and click confirm
4699
+ 3. Click \`Create Topic\`, enter \`FlashDuty\` as the topic name in the edit page and confirm
4699
4700
 
4700
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-1.png" />
4701
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-1.png" alt="drawing" width="500"/>
4701
4702
 
4702
- 4. Back in the topic list, click \`Add Subscription\` in the newly created FlashDuty topic
4703
+ 4. Return to the topic list and click \`Add Subscription\` in the newly created FlashDuty topic
4703
4704
 
4704
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-2.png" />
4705
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-2.png" alt="drawing" width="500"/>
4705
4706
 
4706
- 5. In the edit page, select \`HTTPS\` for protocol, enter the **integration push URL** for subscription endpoint and click confirm
4707
+ 5. In the edit page, select \`HTTPS\` as the protocol, enter the **push URL** as the subscription endpoint and confirm
4707
4708
 
4708
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-3.png" />
4709
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-3.png" alt="drawing" width="500"/>
4709
4710
 
4710
4711
  6. After adding, check if the subscription status shows **Confirmed** in the subscription list
4711
4712
 
4712
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-4.png" />
4713
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-4.png" alt="drawing" width="500"/>
4713
4714
 
4714
4715
  ### Configure Application Monitoring Alerts
4715
4716
 
package/dist/esm/zh.js CHANGED
@@ -3251,7 +3251,7 @@ Sentry 提供了两类告警机制:Issue Alerts 和 Metric Alerts。Issue Aler
3251
3251
  |resolved|Ok|恢复|
3252
3252
 
3253
3253
  </div>
3254
- `,L=`---
3254
+ `,A=`---
3255
3255
  title: "监控宝告警事件"
3256
3256
  description: "通过 webhook 的方式同步监控宝告警事件到 Flashduty,实现告警事件自动化降噪处理"
3257
3257
  date: "2024-08-20T10:00:00+08:00"
@@ -3346,7 +3346,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/jiankongbao-integration-guide"
3346
3346
  |2|Info|提醒|
3347
3347
 
3348
3348
  </div>
3349
- `,A=`---
3349
+ `,S=`---
3350
3350
  title: "AWS EventBridge 告警事件"
3351
3351
  description: "通过 webhook 的方式同步 AWS EventBridge 告警事件到 Flashduty,实现告警事件自动化降噪处理"
3352
3352
  date: "2024-08-20T10:00:00+08:00"
@@ -3451,7 +3451,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/aws-eventbridge-integration-guide
3451
3451
 
3452
3452
  </div>
3453
3453
 
3454
- `,S=`---
3454
+ `,C=`---
3455
3455
  title: "Dynatrace 告警事件"
3456
3456
  description: "通过 webhook 的方式同步 Dynatrace 告警事件到 Flashduty,实现告警事件自动化降噪处理。"
3457
3457
  date: "2024-08-20T10:00:00+08:00"
@@ -3565,7 +3565,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/dynatrace-integration-guide"
3565
3565
  |CUSTOM_ALERT|Info|提醒|
3566
3566
 
3567
3567
  </div>
3568
- `,C=`---
3568
+ `,L=`---
3569
3569
  title: "华为云日志服务 LTS 告警事件"
3570
3570
  description: "通过 webhook 的方式同步华为云日志服务 LTS 告警事件到 Flashduty,实现告警事件自动化降噪处理。"
3571
3571
  date: "2024-08-20T10:00:00+08:00"
@@ -4215,7 +4215,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/volcengine-metric-integration-gui
4215
4215
  |通知|Info|提醒|
4216
4216
 
4217
4217
  </div>
4218
- `,$=`---
4218
+ `,E=`---
4219
4219
  title: "火山引擎云监控事件中心告警事件"
4220
4220
  description: "通过 webhook 的方式同步火山引擎云监控事件中心告警事件到 Flashduty,实现告警事件自动化降噪处理"
4221
4221
  date: "2024-07-05T10:00:00+08:00"
@@ -4304,7 +4304,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/volcengine-event-integration-guid
4304
4304
  |通知|Info|提醒|
4305
4305
 
4306
4306
  </div>
4307
- `,E=`---
4307
+ `,$=`---
4308
4308
  title: "火山引擎日志服务 TLS 告警事件"
4309
4309
  description: "通过 webhook 的方式同步火山引擎日志服务 TLS 告警事件到 Flashduty,实现告警事件自动化降噪处理"
4310
4310
  date: "2024-07-05T10:00:00+08:00"
@@ -4740,7 +4740,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/statecloud-integration-guide"
4740
4740
 
4741
4741
 
4742
4742
  </div>
4743
- `,j=`---
4743
+ `,U=`---
4744
4744
  title: "观测云告警事件"
4745
4745
  description: "通过 webhook 的方式同步观测云告警事件到 Flashduty,实现告警事件自动化降噪处理"
4746
4746
  date: "2024-07-05T10:00:00+08:00"
@@ -4828,7 +4828,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/guance-integration-guide"
4828
4828
  | 数据断档 | Info | 提醒 |
4829
4829
 
4830
4830
  </div>
4831
- `,U=`---
4831
+ `,j=`---
4832
4832
  title: "zilliz 告警事件"
4833
4833
  description: "通过 webhook 的方式同步 zilliz 告警事件到 Flashduty,实现告警事件自动化降噪处理"
4834
4834
  date: "2024-07-05T10:00:00+08:00"
@@ -5490,7 +5490,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/wecom-integration-guide"
5490
5490
  7. **故障通知失败,提示\`未开通企微许可\`?**
5491
5491
 
5492
5492
  - 联系 Flashduty 客服或专属支持,为您购买开通
5493
- `,K=`---
5493
+ `,Z=`---
5494
5494
  title: "Slack 集成"
5495
5495
  description: "通过集成Slack第三方应用,实现在Slack内接收和响应告警的能力"
5496
5496
  date: "2024-05-11T10:00:00+08:00"
@@ -5544,7 +5544,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/slack-integration-guide"
5544
5544
 
5545
5545
  8. **Slack App 内 Other questions,报错**
5546
5546
  - 重新操作,遇到了还没被记录的问题
5547
- - 重试后仍然报错,联系客服`,Z=`---
5547
+ - 重试后仍然报错,联系客服`,K=`---
5548
5548
  title: "Microsoft Teams集成"
5549
5549
  description: "通过集成 Microsoft Teams 第三方应用,实现在 Microsoft Teams 内接收和响应告警的能力"
5550
5550
  date: "2024-05-11T10:00:00+08:00"
@@ -6514,6 +6514,8 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6514
6514
  以下为各通知渠道具体说明。
6515
6515
 
6516
6516
 
6517
+ <div class="feishu_app hide">
6518
+
6517
6519
  ## 飞书应用
6518
6520
  ---
6519
6521
  您需要预先配置 \`集成中心-即时消息-飞书\` 集成,才能发送消息卡片。如果不设置自定义内容,将采用系统默认模板,渲染全部标签信息:
@@ -6556,8 +6558,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6556
6558
  {{if (index .Labels "mode")}}mode:{{index .Labels "mode"}}{{end}}
6557
6559
  {{if (index .Labels "runbook_url")}}runbook_url:{{toHtml (index .Labels "runbook_url")}}{{end}}
6558
6560
  \`\`\`
6561
+ </div>
6559
6562
 
6560
-
6563
+ <div class="dingtalk_app hide">
6561
6564
 
6562
6565
  ## 钉钉应用
6563
6566
  ---
@@ -6600,7 +6603,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6600
6603
  {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6601
6604
  {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6602
6605
  \`\`\`
6606
+ </div>
6603
6607
 
6608
+ <div class="wecom_app hide">
6604
6609
 
6605
6610
  ## 企业微信应用
6606
6611
  ---
@@ -6638,7 +6643,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6638
6643
 
6639
6644
  **注意,企业微信限制了卡片长度,在模板渲染区域,您最多可以渲染不超过 8 行内容,超过 8 行的部分将被隐藏**
6640
6645
 
6646
+ </div>
6641
6647
 
6648
+ <div class="slack_app hide">
6642
6649
 
6643
6650
  ## Slack 应用
6644
6651
  ---
@@ -6683,56 +6690,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6683
6690
  {{if (index .Labels "mode")}}*mode*:{{index .Labels "mode"}}{{end}}
6684
6691
  {{if (index .Labels "runbook_url")}}*runbook_url*:{{index .Labels "runbook_url"}}{{end}}
6685
6692
  \`\`\`
6693
+ </div>
6686
6694
 
6687
-
6688
-
6689
- ## Microsoft Teams 应用
6690
- ---
6691
- 您需要预先配置 \`集成中心-即时消息- Microsoft Teams\` 集成,才能发送消息卡片。如果不设置自定义内容,将采用系统默认模板,仅渲染常见标签信息:
6692
-
6693
- \`\`\`
6694
- {{if .Description}}**description** :{{toHtml .Labels.body_text .Description}}{{end}}
6695
- {{if .Labels.resource}}**resource** : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
6696
- {{range $k, $v := .Labels}}
6697
- {{if not (in $k "resource" "body_text" "body_text_with_table")}}**{{$k}}** : {{toHtml $v}}{{end}}{{end}}
6698
- \`\`\`
6699
-
6700
-
6701
- 如下图所示:
6702
-
6703
- <img src="https://download.flashcat.cloud/flashduty/integration/microsoft-teams/teams_app_message.png" alt="drawing" style="display: block; margin: 0 auto;" width="300"/>
6704
-
6705
- 如果您期望仅展示关键标签信息,可以参照下边的代码段:
6706
-
6707
- - 我们列出了一些常见标签,您可自行删减;
6708
- - 消息可以发送长度为 28KB 左右字节,超出后报错;
6709
- - 在 Microsoft Teams 应用中,系统会自动帮您删除(因标签不存在导致的)渲染空行,您可放心配置
6710
-
6711
- \`\`\`
6712
- {{if (index .Labels "resource")}}**resource**:{{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
6713
- {{if (index .Labels "metric")}}**metric**:{{index .Labels "metric"}}{{end}}
6714
- {{if (index .Labels "prom_ql")}}**prom_ql**:{{toHtml (index .Labels "prom_ql")}}{{end}}
6715
- {{if (index .Labels "trigger_value")}}**trigger_value**:{{index .Labels "trigger_value"}}{{end}}
6716
- {{if (index .Labels "host_ql")}}**host_ql**:{{index .Labels "host_ql"}}{{end}}
6717
- {{if (index .Labels "region")}}**region**:{{index .Labels "region"}}{{end}}
6718
- {{if (index .Labels "cluster")}}**cluster**:{{index .Labels "cluster"}}{{end}}
6719
- {{if (index .Labels "business")}}**business**:{{index .Labels "business"}}{{end}}
6720
- {{if (index .Labels "service")}}**service**:{{index .Labels "service"}}{{end}}
6721
- {{if (index .Labels "env")}}**env**:{{index .Labels "env"}}{{end}}
6722
- {{if (index .Labels "type")}}**type**:{{index .Labels "type"}}{{end}}
6723
- {{if (index .Labels "topic")}}**topic**:{{index .Labels "topic"}}{{end}}
6724
- {{if (index .Labels "cpu")}}**cpu**:{{index .Labels "cpu"}}{{end}}
6725
- {{if (index .Labels "device")}}**device**:{{index .Labels "device"}}{{end}}
6726
- {{if (index .Labels "path")}}**path**:{{index .Labels "path"}}{{end}}
6727
- {{if (index .Labels "fstype")}}**fstype**:{{index .Labels "fstype"}}{{end}}
6728
- {{if (index .Labels "name")}}**name**:{{index .Labels "name"}}{{end}}
6729
- {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6730
- {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6731
- \`\`\`
6732
-
6733
-
6734
-
6735
-
6695
+ <div class="teams_app hide">
6736
6696
 
6737
6697
  ## Microsoft Teams 应用
6738
6698
  ---
@@ -6777,8 +6737,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6777
6737
  {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6778
6738
  {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6779
6739
  \`\`\`
6740
+ </div>
6780
6741
 
6781
-
6742
+ <div class="feishu hide">
6782
6743
 
6783
6744
  ## 飞书机器人
6784
6745
  ---
@@ -6801,8 +6762,10 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6801
6762
  分派人员:{{range .Responders}}@{{.PersonName}} {{end}}{{end}}
6802
6763
  <br>详情:{{.DetailUrl}}
6803
6764
  \`\`\`
6765
+ </div>
6804
6766
 
6805
6767
 
6768
+ <div class="dingtalk hide">
6806
6769
 
6807
6770
  ## 钉钉机器人
6808
6771
  ---
@@ -6827,8 +6790,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6827
6790
  ---
6828
6791
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6829
6792
  \`\`\`
6793
+ </div>
6830
6794
 
6831
-
6795
+ <div class="wecom hide">
6832
6796
 
6833
6797
  ## 企业微信机器人
6834
6798
  ---
@@ -6850,9 +6814,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6850
6814
  > 分派人员:{{range .Responders}}@{{.PersonName}} {{end}}{{end}}
6851
6815
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6852
6816
  \`\`\`
6817
+ </div>
6853
6818
 
6854
-
6855
-
6819
+ <div class="telegram hide">
6856
6820
  ## Telegram 机器人
6857
6821
  ---
6858
6822
  - 配置国内能访问的Telegram服务地址;
@@ -6874,9 +6838,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6874
6838
 
6875
6839
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6876
6840
  \`\`\`
6841
+ </div>
6877
6842
 
6878
-
6879
-
6843
+ <div class="slack hide">
6880
6844
  ## Slack 机器人
6881
6845
  ---
6882
6846
  - 消息\`可以发送长度为15000左右字符,超出后截断发送\`;
@@ -6897,7 +6861,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6897
6861
  -----
6898
6862
  <br><{{.DetailUrl}}|详情>|<{{.DetailUrl}}?ack=1|认领>
6899
6863
  \`\`\`
6864
+ </div>
6900
6865
 
6866
+ <div class="zoom hide">
6901
6867
  ## Zoom 机器人
6902
6868
  ---
6903
6869
  - 消息\`可以发送长度为4000左右字符,超出后截断发送\`;
@@ -6996,9 +6962,10 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6996
6962
  ]
6997
6963
  }
6998
6964
  \`\`\`
6965
+ </div>
6999
6966
 
7000
6967
 
7001
-
6968
+ <div class="sms hide">
7002
6969
  ## 短信
7003
6970
  ---
7004
6971
  如果不设置自定义内容,将采用系统默认模板渲染通知:
@@ -7006,8 +6973,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
7006
6973
  \`\`\`
7007
6974
  您有故障待处理:{{toHtml .Title}},协作空间:{{.ChannelName}},等级:{{.IncidentSeverity}}{{if gt .AlertCnt 1}},共聚合{{.AlertCnt}}条告警{{end}}
7008
6975
  \`\`\`
6976
+ </div>
7009
6977
 
7010
-
6978
+ <div class="email hide">
7011
6979
 
7012
6980
  ## 邮件
7013
6981
  ---
@@ -7102,5 +7070,5 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
7102
7070
 
7103
7071
  <img src="https://download.flashcat.cloud/flashduty/changelog/20230720/email_render.png" alt="drawing" style="display: block; margin: 0 auto;" width="500"/>
7104
7072
 
7105
-
7106
- `,nn={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:m,HuaWeiCES:p,InfluxDB:g,OpenFalcon:y,PagerDuty:f,TencentBK:b,TencentCLS:v,TencentCm:w,TencentEb:_,OceanBase:k,Graylog:F,Skywalking:x,Sentry:T,Jiankongbao:L,AWSEventBridge:A,Dynatrace:S,HuaweiyunLTS:C,GoogleCM:I,Splunk:D,AppDynamics:P,SolarWinds:M,VolcEngineMetric:N,VolcEngineEvent:$,VolcEngineTLS:E,OpManager:R,Meraki:W,Zilliz:U,StateCloud:z,Guance:j,CustomChange:O,Jira:q,Lark:B,Dingtalk:G,Wecom:V,Slack:K,MicrosoftTeams:Z,AlertWebhook:J,IncidentWebhook:X,CustomAction:Q,Templates:Y,HuaweiyunAPM:H};module.exports=nn;
7073
+ </div>
7074
+ `,nn={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:m,HuaWeiCES:p,InfluxDB:g,OpenFalcon:y,PagerDuty:f,TencentBK:b,TencentCLS:v,TencentCm:w,TencentEb:_,OceanBase:k,Graylog:F,Skywalking:x,Sentry:T,Jiankongbao:A,AWSEventBridge:S,Dynatrace:C,HuaweiyunLTS:L,GoogleCM:I,Splunk:D,AppDynamics:P,SolarWinds:M,VolcEngineMetric:N,VolcEngineEvent:E,VolcEngineTLS:$,OpManager:R,Meraki:W,Zilliz:j,StateCloud:z,Guance:U,CustomChange:O,Jira:q,Lark:B,Dingtalk:G,Wecom:V,Slack:Z,MicrosoftTeams:K,AlertWebhook:J,IncidentWebhook:X,CustomAction:Q,Templates:Y,HuaweiyunAPM:H};module.exports=nn;
package/dist/iife/en.js CHANGED
@@ -6567,23 +6567,24 @@ When you need to route alerts to different channels based on alert payload infor
6567
6567
  ## I. Huawei Cloud APM Alert Push Configuration
6568
6568
 
6569
6569
  ### Create FlashDuty Alert Channel
6570
- 1. Log in to your Huawei Cloud console, search for \`SMN\` (Simple Message Notification) service and enter the corresponding product console
6570
+
6571
+ 1. Log in to your Huawei Cloud Console, search for \`SMN\` (Simple Message Notification) service and enter its console
6571
6572
  2. Select \`Topic Management=>Topics\` from the left navigation bar
6572
- 3. Click \`Create Topic\`, enter \`FlashDuty\` in the topic name field and click confirm
6573
+ 3. Click \`Create Topic\`, enter \`FlashDuty\` as the topic name in the edit page and confirm
6573
6574
 
6574
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-1.png" />
6575
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-1.png" alt="drawing" width="500"/>
6575
6576
 
6576
- 4. Back in the topic list, click \`Add Subscription\` in the newly created FlashDuty topic
6577
+ 4. Return to the topic list and click \`Add Subscription\` in the newly created FlashDuty topic
6577
6578
 
6578
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-2.png" />
6579
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-2.png" alt="drawing" width="500"/>
6579
6580
 
6580
- 5. In the edit page, select \`HTTPS\` for protocol, enter the **integration push URL** for subscription endpoint and click confirm
6581
+ 5. In the edit page, select \`HTTPS\` as the protocol, enter the **push URL** as the subscription endpoint and confirm
6581
6582
 
6582
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-3.png" />
6583
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-3.png" alt="drawing" width="500"/>
6583
6584
 
6584
6585
  6. After adding, check if the subscription status shows **Confirmed** in the subscription list
6585
6586
 
6586
- <img alt="drawing" width="600" src="https://download.flashcat.cloud/flashduty/doc/huawei-lts-4.png" />
6587
+ <img src="https://download.flashcat.cloud/flashduty/doc/en/hw/lts-4.png" alt="drawing" width="500"/>
6587
6588
 
6588
6589
  ### Configure Application Monitoring Alerts
6589
6590
 
package/dist/iife/zh.js CHANGED
@@ -6406,6 +6406,8 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6406
6406
  以下为各通知渠道具体说明。
6407
6407
 
6408
6408
 
6409
+ <div class="feishu_app hide">
6410
+
6409
6411
  ## 飞书应用
6410
6412
  ---
6411
6413
  您需要预先配置 \`集成中心-即时消息-飞书\` 集成,才能发送消息卡片。如果不设置自定义内容,将采用系统默认模板,渲染全部标签信息:
@@ -6448,8 +6450,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6448
6450
  {{if (index .Labels "mode")}}mode:{{index .Labels "mode"}}{{end}}
6449
6451
  {{if (index .Labels "runbook_url")}}runbook_url:{{toHtml (index .Labels "runbook_url")}}{{end}}
6450
6452
  \`\`\`
6453
+ </div>
6451
6454
 
6452
-
6455
+ <div class="dingtalk_app hide">
6453
6456
 
6454
6457
  ## 钉钉应用
6455
6458
  ---
@@ -6492,7 +6495,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6492
6495
  {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6493
6496
  {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6494
6497
  \`\`\`
6498
+ </div>
6495
6499
 
6500
+ <div class="wecom_app hide">
6496
6501
 
6497
6502
  ## 企业微信应用
6498
6503
  ---
@@ -6530,7 +6535,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6530
6535
 
6531
6536
  **注意,企业微信限制了卡片长度,在模板渲染区域,您最多可以渲染不超过 8 行内容,超过 8 行的部分将被隐藏**
6532
6537
 
6538
+ </div>
6533
6539
 
6540
+ <div class="slack_app hide">
6534
6541
 
6535
6542
  ## Slack 应用
6536
6543
  ---
@@ -6575,56 +6582,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6575
6582
  {{if (index .Labels "mode")}}*mode*:{{index .Labels "mode"}}{{end}}
6576
6583
  {{if (index .Labels "runbook_url")}}*runbook_url*:{{index .Labels "runbook_url"}}{{end}}
6577
6584
  \`\`\`
6585
+ </div>
6578
6586
 
6579
-
6580
-
6581
- ## Microsoft Teams 应用
6582
- ---
6583
- 您需要预先配置 \`集成中心-即时消息- Microsoft Teams\` 集成,才能发送消息卡片。如果不设置自定义内容,将采用系统默认模板,仅渲染常见标签信息:
6584
-
6585
- \`\`\`
6586
- {{if .Description}}**description** :{{toHtml .Labels.body_text .Description}}{{end}}
6587
- {{if .Labels.resource}}**resource** : {{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
6588
- {{range $k, $v := .Labels}}
6589
- {{if not (in $k "resource" "body_text" "body_text_with_table")}}**{{$k}}** : {{toHtml $v}}{{end}}{{end}}
6590
- \`\`\`
6591
-
6592
-
6593
- 如下图所示:
6594
-
6595
- <img src="https://download.flashcat.cloud/flashduty/integration/microsoft-teams/teams_app_message.png" alt="drawing" style="display: block; margin: 0 auto;" width="300"/>
6596
-
6597
- 如果您期望仅展示关键标签信息,可以参照下边的代码段:
6598
-
6599
- - 我们列出了一些常见标签,您可自行删减;
6600
- - 消息可以发送长度为 28KB 左右字节,超出后报错;
6601
- - 在 Microsoft Teams 应用中,系统会自动帮您删除(因标签不存在导致的)渲染空行,您可放心配置
6602
-
6603
- \`\`\`
6604
- {{if (index .Labels "resource")}}**resource**:{{toHtml (joinAlertLabels . "resource" ", ")}}{{end}}
6605
- {{if (index .Labels "metric")}}**metric**:{{index .Labels "metric"}}{{end}}
6606
- {{if (index .Labels "prom_ql")}}**prom_ql**:{{toHtml (index .Labels "prom_ql")}}{{end}}
6607
- {{if (index .Labels "trigger_value")}}**trigger_value**:{{index .Labels "trigger_value"}}{{end}}
6608
- {{if (index .Labels "host_ql")}}**host_ql**:{{index .Labels "host_ql"}}{{end}}
6609
- {{if (index .Labels "region")}}**region**:{{index .Labels "region"}}{{end}}
6610
- {{if (index .Labels "cluster")}}**cluster**:{{index .Labels "cluster"}}{{end}}
6611
- {{if (index .Labels "business")}}**business**:{{index .Labels "business"}}{{end}}
6612
- {{if (index .Labels "service")}}**service**:{{index .Labels "service"}}{{end}}
6613
- {{if (index .Labels "env")}}**env**:{{index .Labels "env"}}{{end}}
6614
- {{if (index .Labels "type")}}**type**:{{index .Labels "type"}}{{end}}
6615
- {{if (index .Labels "topic")}}**topic**:{{index .Labels "topic"}}{{end}}
6616
- {{if (index .Labels "cpu")}}**cpu**:{{index .Labels "cpu"}}{{end}}
6617
- {{if (index .Labels "device")}}**device**:{{index .Labels "device"}}{{end}}
6618
- {{if (index .Labels "path")}}**path**:{{index .Labels "path"}}{{end}}
6619
- {{if (index .Labels "fstype")}}**fstype**:{{index .Labels "fstype"}}{{end}}
6620
- {{if (index .Labels "name")}}**name**:{{index .Labels "name"}}{{end}}
6621
- {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6622
- {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6623
- \`\`\`
6624
-
6625
-
6626
-
6627
-
6587
+ <div class="teams_app hide">
6628
6588
 
6629
6589
  ## Microsoft Teams 应用
6630
6590
  ---
@@ -6669,8 +6629,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6669
6629
  {{if (index .Labels "mode")}}**mode**:{{index .Labels "mode"}}{{end}}
6670
6630
  {{if (index .Labels "runbook_url")}}**runbook_url**:{{index .Labels "runbook_url"}}{{end}}
6671
6631
  \`\`\`
6632
+ </div>
6672
6633
 
6673
-
6634
+ <div class="feishu hide">
6674
6635
 
6675
6636
  ## 飞书机器人
6676
6637
  ---
@@ -6693,8 +6654,10 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6693
6654
  分派人员:{{range .Responders}}@{{.PersonName}} {{end}}{{end}}
6694
6655
  <br>详情:{{.DetailUrl}}
6695
6656
  \`\`\`
6657
+ </div>
6696
6658
 
6697
6659
 
6660
+ <div class="dingtalk hide">
6698
6661
 
6699
6662
  ## 钉钉机器人
6700
6663
  ---
@@ -6719,8 +6682,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6719
6682
  ---
6720
6683
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6721
6684
  \`\`\`
6685
+ </div>
6722
6686
 
6723
-
6687
+ <div class="wecom hide">
6724
6688
 
6725
6689
  ## 企业微信机器人
6726
6690
  ---
@@ -6742,9 +6706,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6742
6706
  > 分派人员:{{range .Responders}}@{{.PersonName}} {{end}}{{end}}
6743
6707
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6744
6708
  \`\`\`
6709
+ </div>
6745
6710
 
6746
-
6747
-
6711
+ <div class="telegram hide">
6748
6712
  ## Telegram 机器人
6749
6713
  ---
6750
6714
  - 配置国内能访问的Telegram服务地址;
@@ -6766,9 +6730,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6766
6730
 
6767
6731
  <br>[详情]({{.DetailUrl}})|[认领]({{.DetailUrl}}?ack=1)
6768
6732
  \`\`\`
6733
+ </div>
6769
6734
 
6770
-
6771
-
6735
+ <div class="slack hide">
6772
6736
  ## Slack 机器人
6773
6737
  ---
6774
6738
  - 消息\`可以发送长度为15000左右字符,超出后截断发送\`;
@@ -6789,7 +6753,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6789
6753
  -----
6790
6754
  <br><{{.DetailUrl}}|详情>|<{{.DetailUrl}}?ack=1|认领>
6791
6755
  \`\`\`
6756
+ </div>
6792
6757
 
6758
+ <div class="zoom hide">
6793
6759
  ## Zoom 机器人
6794
6760
  ---
6795
6761
  - 消息\`可以发送长度为4000左右字符,超出后截断发送\`;
@@ -6888,9 +6854,10 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6888
6854
  ]
6889
6855
  }
6890
6856
  \`\`\`
6857
+ </div>
6891
6858
 
6892
6859
 
6893
-
6860
+ <div class="sms hide">
6894
6861
  ## 短信
6895
6862
  ---
6896
6863
  如果不设置自定义内容,将采用系统默认模板渲染通知:
@@ -6898,8 +6865,9 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6898
6865
  \`\`\`
6899
6866
  您有故障待处理:{{toHtml .Title}},协作空间:{{.ChannelName}},等级:{{.IncidentSeverity}}{{if gt .AlertCnt 1}},共聚合{{.AlertCnt}}条告警{{end}}
6900
6867
  \`\`\`
6868
+ </div>
6901
6869
 
6902
-
6870
+ <div class="email hide">
6903
6871
 
6904
6872
  ## 邮件
6905
6873
  ---
@@ -6994,7 +6962,7 @@ CloseTime | int64 | 否 | 关闭时间,EndTime 为告警恢复时间,CloseTi
6994
6962
 
6995
6963
  <img src="https://download.flashcat.cloud/flashduty/changelog/20230720/email_render.png" alt="drawing" style="display: block; margin: 0 auto;" width="500"/>
6996
6964
 
6997
-
6965
+ </div>
6998
6966
  `,HuaweiyunAPM:`---
6999
6967
  title: "华为云 APM 告警事件"
7000
6968
  description: "通过 webhook 的方式同步华为云 APM 告警事件到 Flashduty,实现告警事件自动化降噪处理"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flashduty-knowledge-base",
3
- "version": "1.2.3-beta.1",
3
+ "version": "1.2.4-beta.0",
4
4
  "description": "flashduty knowledge base",
5
5
  "type": "module",
6
6
  "scripts": {