You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by "xwm1992 (via GitHub)" <gi...@apache.org> on 2023/02/07 08:25:49 UTC

[GitHub] [incubator-eventmesh] xwm1992 commented on a diff in pull request #3049: Update 12-zipkin.md

xwm1992 commented on code in PR #3049:
URL: https://github.com/apache/incubator-eventmesh/pull/3049#discussion_r1098322652


##########
docs/zh/design-document/12-zipkin.md:
##########
@@ -1,49 +1,27 @@
-# 通过 Zipkin 观察 Trace
-
-### 1、下载和运行Zipkin
-
-请参考https://zipkin.io/pages/quickstart.html
-
-
-
-### 2、运行eventmesh
-
-运行eventmesh-starter(参考[eventmesh-runtime-quickstart](eventmesh-runtime-quickstart.md))
-
-运行eventmesh-example(参考[eventmesh-sdk-java-quickstart](eventmesh-sdk-java-quickstart.md))
-
-
-
-### 3、相关的设置
-
-eventmesh-runtime/conf/eventmesh.properties中:
-
-默认的exporter是log,需要手动改成Zipkin
-
-```properties
-#trace exporter
-eventmesh.trace.exporter.type=Zipkin
-```
-下面是关于Zipkin的各种配置
-```properties
-#set the maximum batch size to use
-eventmesh.trace.exporter.max.export.size=512
-#set the queue size. This must be >= the export batch size
-eventmesh.trace.exporter.max.queue.size=2048
-#set the max amount of time an export can run before getting(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.timeout=30
-#set time between two different exports(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.interval=5
-
-#zipkin
-eventmesh.trace.export.zipkin.ip=localhost
-eventmesh.trace.export.zipkin.port=9411
-```
-
-以上都是相关的配置,如果你十分熟悉Zipkin的话可以自行修改。
-
-
-
-### 4、观察
-
-浏览器打开: **localhost:9411**
+使用 Zipkin 收集痕迹
+齐普金

Review Comment:
   here just use Zipkin, and second level heading



##########
docs/zh/design-document/12-zipkin.md:
##########
@@ -1,49 +1,27 @@
-# 通过 Zipkin 观察 Trace
-
-### 1、下载和运行Zipkin
-
-请参考https://zipkin.io/pages/quickstart.html
-
-
-
-### 2、运行eventmesh
-
-运行eventmesh-starter(参考[eventmesh-runtime-quickstart](eventmesh-runtime-quickstart.md))
-
-运行eventmesh-example(参考[eventmesh-sdk-java-quickstart](eventmesh-sdk-java-quickstart.md))
-
-
-
-### 3、相关的设置
-
-eventmesh-runtime/conf/eventmesh.properties中:
-
-默认的exporter是log,需要手动改成Zipkin
-
-```properties
-#trace exporter
-eventmesh.trace.exporter.type=Zipkin
-```
-下面是关于Zipkin的各种配置
-```properties
-#set the maximum batch size to use
-eventmesh.trace.exporter.max.export.size=512
-#set the queue size. This must be >= the export batch size
-eventmesh.trace.exporter.max.queue.size=2048
-#set the max amount of time an export can run before getting(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.timeout=30
-#set time between two different exports(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.interval=5
-
-#zipkin
-eventmesh.trace.export.zipkin.ip=localhost
-eventmesh.trace.export.zipkin.port=9411
-```
-
-以上都是相关的配置,如果你十分熟悉Zipkin的话可以自行修改。
-
-
-
-### 4、观察
-
-浏览器打开: **localhost:9411**
+使用 Zipkin 收集痕迹
+齐普金
+分布式跟踪是一种用于分析和监控使用微服务架构构建的应用程序的方法。 分布式跟踪有助于查明发生故障的位置以及导致性能不佳的原因。
+
+Zipkin 是一种分布式跟踪系统,可帮助收集解决服务架构中的延迟问题所需的计时数据。 EventMesh 公开了可以由 Zipkin 收集和分析的跟踪数据集合。 请按照“Zipkin 快速入门”教程下载并安装最新版本的 Zipkin。
+
+配置

Review Comment:
   change to second level heading



##########
docs/zh/design-document/12-zipkin.md:
##########
@@ -1,49 +1,27 @@
-# 通过 Zipkin 观察 Trace
-
-### 1、下载和运行Zipkin
-
-请参考https://zipkin.io/pages/quickstart.html
-
-
-
-### 2、运行eventmesh
-
-运行eventmesh-starter(参考[eventmesh-runtime-quickstart](eventmesh-runtime-quickstart.md))
-
-运行eventmesh-example(参考[eventmesh-sdk-java-quickstart](eventmesh-sdk-java-quickstart.md))
-
-
-
-### 3、相关的设置
-
-eventmesh-runtime/conf/eventmesh.properties中:
-
-默认的exporter是log,需要手动改成Zipkin
-
-```properties
-#trace exporter
-eventmesh.trace.exporter.type=Zipkin
-```
-下面是关于Zipkin的各种配置
-```properties
-#set the maximum batch size to use
-eventmesh.trace.exporter.max.export.size=512
-#set the queue size. This must be >= the export batch size
-eventmesh.trace.exporter.max.queue.size=2048
-#set the max amount of time an export can run before getting(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.timeout=30
-#set time between two different exports(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.interval=5
-
-#zipkin
-eventmesh.trace.export.zipkin.ip=localhost
-eventmesh.trace.export.zipkin.port=9411
-```
-
-以上都是相关的配置,如果你十分熟悉Zipkin的话可以自行修改。
-
-
-
-### 4、观察
-
-浏览器打开: **localhost:9411**
+使用 Zipkin 收集痕迹
+齐普金
+分布式跟踪是一种用于分析和监控使用微服务架构构建的应用程序的方法。 分布式跟踪有助于查明发生故障的位置以及导致性能不佳的原因。
+
+Zipkin 是一种分布式跟踪系统,可帮助收集解决服务架构中的延迟问题所需的计时数据。 EventMesh 公开了可以由 Zipkin 收集和分析的跟踪数据集合。 请按照“Zipkin 快速入门”教程下载并安装最新版本的 Zipkin。
+
+配置
+要启用 EventMesh Runtime 的跟踪导出器,请将 conf/eventmesh.properties 文件中的 eventMesh.server.trace.enabled 字段设置为 true。
+
+# 跟踪插件
+eventMesh.server.trace.enabled=true
+eventMesh.trace.plugin=zipkin
+要自定义跟踪导出器的行为(例如超时或导出间隔),请编辑 exporter.properties 文件。
+
+# 设置要使用的最大批量大小
+eventmesh.trace.max.export.size=512
+# 设置队列大小。 这必须 >= 导出批量大小
+eventmesh.trace.max.queue.size=2048
+# 设置导出在获取之前可以运行的最长时间(TimeUnit=SECONDS)
+eventmesh.trace.export.timeout=30
+# 设置两次不同导出之间的时间 (TimeUnit=SECONDS)
+eventmesh.trace.export.interval=5
+要将导出的跟踪数据发送到 Zipkin,请编辑 conf/zipkin.properties 文件中的 eventmesh.trace.zipkin.ip 和 eventmesh.trace.zipkin.port 字段以匹配 Zipkin 服务器的配置。
+
+# Zipkin的IP和端口
+eventmesh.trace.zipkin.ip=localhost
+eventmesh.trace.zipkin.port=9411

Review Comment:
   these content please under the code format with markdown



##########
docs/zh/design-document/12-zipkin.md:
##########
@@ -1,49 +1,27 @@
-# 通过 Zipkin 观察 Trace
-
-### 1、下载和运行Zipkin
-
-请参考https://zipkin.io/pages/quickstart.html
-
-
-
-### 2、运行eventmesh
-
-运行eventmesh-starter(参考[eventmesh-runtime-quickstart](eventmesh-runtime-quickstart.md))
-
-运行eventmesh-example(参考[eventmesh-sdk-java-quickstart](eventmesh-sdk-java-quickstart.md))
-
-
-
-### 3、相关的设置
-
-eventmesh-runtime/conf/eventmesh.properties中:
-
-默认的exporter是log,需要手动改成Zipkin
-
-```properties
-#trace exporter
-eventmesh.trace.exporter.type=Zipkin
-```
-下面是关于Zipkin的各种配置
-```properties
-#set the maximum batch size to use
-eventmesh.trace.exporter.max.export.size=512
-#set the queue size. This must be >= the export batch size
-eventmesh.trace.exporter.max.queue.size=2048
-#set the max amount of time an export can run before getting(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.timeout=30
-#set time between two different exports(TimeUnit=SECONDS)
-eventmesh.trace.exporter.export.interval=5
-
-#zipkin
-eventmesh.trace.export.zipkin.ip=localhost
-eventmesh.trace.export.zipkin.port=9411
-```
-
-以上都是相关的配置,如果你十分熟悉Zipkin的话可以自行修改。
-
-
-
-### 4、观察
-
-浏览器打开: **localhost:9411**
+使用 Zipkin 收集痕迹

Review Comment:
   please note the first level heading



-- 
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: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org