You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2021/05/07 01:33:51 UTC

[apisix] branch master updated: docs: fix argument name for prometheus (#4190)

This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 5657fe0  docs: fix argument name for prometheus (#4190)
5657fe0 is described below

commit 5657fe088c0aca32cdfce2b60b9b3d9b8ce81fb9
Author: Shuyang Wu <wo...@gmail.com>
AuthorDate: Thu May 6 21:33:42 2021 -0400

    docs: fix argument name for prometheus (#4190)
    
    Signed-off-by: yiyiyimu <wo...@gmail.com>
---
 docs/zh/latest/plugins/prometheus.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/zh/latest/plugins/prometheus.md b/docs/zh/latest/plugins/prometheus.md
index aa69648..dc7c366 100644
--- a/docs/zh/latest/plugins/prometheus.md
+++ b/docs/zh/latest/plugins/prometheus.md
@@ -27,7 +27,7 @@ title: prometheus
 
 | 名称         | 类型   | 必选项 | 默认值  | 有效值       | 描述                                                  |
 | ------------ | ------ | ------ | ------ | ------------ | ----------------------------------------------------- |
-| prefer_type  | boolean | 可选 | false   |             | 设置为`true`时,Prometheus 指标中将使用路由和服务的 `name` 而不是 `id`。 |
+| prefer_name  | boolean | 可选 | false   |             | 设置为`true`时,Prometheus 指标中将使用路由和服务的 `name` 而不是 `id`。 |
 
 ## 接口