From 6a845761c3fbb18bd4bdc5efb278a6c351ae7434 Mon Sep 17 00:00:00 2001 From: Qi Guo <979918879@qq.com> Date: Mon, 20 Jan 2025 16:01:25 +0800 Subject: [PATCH] fix: the zh docs website build failed due to incorrect unclosed tag
(#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 52b9fdc17a98..85d07b437fde 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"] | 采样策略。
`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"] | 采样策略。
`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 采样策略做决策。|