refactor(i18n): U25 AIOps 模块 phantom key 清零 — analyzerHelpers.ts (23处) + capacity-predict.ts (18处) 中文文本键替换为 aiops.analysis.*/aiops.capacity.* 语义化键 + 硬编码资源名 i18n 化 + buildCapacityInsightPrompt 重复行合并, zh/en 6990=6990 对齐, tsc -b=0, npm build✓ (18.66s), ESLint=0/53/0, go build=0, 17/17 测试通过
This commit is contained in:
1 parent
d21eac9117
commit
c6a50216dd
4 files changed
+81
-43
No files matched your search
@@ -7402,7 +7402,26 @@
|
||||
"predictivecost.aiInsight": "AI Deep Analysis",
|
||||
"agentcli.archLayer": "LLM + Tool Layer",
|
||||
"agentcli.archDesc": "OpenAI-compatible LLM; tools include ssh_execute (remote execution) and analyze_output (output analysis).",
|
||||
"agentcli.securityLayer": "Security + Prompt"
|
||||
"agentcli.securityLayer": "Security + Prompt",
|
||||
"analysis": {
|
||||
"checkAbnormalTasks": "Check for abnormal cron jobs or batch tasks running",
|
||||
"checkSystemLogs": "Check system and application logs for the corresponding time period",
|
||||
"unknownAlert": "Unknown Alert",
|
||||
"unknownTarget": "Unknown Target",
|
||||
"topCpuProcess": "Top CPU Process: PID=$PID"
|
||||
},
|
||||
"capacity": {
|
||||
"recCpu": "CPU growth trend is significant. Consider scaling compute resources or optimizing high-load processes.",
|
||||
"recMemory": "Memory growth trend is significant. Consider adding memory or investigating memory leaks.",
|
||||
"recDisk": "Disk space is running low. Consider expanding storage or cleaning up historical data and logs.",
|
||||
"recMonitor": "Recommend continued monitoring of resource usage trends.",
|
||||
"in24Hours": "In 24 hours",
|
||||
"noRisk": "Growth is gradual, no threshold breach risk",
|
||||
"expertPrompt": "You are an AIOps capacity planning expert. Based on the following server resource capacity forecast data, provide a comprehensive risk assessment and actionable operations recommendations:",
|
||||
"resCpu": "Server CPU Compute",
|
||||
"resMemory": "Server Memory",
|
||||
"resDisk": "Storage Disk Space"
|
||||
}
|
||||
},
|
||||
"breadcrumb": {
|
||||
"dashboard": "Dashboard",
|
||||
|
||||
Reference in new issue
Block a user