Pil0tXia commented on code in PR #3456:
URL: https://github.com/apache/eventmesh/pull/3456#discussion_r1257279216


##########
docs/zh/design-document/07-tracing.md:
##########
@@ -1,87 +1,128 @@
-# 分布式追踪 
+分布式追踪
+OpenTelemetry 概述
+OpenTelemetry 是工具、API 和 SDK 的集合。 
您可以使用它来检测、生成、收集和导出遥测数据(指标、日志和跟踪)以进行分析,以便了解您的软件的性能和行为。
 
-## OpenTelemetry概述 
+要求
+设置示踪剂
+不同的出口商
+服务器中的开始和结束跨度
+设计细节
+SpanProcessor:BatchSpanProcessor
 
-OpenTelemetry是一组API和SDK的工具,您可以使用它来仪器化、生成、收集和导出遥测数据(指标、日志和追踪),以便进行分析,以了解您的软件性能和行为。
+导出器:日志(默认),将从属性中更改
 
-## 需求
-
-- 设置追踪器
-- 不同的导出器
-- 在服务器中开始和结束跨度
-
-## 设计细节
-
-- 跨度处理器:BatchSpanProcessor
-
-- 导出器:默认为日志,可以从属性中更改
-
-```java
-// Configure the batch spans processor. This span processor exports span in 
batches.
+// 配置批处理跨度处理器。 此跨度处理器批量导出跨度。
 BatchSpanProcessor batchSpansProcessor =
-    BatchSpanProcessor.builder(exporter)
-        .setMaxExportBatchSize(512) // set the maximum batch size to use
-        .setMaxQueueSize(2048) // set the queue size. This must be >= the 
export batch size
-        .setExporterTimeout(
-            30, TimeUnit.SECONDS) // set the max amount of time an export can 
run before getting
-        // interrupted
-        .setScheduleDelay(5, TimeUnit.SECONDS) // set time between two 
different exports
-        .build();
+     BatchSpanProcessor.builder(出口商)
+         .setMaxExportBatchSize(512) // 设置要使用的最大批量大小
+         .setMaxQueueSize(2048) // 设置队列大小。 这必须 >= 导出批量大小
+         .setExporterTimeout(
+             30, TimeUnit.SECONDS) // 设置导出在获取之前可以运行的最长时间
+         // 中断
+         .setScheduleDelay(5, TimeUnit.SECONDS) // 设置两次不同导出之间的时间
+         。建造();

Review Comment:
   Please notice code block translation mistake.



##########
docs/zh/design-document/07-tracing.md:
##########
@@ -1,87 +1,128 @@
-# 分布式追踪 
+分布式追踪
+OpenTelemetry 概述
+OpenTelemetry 是工具、API 和 SDK 的集合。 
您可以使用它来检测、生成、收集和导出遥测数据(指标、日志和跟踪)以进行分析,以便了解您的软件的性能和行为。
 
-## OpenTelemetry概述 
+要求
+设置示踪剂
+不同的出口商
+服务器中的开始和结束跨度
+设计细节
+SpanProcessor:BatchSpanProcessor
 
-OpenTelemetry是一组API和SDK的工具,您可以使用它来仪器化、生成、收集和导出遥测数据(指标、日志和追踪),以便进行分析,以了解您的软件性能和行为。
+导出器:日志(默认),将从属性中更改
 
-## 需求
-
-- 设置追踪器
-- 不同的导出器
-- 在服务器中开始和结束跨度
-
-## 设计细节
-
-- 跨度处理器:BatchSpanProcessor
-
-- 导出器:默认为日志,可以从属性中更改
-
-```java
-// Configure the batch spans processor. This span processor exports span in 
batches.
+// 配置批处理跨度处理器。 此跨度处理器批量导出跨度。
 BatchSpanProcessor batchSpansProcessor =
-    BatchSpanProcessor.builder(exporter)
-        .setMaxExportBatchSize(512) // set the maximum batch size to use
-        .setMaxQueueSize(2048) // set the queue size. This must be >= the 
export batch size
-        .setExporterTimeout(
-            30, TimeUnit.SECONDS) // set the max amount of time an export can 
run before getting
-        // interrupted
-        .setScheduleDelay(5, TimeUnit.SECONDS) // set time between two 
different exports
-        .build();
+     BatchSpanProcessor.builder(出口商)

Review Comment:
   Code Block translation mistake.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to