Skip to content

Commit

Permalink
[ISSUE #713] Fix trace bug (#712)
Browse files Browse the repository at this point in the history
* add docs

* change default spanExporter to span
  • Loading branch information
Roc-00 authored Jan 14, 2022
1 parent 1cb0023 commit 52ec3d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docs/cn/instructions/eventmesh-trace-Zipkin-instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@

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
Expand All @@ -36,7 +40,7 @@ eventmesh.trace.export.zipkin.ip=localhost
eventmesh.trace.export.zipkin.port=9411
```

以上都是相关的配置,如果你十分熟悉zipkin的话可以自行修改
以上都是相关的配置,如果你十分熟悉Zipkin的话可以自行修改



Expand Down
6 changes: 5 additions & 1 deletion docs/en/instructions/eventmesh-trace-Zipkin-instruction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ run eventmesh-example(reference [eventmesh-sdk-java-quickstart](eventmesh-sdk-ja

In eventmesh-runtime/conf/eventmesh.properties:

The default exporter is log, which needs to be manually changed to Zipkin

```properties
#trace exporter
eventmesh.trace.exporter.type=Zipkin

```
Here are various configurations of 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
Expand Down
2 changes: 1 addition & 1 deletion eventmesh-runtime/conf/eventmesh.properties
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ eventMesh.registry.plugin.type=namesrv
eventmesh.metrics.plugin=opentelemetry

#trace exporter
eventmesh.trace.exporter.type=Zipkin
eventmesh.trace.exporter.type=Log

#set the maximum batch size to use
eventmesh.trace.exporter.max.export.size=512
Expand Down

0 comments on commit 52ec3d7

Please sign in to comment.