feat(i18n): U45 AI告警分析模块i18n补全 — analyzerHelpers 25处硬编码中文→i18n.t()插值 + 预测图标双语兼容

This commit is contained in:
attacker committed 2026-07-15 07:47:45 +08:00
1 parent 05ee051879
commit 6288fa0071
5 files changed
+89 -31

No files matched your search

+28
View File
@@ -8728,6 +8728,34 @@
"reachable": "reachable",
"cost": {
"aiInsight": "AI Deep Insight"
},
"analyzer": {
"cpuRootCause": "Detected CPU usage on {{target}} reached {{value}}, exceeding threshold {{threshold}}. Possible causes: 1) A process has an infinite loop or high computational load; 2) Frequent GC triggers (Java/Go apps); 3) Sudden traffic surge exceeding processing capacity.",
"cpuImpactCritical": "Sustained high CPU load will significantly increase service response latency, potentially triggering cascading failures affecting all services dependent on this node.",
"cpuImpactWarning": "CPU usage is elevated, which may slow down some request processing. Investigate promptly to prevent further degradation.",
"cpuRecLogin": "Log in to {{target}} and run top/htop to identify high-CPU processes",
"cpuRecScale": "Consider temporary scaling out or diverting traffic to other nodes",
"memRootCause": "Detected memory usage on {{target}} reached {{value}}, approaching or exceeding threshold {{threshold}}. Common causes: 1) Application memory leak, objects not properly released; 2) Cache configured too large; 3) Database connection pool not released in time.",
"memImpactCritical": "Memory exhaustion may trigger OOM Killer, forcibly terminating critical processes with extremely high service disruption risk.",
"memImpactWarning": "Memory continues to grow, may cause OOM in the long term. Investigate memory usage as soon as possible.",
"memRecCheck": "Check the highest memory-consuming processes on {{target}}",
"diskRootCause": "Detected disk usage on {{target}} reached {{value}}, exceeding threshold {{threshold}}. Most common causes: 1) Log files without rotation/cleanup configured; 2) Temporary file accumulation; 3) Database data file bloat.",
"diskImpactCritical": "Insufficient disk space may prevent services from writing data/logs, database may crash, filesystem may become read-only, with widespread impact.",
"diskImpactWarning": "Disk space alert. Failure to clean up promptly may cause service anomalies.",
"diskRecClean": "Clean up log files older than 30 days on {{target}}",
"netRootCause": "Detected network metric anomaly on {{target}} (current value {{value}}). Possible causes: 1) Upstream dependency services responding slowly; 2) Network bandwidth saturated; 3) DNS resolution latency; 4) Connection limit reached.",
"netImpactCritical": "Network anomalies will cause all requests through this node to time out, affecting availability of all upstream services.",
"netImpactWarning": "Network latency is elevated, may affect user experience. Investigate the network path.",
"netRecCheck": "Check network connections and bandwidth usage on {{target}}",
"serviceRootCause": "Detected service unavailable on {{target}} (metric {{metric}} = {{value}}). Possible causes: 1) Process crashed or killed by OOM Killer; 2) Port occupied or listening abnormally; 3) Health check endpoint returning errors; 4) Configuration errors causing startup failure.",
"serviceImpactCritical": "Service is completely unavailable. All business functions dependent on this service will be disrupted. Immediate action required.",
"serviceImpactWarning": "Service availability degraded. Some functions may be affected.",
"serviceRecCheck": "Immediately check service status on {{target}}: systemctl status <service>",
"defaultRootCause": "Detected alert triggered on {{target}}: \"{{name}}\", current metric value {{value}} exceeds threshold {{threshold}}. Further investigation of specific metric data and related logs is recommended to determine root cause.",
"defaultImpactCritical": "This alert severity is critical and may affect normal business operations. Prioritized handling is recommended.",
"defaultImpactWarning": "This alert requires attention. Continued deterioration may affect system stability.",
"defaultRecDashboard": "Check the monitoring dashboard for {{target}} to confirm metric trends",
"defaultEvent": "Alert event {{id}}"
}
},
"breadcrumb": {