This is an automated email from the ASF dual-hosted git repository.
guoqi 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 6a845761c fix: the zh docs website build failed due to incorrect
unclosed tag <br> (#11926)
6a845761c is described below
commit 6a845761c3fbb18bd4bdc5efb278a6c351ae7434
Author: Qi Guo <[email protected]>
AuthorDate: Mon Jan 20 16:01:25 2025 +0800
fix: the zh docs website build failed due to incorrect unclosed tag <br>
(#11926)
---
docs/zh/latest/plugins/opentelemetry.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh/latest/plugins/opentelemetry.md
b/docs/zh/latest/plugins/opentelemetry.md
index 52b9fdc17..85d07b437 100644
--- a/docs/zh/latest/plugins/opentelemetry.md
+++ b/docs/zh/latest/plugins/opentelemetry.md
@@ -70,7 +70,7 @@ plugin_attr:
| 名称 | 类型 | 必选项 | 默认值 |
有效值 | 描述 |
|---------------------------------------|---------------|----------|--------------|--------------|-------------|
| sampler | object | 否 | -
| - | 采样策略。 |
-| sampler.name | string | 否 |
`always_off` | ["always_on", "always_off", "trace_id_ratio", "parent_base"] |
采样策略。<br>`always_on`:全采样;`always_off`:不采样;`trace_id_ratio`:基于 trace id
的百分比采样;`parent_base`:如果存在 tracing 上游,则使用上游的采样决定,否则使用配置的采样策略决策。|
+| sampler.name | string | 否 |
`always_off` | ["always_on", "always_off", "trace_id_ratio", "parent_base"] |
采样策略。<br />`always_on`:全采样;`always_off`:不采样;`trace_id_ratio`:基于 trace id
的百分比采样;`parent_base`:如果存在 tracing 上游,则使用上游的采样决定,否则使用配置的采样策略决策。|
| sampler.options | object | 否 | -
| - | 采样策略参数。 |
| sampler.options.fraction | number | 否 | 0
| [0, 1] | `trace_id_ratio`:采样策略的百分比。 |
| sampler.options.root | object | 否 | -
| - | `parent_base`:采样策略在没有上游 tracing 时,会使用 root 采样策略做决策。|