Skip to content

Commit

Permalink
Update prometheus config
Browse files Browse the repository at this point in the history
  • Loading branch information
kesonan committed Oct 31, 2023
1 parent a49eac1 commit 70b3ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/go-zero-configuration/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ slug: /docs/tutorials/go-zero/configuration/prometheus
## prometheus 配置

[Config](https://github.com/zeromicro/go-zero/blob/master/core/prometheus/config.go) Prometheus 相关配置,我们会在进程中启动启动一个 prometheus 端口。
该配置已不推荐使用,请使用 https://github.com/zeromicro/go-zero/blob/master/internal/devserver/config.go 替换,详情可参考 <a href="/docs/tutorials/go-zero/configuration/service" target="_blank">基础服务配置</a>
该配置在 v1.4.3 后已不推荐使用,请使用 https://github.com/zeromicro/go-zero/blob/master/internal/devserver/config.go 替换,详情可参考 <a href="/docs/tutorials/go-zero/configuration/service" target="_blank">基础服务配置</a>

## 参数定义

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ slug: /docs/tutorials/go-zero/configuration/prometheus
## prometheus Configuration

[Config](https://github.com/zeromicro/go-zero/blob/master/core/prometheus/config.go) Prometheus configuration, we will start a prometheus port in the process.
This configuration has already deprecated,please use https://github.com/zeromicro/go-zero/blob/master/internal/devserver/config.go instead, for details please see <a href="/docs/tutorials/go-zero/configuration/service" target="_blank">Basic Service Configuration</a>
This configuration has already deprecated after version v1.4.3,please use https://github.com/zeromicro/go-zero/blob/master/internal/devserver/config.go instead, for details please see <a href="/docs/tutorials/go-zero/configuration/service" target="_blank">Basic Service Configuration</a>
## Definition of parameters

```go
Expand Down

0 comments on commit 70b3ee7

Please sign in to comment.