This is an automated email from the ASF dual-hosted git repository.
ashishtiwari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new 191887f4 docs: add `prefer_name` to `ApisixClusterConfig/v2` spec
(#2249)
191887f4 is described below
commit 191887f492c47cff266eecd3cdb5397049f7815d
Author: Traky Deng <[email protected]>
AuthorDate: Fri Jul 5 00:40:49 2024 +0800
docs: add `prefer_name` to `ApisixClusterConfig/v2` spec (#2249)
* add prefer name to apisix cluster config spec
* correct attribute
---
docs/en/latest/references/apisix_cluster_config_v2.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/en/latest/references/apisix_cluster_config_v2.md
b/docs/en/latest/references/apisix_cluster_config_v2.md
index 1006f521..06ea52c0 100644
--- a/docs/en/latest/references/apisix_cluster_config_v2.md
+++ b/docs/en/latest/references/apisix_cluster_config_v2.md
@@ -36,6 +36,7 @@ See the
[definition](https://github.com/apache/apisix-ingress-controller/blob/ma
| monitoring | object | Monitoring configurations.
|
| monitoring.prometheus | object | Prometheus configurations.
|
| monitoring.prometheus.enable | boolean | When set to `true`, enables
Prometheus. |
+| monitoring.prometheus.prefer_name | boolean | When set to `true`, prints
Route/Service name instead of their ID in Prometheus metrics. |
| monitoring.skywalking | object | Apache SkyWalking
configurations. |
| monitoring.skywalking.enable | boolean | When set to `true`, enables
SkyWalking. |
| monitoring.skywalking.sampleRatio | number | Sample ratio for spans. Should
be in `[0, 1]`. |