Skip to content

Commit

Permalink
Merge pull request #125 from jaronnie/patch-2
Browse files Browse the repository at this point in the history
Update index.md
  • Loading branch information
kevwan authored Apr 10, 2024
2 parents 0451abb + da5cc04 commit fbb88cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/monitor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ slug: /docs/tutorials/monitor/index

## 健康检查

go-zero 启动的服务(RPC Server 或 HTTP Server)默认集成健康检查,健康检查默认端口为`6470`,默认 Path 为`/healthz`,服务启动后访问健康检查地址会返回`OK`
go-zero 启动的服务(RPC Server 或 HTTP Server)默认集成健康检查,健康检查默认端口为`6060`,默认 Path 为`/healthz`,服务启动后访问健康检查地址会返回`OK`

```shell
curl -i http://127.0.0.1:6470/healthz
curl -i http://127.0.0.1:6060/healthz
HTTP/1.1 200 OK
Date: Thu, 09 Mar 2023 02:34:17 GMT
Content-Length: 2
Expand Down

0 comments on commit fbb88cc

Please sign in to comment.