失败率
0 失败低于 3%3% 及以上
{{ winName(w.minutes) }}
{{ w.rate.toFixed(1) }}%
失败 {{ fmt(w.fails) }} / 请求 {{ fmt(w.total) }}
上游 {{ w.up }}用户 {{ w.user }}
时间
用户
GPT 账号
模型
出了什么错
归因
次数
{{ hourRange(r.last_at) }}
失败 {{ tbl.hours[hourKey(r.last_at)].fails }} / 请求 {{ fmt(tbl.hours[hourKey(r.last_at)].total) }}
失败率 {{ tbl.hours[hourKey(r.last_at)].rate.toFixed(1) }}%
{{ r.n>1 && tm(r.first_at)!==tm(r.last_at) ? (tm(r.first_at)+' – '+tm(r.last_at)) : tmS(r.last_at) }}
{{ r.username||r.email||'?' }}
id {{ r.user_id }} · {{ r.machine_name }}
#{{ a.id }} {{ a.name }}+{{ r.accounts.length-2 }}未选到账号
{{ r.model||'-' }}
{{ codeText(r) }} · {{ r.reason }}
{{ chips[r.side] }} · {{ short[r.label]||r.label }}
×{{ r.n }}1
这个时间段没有匹配的失败记录
{{ tf.merge ? ('已合并为 '+fmt(tbl.groups)+' 组('+fmt(tbl.total)+' 条)') : (fmt(tbl.total)+' 条') }} · 第 {{ tbl.page }} / {{ Math.max(1, Math.ceil(tbl.groups/tbl.size)) }} 页
GPT 账号 · {{ winName(tableMinutes) }}失败率{{ ov.accounts.filter(a=>a.schedulable&&a.status==='active').length }} / {{ ov.accounts.length }} 可调度 · 失败 / 该账号承接的请求
#{{ a.account_id }} {{ a.name }} 未调度{{ a.status }}
{{ acctSub(a) }}
{{ a.total ? (a.fails+' / '+fmt(a.total)) : '—' }}
{{ a.rate===null?'—':a.rate.toFixed(1)+'%' }}
还没有采集到账号
用户 · {{ winName(tableMinutes) }}失败率失败 / 该用户总请求 · 按失败次数排序
{{ u.username }}
主要是 {{ short[u.top_label]||u.top_label }} · 上游 {{ u.up }} / 用户 {{ u.fails-u.up }}
{{ u.fails }} / {{ fmt(u.total) }}
{{ u.rate.toFixed(u.rate>=10?0:1) }}%
这个时间段没有失败
机器
每台被监控机需要:SSH 地址/端口/用户 + 把卡片里的公钥装进它的 authorized_keys + postgres 容器名(默认即 sub2api 标准部署)。首次「测试连接」会钉住主机指纹。
{{ m.name }} sub2api {{ m.sub2api_version }}已停用
{{ m.site_url||'-' }} · {{ m.ssh_user }}@{{ m.ssh_host }}:{{ m.ssh_port }}
{{ fmt(m.ok_24h) }}24h 成功
{{ fmt(m.err_24h) }}24h 失败
{{ m.up_24h }}其中上游问题
{{ mstateText(m) }} · 最近采集 {{ m.last_poll_at?tmL(m.last_poll_at):'从未' }} · 最近成功 {{ m.last_ok_at?tmL(m.last_ok_at):'从未' }} · 已拉到 id {{ m.last_remote_id }}
错误:{{ m.last_error }}
主机指纹 {{ m.hostkey_fp }}
监控端公钥(装到目标机 root 的 authorized_keys)
{{ m.public_key }}
在目标机执行:
mkdir -p ~/.ssh && chmod 700 ~/.ssh && printf '\n%s\n' '{{ m.public_key }}' >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
还没有机器,点右上角添加
通知与设置
通知通道
| 名称 | 类型 | 配置 | 状态 | |
|---|---|---|---|---|
| {{ c.name }} | {{ c.type==='telegram'?'Telegram':'飞书' }} | {{ c.type==='telegram'?('chat '+c.config.chat_id):(c.config.webhook_url||'') }} | {{ c.enabled?'启用':'停用' }} |
还没有通道
调度与规则
摘要预览 / 立即发送
分钟
{{ dg.text }}
最近通知记录
| 时间 | 类型 | 机器 | 通道 | 结果 |
|---|---|---|---|---|
| {{ tmL(n.created_at) }} | {{ kindName(n.kind) }} | {{ n.machine_name||'-' }} | {{ n.channel_name||'-' }} | {{ n.ok?'成功':'失败' }} {{ n.detail }} |
暂无