5e74b0aad7
== API Key 系统 == - services/web_panel/routes/apikeys.py: CRUD + 权限模板 + 过期控制 - panel_auth + _check_plugin_auth 双重验证 (Session → API Key) - 模板: readonly(只读) / monitor(监控) / full(管理) - 持久化到 SenSuDB + 过期自动清理 == WebUI 框架设置页 == - static/web_panel/pages/settings.html: API Key 管理界面 - 创建对话框 (名称/权限/TTL), 列表表格, 一键删除 == 热重载修复 == - PluginService._reload_plugin: 路由器冻结时跳过 (避免破坏已注册路由) == 🛡️ Sentinel 插件 == - 多节点 SenSu 集群性能监控 - 后台 urllib+run_in_executor 轮询 (避免事件循环死锁) - SSE 实时推送仪表盘 - 节点管理页 (增删改+连接测试+备注) - 路径: /sentinel/api/nodes Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
407 B
YAML
17 lines
407 B
YAML
author: SenSu Team
|
|
description: 🛡️ 多节点 SenSu 集群性能监控 — 实时仪表盘 + 节点管理
|
|
name: Sentinel
|
|
nodes:
|
|
- api_key: sk-e77716bb9be5ab0d42a3154d7bacee7e555bfba1b828eb09
|
|
enabled: true
|
|
id: node-3733a070
|
|
name: 本地容器
|
|
notes: 骁龙8E Gen5
|
|
url: http://127.0.0.1:4200
|
|
settings:
|
|
auto_start: true
|
|
isolation: false
|
|
poll_interval: 3
|
|
request_timeout: 5
|
|
version: 1.0.0
|