This is an automated email from the ASF dual-hosted git repository.
traky 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 e34056e56 docs: fix the incorrect attribute structure in
`opentelemetry` plugin metadata example (#12097)
e34056e56 is described below
commit e34056e56d917dca66af7043583e101ff3c6b17d
Author: Traky Deng <[email protected]>
AuthorDate: Fri Mar 28 16:37:21 2025 +0800
docs: fix the incorrect attribute structure in `opentelemetry` plugin
metadata example (#12097)
---
docs/en/latest/plugins/opentelemetry.md | 20 ++++++++++----------
docs/zh/latest/plugins/opentelemetry.md | 20 ++++++++++----------
2 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/docs/en/latest/plugins/opentelemetry.md
b/docs/en/latest/plugins/opentelemetry.md
index 3b0c33ca5..54d930c7f 100644
--- a/docs/en/latest/plugins/opentelemetry.md
+++ b/docs/en/latest/plugins/opentelemetry.md
@@ -63,16 +63,16 @@ curl
http://127.0.0.1:9180/apisix/admin/plugin_metadata/opentelemetry -H "X-API-
"request_timeout": 3,
"request_headers": {
"Authorization": "token"
- },
- "batch_span_processor": {
- "drop_on_queue_full": false,
- "max_queue_size": 1024,
- "batch_timeout": 2,
- "inactive_timeout": 1,
- "max_export_batch_size": 16
- },
- "set_ngx_var": false
- }
+ }
+ },
+ "batch_span_processor": {
+ "drop_on_queue_full": false,
+ "max_queue_size": 1024,
+ "batch_timeout": 2,
+ "inactive_timeout": 1,
+ "max_export_batch_size": 16
+ },
+ "set_ngx_var": false
}'
```
diff --git a/docs/zh/latest/plugins/opentelemetry.md
b/docs/zh/latest/plugins/opentelemetry.md
index da0f6bb90..fa04fb79b 100644
--- a/docs/zh/latest/plugins/opentelemetry.md
+++ b/docs/zh/latest/plugins/opentelemetry.md
@@ -62,16 +62,16 @@ curl
http://127.0.0.1:9180/apisix/admin/plugin_metadata/opentelemetry -H "X-API-
"request_timeout": 3,
"request_headers": {
"Authorization": "token"
- },
- "batch_span_processor": {
- "drop_on_queue_full": false,
- "max_queue_size": 1024,
- "batch_timeout": 2,
- "inactive_timeout": 1,
- "max_export_batch_size": 16
- },
- "set_ngx_var": false
- }
+ }
+ },
+ "batch_span_processor": {
+ "drop_on_queue_full": false,
+ "max_queue_size": 1024,
+ "batch_timeout": 2,
+ "inactive_timeout": 1,
+ "max_export_batch_size": 16
+ },
+ "set_ngx_var": false
}'
```