增加系统健康路由 #48
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
需求
增加 /health (系统状态) 和 /ready (服务就绪状态) 路由以满足生产环境 K8s/Docker 部署要求;提高运维监控能力
实现方案
增加/healthz和/readyz两个接口, 这个路由是业内默认的路由地址