Skip to content

Commit

Permalink
fix: the docs website build error (#11924)
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqqqi authored Jan 20, 2025
1 parent 3a11ac5 commit 8801859
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/en/latest/plugins/opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ keywords:
- Plugin
- OpenTelemetry
description: The opentelemetry Plugin instruments APISIX and sends traces to OpenTelemetry collector based on the OpenTelemetry specification, in binary-encoded OLTP over HTTP.

---
<!--
#
Expand Down Expand Up @@ -73,7 +72,7 @@ Reload APISIX for changes to take effect.
| Name | Type | Required | Default | Valid Values | Description |
|---------------------------------------|---------------|----------|--------------|--------------|-------------|
| sampler | object | False | - | - | Sampling configuration. |
| sampler.name | string | False | `always_off` | ["always_on", "always_off", "trace_id_ratio", "parent_base"] | Sampling strategy.<br>To always sample, use `always_on`.<br>To never sample, use `always_off`.<br>To randomly sample based on a given ratio, use `trace_id_ratio`.<br>To use the sampling decision of the span's parent, use `parent_base`. If there is no parent, use the root sampler. |
| sampler.name | string | False | `always_off` | ["always_on", "always_off", "trace_id_ratio", "parent_base"] | Sampling strategy.<br />To always sample, use `always_on`.<br />To never sample, use `always_off`.<br />To randomly sample based on a given ratio, use `trace_id_ratio`.<br />To use the sampling decision of the span's parent, use `parent_base`. If there is no parent, use the root sampler. |
| sampler.options | object | False | - | - | Parameters for sampling strategy. |
| sampler.options.fraction | number | False | 0 | [0, 1] | Sampling ratio when the sampling strategy is `trace_id_ratio`. |
| sampler.options.root | object | False | - | - | Root sampler when the sampling strategy is `parent_base` strategy. |
Expand Down

0 comments on commit 8801859

Please sign in to comment.