Skip to content

feat: 添加 /healthz 健康检查与运行时诊断端点#33

Open
LeriusLei wants to merge 1 commit intoceresOPA:mainfrom
LeriusLei:feat/add-healthz-endpoint
Open

feat: 添加 /healthz 健康检查与运行时诊断端点#33
LeriusLei wants to merge 1 commit intoceresOPA:mainfrom
LeriusLei:feat/add-healthz-endpoint

Conversation

@LeriusLei
Copy link
Copy Markdown
Contributor

在 server/src/main.js 新增只读 GET /healthz 端点,
返回服务状态、版本号、运行时长、地图加载状态、
当前玩家数和 SSE 连接数,便于云端部署监控。

Closes #9

在 server/src/main.js 新增只读 GET /healthz 端点,
返回服务状态、版本号、运行时长、地图加载状态、
当前玩家数和 SSE 连接数,便于云端部署监控。

Closes ceresOPA#9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a health check and runtime diagnostics endpoint

1 participant