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": "Connected",
"connecting": "Connecting",
"degraded": "Degraded",
"disconnected": "Disconnected",
"error": "Error"
},
@@ -99,6 +100,30 @@
"saveAndConnect": "Save & Connect",
"envVar": "Environment Variable: {{var}}"
},
"health": {
"state": {
"degraded": "Gateway degraded",
"unresponsive": "Gateway unresponsive"
},
"reasons": {
"gateway_degraded": "Gateway heartbeat recently degraded.",
"gateway_unresponsive": "Gateway control plane appears unresponsive.",
"channels_status_timeout": "Channel runtime status probe timed out.",
"rpc_timeout": "Recent Gateway RPC calls timed out.",
"gateway_not_running": "Gateway is not running.",
"gateway_error": "Gateway is in an error state.",
"runtime_error": "Channel runtime reported an error."
},
"restartGateway": "Restart Gateway",
"copyDiagnostics": "Copy Diagnostics",
"viewDiagnostics": "View Diagnostics",
"hideDiagnostics": "Hide Diagnostics",
"diagnosticsTitle": "Gateway Diagnostics Snapshot",
"diagnosticsCopied": "Diagnostics copied to clipboard",
"diagnosticsCopyFailed": "Failed to collect diagnostics: {{error}}",
"restartTriggered": "Gateway restart requested",
"restartFailed": "Failed to restart gateway: {{error}}"
},
"meta": {
"telegram": {
"description": "Connect Telegram using a bot token from @BotFather",

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 に接続します",

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",