Add channel health diagnostics and gateway recovery fixes (#855)

This commit is contained in:
Lingxuan Zuo
2026-04-15 13:51:02 +08:00
committed by GitHub
Unverified
parent 6acd8acf5a
commit 1f39d1a8a7
22 changed files with 1868 additions and 52 deletions

View File

@@ -62,6 +62,7 @@
"connectionStatus": {
"connected": "已连接",
"connecting": "连接中",
"degraded": "异常降级",
"disconnected": "未连接",
"error": "异常"
},
@@ -99,6 +100,30 @@
"saveAndConnect": "保存并连接",
"envVar": "环境变量: {{var}}"
},
"health": {
"state": {
"degraded": "网关状态异常",
"unresponsive": "网关无响应"
},
"reasons": {
"gateway_degraded": "网关心跳近期出现异常。",
"gateway_unresponsive": "网关控制面看起来已经无响应。",
"channels_status_timeout": "频道运行时状态探测超时。",
"rpc_timeout": "最近的网关 RPC 调用发生超时。",
"gateway_not_running": "网关当前未运行。",
"gateway_error": "网关当前处于错误状态。",
"runtime_error": "频道运行时返回了错误。"
},
"restartGateway": "重启网关",
"copyDiagnostics": "复制诊断快照",
"viewDiagnostics": "查看诊断快照",
"hideDiagnostics": "隐藏诊断快照",
"diagnosticsTitle": "网关诊断快照",
"diagnosticsCopied": "诊断快照已复制到剪贴板",
"diagnosticsCopyFailed": "收集诊断快照失败:{{error}}",
"restartTriggered": "已请求重启网关",
"restartFailed": "重启网关失败:{{error}}"
},
"meta": {
"telegram": {
"description": "使用 @BotFather 提供的机器人令牌连接 Telegram",