gala-anteater/add-chinese-descriptions.patch
Zhen Chen 1f46c219ad Model optimization and bugfix
- fix str2enum bug & data query refactor
- add systemd service for anteater
- remove 'sys-level' config param
- add chinese descriptions
- Update TCP Establish Model & Add Nic Loss Detector
- Add disk throughput detector

(cherry picked from commit f3c17e8c6a619a7803afd89b945ae3f36d17f9b0)
2023-01-17 22:40:46 +08:00

534 lines
28 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From e0e99ac8fc3de9e8781f5d7acd5e9fe1832461b0 Mon Sep 17 00:00:00 2001
From: lizhenxing11 <lizhenxing11@huawei.com>
Date: Tue, 3 Jan 2023 15:27:45 +0800
Subject: [PATCH] add chinese descriptions
update description
fix typo
update th
---
anteater/core/kpi.py | 2 +-
anteater/template/app_anomaly_template.py | 5 ++-
anteater/template/sys_anomaly_template.py | 2 +-
anteater/utils/data_load.py | 14 ++++++--
config/module/app_sli_rtt.json | 2 ++
config/module/disk_throughput.json | 6 ++++
config/module/proc_io_latency.json | 31 +++++++++++-----
config/module/sys_io_latency.json | 25 ++++++++-----
config/module/sys_nic_loss.json | 21 +++++++----
config/module/sys_tcp_establish.json | 4 ++-
.../module/sys_tcp_transmission_latency.json | 36 ++++++++++++-------
11 files changed, 104 insertions(+), 44 deletions(-)
diff --git a/anteater/core/kpi.py b/anteater/core/kpi.py
index 3480139..f83b666 100644
--- a/anteater/core/kpi.py
+++ b/anteater/core/kpi.py
@@ -23,7 +23,7 @@ class KPI:
kpi_type: str
entity_name: str
enable: bool
- description: str = ""
+ description: str
params: dict = field(default=dict)
atrend: AnomalyTrend = AnomalyTrend.DEFAULT
diff --git a/anteater/template/app_anomaly_template.py b/anteater/template/app_anomaly_template.py
index 4df4a35..3770d2e 100644
--- a/anteater/template/app_anomaly_template.py
+++ b/anteater/template/app_anomaly_template.py
@@ -33,7 +33,7 @@ class AppAnomalyTemplate(Template):
'event_type': 'app',
'event_source': 'gala-anteater',
'keywords': self.keywords,
- 'cause_metric': self.cause_metrics[0] if self.cause_metrics else {'description': 'Unknown'}
+ 'cause_metric': self.cause_metrics[0] if self.cause_metrics else {'description': self.description}
},
'Resource': {
'metric': self.metric,
@@ -46,8 +46,7 @@ class AppAnomalyTemplate(Template):
'SeverityNumber': 13,
'Body': f'{self.timestamp.strftime("%c")} WARN, APP may be impacting sli performance issues.',
'event_id': f'{timestamp}_{self.entity_id}',
- "keywords": self.keywords,
- 'cause_metrics': self.cause_metrics[0] if self.cause_metrics else {'description': 'Unknown'}
+ "keywords": self.keywords
}
return result
diff --git a/anteater/template/sys_anomaly_template.py b/anteater/template/sys_anomaly_template.py
index aec6ea0..d3c7e82 100644
--- a/anteater/template/sys_anomaly_template.py
+++ b/anteater/template/sys_anomaly_template.py
@@ -33,7 +33,7 @@ class SysAnomalyTemplate(Template):
'event_type': 'sys',
'event_source': 'gala-anteater',
'keywords': self.keywords,
- 'cause_metric': self.cause_metrics[0] if self.cause_metrics else {'description': 'Unknown'}
+ 'cause_metric': self.cause_metrics[0] if self.cause_metrics else {'description': self.description}
},
'Resource': {
'metric': self.metric,
diff --git a/anteater/utils/data_load.py b/anteater/utils/data_load.py
index b6991c6..730c9c6 100644
--- a/anteater/utils/data_load.py
+++ b/anteater/utils/data_load.py
@@ -47,8 +47,9 @@ def load_job_config(file_name) -> JobConfig:
job_type = config['job_type']
keywords = config['keywords']
root_cause_number = config['root_cause_number']
- kpis = [KPI(**_conf) for _conf in config['KPI']]
- features = [Feature(**_conf) for _conf in config['Features']]
+
+ kpis = [KPI(**update_description(_conf)) for _conf in config['KPI']]
+ features = [Feature(**update_description(_conf)) for _conf in config['Features']]
model_config = None
if 'OnlineModel' in config:
@@ -81,3 +82,12 @@ def load_job_config(file_name) -> JobConfig:
features=features,
model_config=model_config
)
+
+
+def update_description(conf: dict):
+ """Changes description to zh"""
+ if 'description-zh' in conf:
+ conf['description'] = conf['description-zh']
+ del conf['description-zh']
+
+ return conf
diff --git a/config/module/app_sli_rtt.json b/config/module/app_sli_rtt.json
index db29392..0146883 100644
--- a/config/module/app_sli_rtt.json
+++ b/config/module/app_sli_rtt.json
@@ -12,6 +12,7 @@
"entity_name": "sli",
"enable": false,
"description": "sli rtt 异常",
+ "description-zh": "应用级请求往返时延RTT异常",
"params": {
"look_back": 10,
"obs_size": 25,
@@ -28,6 +29,7 @@
"entity_name": "sli",
"enable": true,
"description": "sli tps 异常",
+ "description-zh": "应用级请求吞吐量TPS异常",
"params": {
"look_back": 10,
"obs_size": 25,
diff --git a/config/module/disk_throughput.json b/config/module/disk_throughput.json
index 00276c0..f6244f6 100644
--- a/config/module/disk_throughput.json
+++ b/config/module/disk_throughput.json
@@ -12,6 +12,7 @@
"entity_name": "disk",
"enable": true,
"description": "Disk read await time is increasing!",
+ "description-zh": "磁盘读响应时间升高,性能发生劣化",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -28,6 +29,7 @@
"entity_name": "disk",
"enable": true,
"description": "Disk write await time is increasing!",
+ "description-zh": "磁盘写响应时间升高,性能发生劣化",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -68,24 +70,28 @@
"metric": "gala_gopher_disk_rspeed_kB",
"priority": 0,
"description": "The disk I/O await time performance deteriorates due to read throughput rise (read kbytes/second).(Disk = {})",
+ "description-zh": "磁盘读吞吐量异常升高导致I/O等待时间性能劣化(Disk = {})",
"atrend": "rise"
},
{
"metric": "gala_gopher_disk_wspeed_kB",
"priority": 0,
"description": "The disk I/O await time performance deteriorates due to write throughput rise (write kbytes/second).(Disk = {})",
+ "description-zh": "磁盘写吞吐量异常升高导致I/O等待时间性能劣化(Disk = {})",
"atrend": "rise"
},
{
"metric": "gala_gopher_disk_rareq",
"priority": 0,
"description": "The disk I/O await time performance deteriorates due to read saturation rise.(Disk = {})",
+ "description-zh": "磁盘读饱和度量异常升高导致I/O等待时间性能劣化(Disk = {})",
"atrend": "rise"
},
{
"metric": "gala_gopher_disk_wareq",
"priority": 0,
"description": "The disk I/O await time performance deteriorates due to write saturation rise.(Disk = {})",
+ "description-zh": "磁盘读写饱和度量异常升高导致I/O等待时间性能劣化(Disk = {})",
"atrend": "rise"
}
]
diff --git a/config/module/proc_io_latency.json b/config/module/proc_io_latency.json
index c6c03c1..f086b87 100644
--- a/config/module/proc_io_latency.json
+++ b/config/module/proc_io_latency.json
@@ -12,6 +12,7 @@
"entity_name": "proc",
"enable": true,
"description": "I/O operation delay at the BIO layer (unit: us)",
+ "description-zh": "BIO层I/O操作延时高(单位us)",
"params": {
"look_back": 20,
"obs_size": 37,
@@ -28,6 +29,7 @@
"entity_name": "proc",
"enable": true,
"description": "Number of small I/O (less than 4 KB) read operations at the BIO layer.",
+ "description-zh": "BIO层小数据I/O读操作数量异常小于4KB",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -44,6 +46,7 @@
"entity_name": "proc",
"enable": true,
"description": "Number of small I/O (less than 4 KB) write operations at the BIO layer.",
+ "description-zh": "BIO层小数据I/O写操作数量异常小于4KB",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -61,6 +64,7 @@
"entity_name": "proc",
"enable": true,
"description": "Number of big I/O (greater than 4 KB) read operations at the BIO layer.",
+ "description-zh": "BIO层大数据I/O读操作数量异常大于4KB",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -76,7 +80,8 @@
"kpi_type": "",
"entity_name": "proc",
"enable": true,
- "description": "Number of big I/O (greater than 4 KB) read operations at the BIO layer.",
+ "description": "Number of big I/O (greater than 4 KB) write operations at the BIO layer.",
+ "description-zh": "BIO层大数据写操作数量异常大于4KB",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -116,42 +121,50 @@
{
"metric": "gala_gopher_block_latency_req_max",
"priority": 4,
- "description": "The system I/O performance deteriorates due to a drive failure.(Disk = {})"
+ "description": "Process I/O performance deteriorates due to system I/O bandwidth insufficient.(Disk = {})",
+ "description-zh": "系统I/O带宽不足引起进程I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_latency_device_max",
"priority": 3,
- "description": "Degraded system I/O performance due to device (disk) failure.(Disk = {})"
+ "description": "Process I/O performance deteriorates due to device I/O bandwidth insufficient.(Disk = {})",
+ "description-zh": "设备I/O带宽不足引起进程I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_read_bytes",
"priority": 2,
- "description": "System performance deteriorates due to frequent read I/O operations.(Disk = {})"
+ "description": "Process I/O performance deteriorates due to frequent read I/O operations.(Disk = {})",
+ "description-zh": "频繁I/O读操作引起进程I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_write_bytes",
"priority": 2,
- "description": "System performance deteriorates due to frequent write I/O operations.(Disk = {})"
+ "description": "Process I/O performance deteriorates due to frequent write I/O operations.(Disk = {})",
+ "description-zh": "频繁写操作引起进程I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_proc_less_4k_io_read",
"priority": 0,
- "description": "System performance degrades due to frequent small I/O read operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "Process I/O performance degrades due to frequent small I/O read operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁小数据量小于4KB读操作引起进程I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_less_4k_io_write",
"priority": 0,
- "description": "System performance degrades due to frequent small I/O write operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "Process I/O performance degrades due to frequent small I/O write operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁小数据量小于4KB写操作引起进程I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_greater_4k_io_read",
"priority": 1,
- "description": "System performance degrades due to frequent big I/O read operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "Process I/O performance degrades due to frequent big I/O read operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁大数据量大于4KB读操作引起进程I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_greater_4k_io_write",
"priority": 1,
- "description": "System performance degrades due to frequent big I/O write operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "Process I/O performance degrades due to frequent big I/O write operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁大数据量大于4KB写操作引起进程I/O性能劣化Disk={}PID={}comm={}"
}
]
}
\ No newline at end of file
diff --git a/config/module/sys_io_latency.json b/config/module/sys_io_latency.json
index e58990d..bdf17d3 100644
--- a/config/module/sys_io_latency.json
+++ b/config/module/sys_io_latency.json
@@ -12,6 +12,7 @@
"entity_name": "block",
"enable": true,
"description": "Block I/O latency performance is deteriorating!",
+ "description-zh": "Block层I/O操作时延性能劣化",
"params": {
"look_back": 20,
"obs_size": 25,
@@ -51,42 +52,50 @@
{
"metric": "gala_gopher_block_latency_driver_max",
"priority": 4,
- "description": "The system I/O performance deteriorates due to a drive failure.(Disk = {})"
+ "description": "The system I/O performance deteriorates due to a drive failure.(Disk = {})",
+ "description-zh": "驱动异常引起系统I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_latency_device_max",
"priority": 3,
- "description": "Degraded system I/O performance due to device (disk) failure.(Disk = {})"
+ "description": "Degraded system I/O performance due to device (disk) failure.(Disk = {})",
+ "description-zh": "设备磁盘异常引起系统I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_read_bytes",
"priority": 2,
- "description": "System performance deteriorates due to frequent read I/O operations.(Disk = {})"
+ "description": "System performance deteriorates due to frequent read I/O operations.(Disk = {})",
+ "description-zh": "频繁读操作引起系统I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_block_write_bytes",
"priority": 2,
- "description": "System performance deteriorates due to frequent write I/O operations.(Disk = {})"
+ "description": "System performance deteriorates due to frequent write I/O operations.(Disk = {})",
+ "description-zh": "频繁写操作引起系统I/O性能劣化Disk={}"
},
{
"metric": "gala_gopher_proc_less_4k_io_read",
"priority": 0,
- "description": "System performance degrades due to frequent small I/O read operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "System performance degrades due to frequent small I/O read operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁小数据量小于4KB读操作引起系统I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_less_4k_io_write",
"priority": 0,
- "description": "System performance degrades due to frequent small I/O write operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "System performance degrades due to frequent small I/O write operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁小数据量小于4KB写操作引起系统I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_greater_4k_io_read",
"priority": 1,
- "description": "System performance degrades due to frequent big I/O read operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "System performance degrades due to frequent big I/O read operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁大数据量大于4KB读操作引起系统I/O性能劣化Disk={}PID={}comm={}"
},
{
"metric": "gala_gopher_proc_greater_4k_io_write",
"priority": 1,
- "description": "System performance degrades due to frequent big I/O write operations.(Disk = {}, PID = {}, comm = {})"
+ "description": "System performance degrades due to frequent big I/O write operations.(Disk = {}, PID = {}, comm = {})",
+ "description-zh": "频繁大数据量大于4KB写操作引起系统I/O性能劣化Disk={}PID={}comm={}"
}
]
}
\ No newline at end of file
diff --git a/config/module/sys_nic_loss.json b/config/module/sys_nic_loss.json
index 793f82f..8a1feb8 100644
--- a/config/module/sys_nic_loss.json
+++ b/config/module/sys_nic_loss.json
@@ -11,7 +11,8 @@
"kpi_type": "",
"entity_name": "nic",
"enable": true,
- "description": "TC发送丢包数异常",
+ "description": "TC sent dropped packets",
+ "description-zh": "TC发送丢包数异常",
"params": {
"look_back": 2,
"th": 1
@@ -22,32 +23,38 @@
{
"metric": "gala_gopher_nic_tx_dropped",
"priority": 0,
- "description": "网卡发送丢弃的数据包数异常。(dev_name = {})"
+ "description": "The number of lost packets sent by the nic card are increasing and the NIC performance deteriorates.(dev_name = {})",
+ "description-zh": "网卡发送丢弃的数据包数增加导致网卡性能劣化dev_name={}"
},
{
"metric": "gala_gopher_nic_rx_dropped",
"priority": 0,
- "description": "网卡接收丢弃的数据包数异常。(dev_name = {})"
+ "description": "The number of lost packets received by the nic card are increasing and the NIC performance deteriorates.(dev_name = {})",
+ "description-zh": "网卡接收丢弃的数据包数增加导致网卡性能劣化dev_name={}"
},
{
"metric": "gala_gopher_tcp_link_sk_drops",
"priority": 3,
- "description": "Packets are lost in the host protocol stack due to unknown causes, and the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "Packets are lost in the host protocol stack due to unknown causes, and the NIC performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "由于未知原因数据包在主机协议栈中丢失导致网卡性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_retran_packets",
"priority": 1,
- "description": "TCP retransmission is triggered due to network faults, resulting in TCP performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "TCP retransmission is triggered due to network faults, resulting in the NIC performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "网络故障触发TCP重传导致网卡性能下降PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_lost_out",
"priority": 3,
- "description": "The network may be congested, causing abnormal TCP packet loss and performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The network may be congested, causing abnormal NIC packet loss and performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "网络拥塞导致网卡异常丢包性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_notsent_bytes",
"priority": 4,
- "description": "Due to network delay or peer application performance, too many packets to be sent are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "Due to network delay or peer application performance, too many packets to be sent are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "由于网络延迟或对端应用程序性能滑动窗口中累积了太多要发送的数据包导致网卡性能劣化PID={}client IP={}Server IP={}Port={}"
}
]
}
\ No newline at end of file
diff --git a/config/module/sys_tcp_establish.json b/config/module/sys_tcp_establish.json
index 2c158c0..7cd2369 100644
--- a/config/module/sys_tcp_establish.json
+++ b/config/module/sys_tcp_establish.json
@@ -12,6 +12,7 @@
"entity_name": "tcp_link",
"enable": true,
"description": "RTT of syn packet(us): the max syn packets rtt is {:.0f} us",
+ "description-zh": "SYN数据包时延异常最大SYN数据包时延为{:.0f}us。",
"params": {
"look_back": 30,
"outlier_ratio_th": 0.5,
@@ -24,7 +25,8 @@
{
"metric": "gala_gopher_endpoint_retran_synacks",
"priority": 0,
- "description": "TCP established performance deteriorates due to loss of SYN/ACK packets.(PID = {}, TCP Listen Port = {})"
+ "description": "TCP established performance deteriorates due to loss of SYN/ACK packets.(PID = {}, TCP Listen Port = {})",
+ "description-zh": "由于SYN/ACK数据包丢失TCP建链性能劣化PID={}TCP Listen Port={}"
}
]
}
\ No newline at end of file
diff --git a/config/module/sys_tcp_transmission_latency.json b/config/module/sys_tcp_transmission_latency.json
index d9e7f80..0527487 100644
--- a/config/module/sys_tcp_transmission_latency.json
+++ b/config/module/sys_tcp_transmission_latency.json
@@ -12,10 +12,11 @@
"entity_name": "tcp_link",
"enable": true,
"description": "Smoothed Round Trip Time(us)",
+ "description-zh": "TCP链接往返时延异常性能劣化",
"params": {
"look_back": 20,
"obs_size": 25,
- "n": 4,
+ "n": 3,
"outlier_ratio_th": 0.4,
"smooth_params": {
"method": "conv_smooth",
@@ -52,57 +53,68 @@
{
"metric": "gala_gopher_tcp_link_notsent_bytes",
"priority": 4,
- "description": "Due to network delay or peer application performance, too many packets to be sent are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "Due to network delay or peer application performance, too many packets to be sent are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "由于网络延迟或对端应用程序性能滑动窗口中累积了太多要发送的数据包导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_notack_bytes",
"priority": 4,
- "description": "Due to network delay or peer application performance, too many NO ACK packets are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "Due to network delay or peer application performance, too many NO ACK packets are accumulated in the sliding window. As a result, TCP performance deteriorates. (PID = {}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "由于网络延迟或对端应用程序性能滑动窗口中累积了过多的NO ACK数据包导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_snd_wnd",
"priority": 4,
- "description": "The TCP send window is abnormal due to peer application performance or network congestion. As a result, the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The TCP send window is abnormal due to peer application performance or network congestion. As a result, the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "对端应用性能或网络拥塞导致TCP发送窗口异常导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_rcv_wnd",
"priority": 4,
- "description": "The TCP receive window becomes abnormal due to the local application performance. As a result, the performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The TCP receive window becomes abnormal due to the local application performance. As a result, the performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "本地应用性能导致TCP接收窗口异常传输性能变差PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_avl_snd_wnd",
"priority": 4,
- "description": "The available TCP send window may be abnormal due to network congestion and the performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The available TCP send window may be abnormal due to network congestion and the performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "可用的TCP发送窗口可能因网络拥塞而异常传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_lost_out",
"priority": 3,
- "description": "The network may be congested, causing abnormal TCP packet loss and performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The network may be congested, causing abnormal TCP packet loss and performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "网络可能拥塞导致TCP异常丢包传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_sk_drops",
"priority": 3,
- "description": "Packets are lost in the host protocol stack due to unknown causes, and the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "Packets are lost in the host protocol stack due to unknown causes, and the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "主机协议栈不明原因丢包导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_retran_packets",
"priority": 1,
- "description": "TCP retransmission is triggered due to network faults, resulting in TCP performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "TCP retransmission is triggered due to network faults, resulting in TCP performance deterioration. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "网络故障触发TCP重传导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_backlog_drops",
"priority": 0,
- "description": "TCP backlog overflows due to local application performance. As a result, TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "TCP backlog overflows due to local application performance. As a result, TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "由于本地应用程序性能问题TCP积压溢出导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_sacked_out",
"priority": 2,
- "description": "TCP performance deteriorates due to network out-of-order. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "TCP performance deteriorates due to network out-of-order. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "网络乱序导致TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
},
{
"metric": "gala_gopher_tcp_link_sk_backlog_size",
"priority": 0,
- "description": "The TCP backlog queue length is abnormal due to the local application performance. As a result, the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})"
+ "description": "The TCP backlog queue length is abnormal due to the local application performance. As a result, the TCP performance deteriorates. (PID ={}, client IP = {}, Server IP = {}, Port = {})",
+ "description-zh": "本地应用性能导致TCP backlog队列长度异常TCP传输性能劣化PID={}client IP={}Server IP={}Port={}"
}
]
}
\ No newline at end of file
--
2.33.0