3 skywalking opentracing chn
吴晟 Wu Sheng edited this page 2017-07-27 10:47:40 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

  • 使用 maven 和 gradle 依赖相应的工具包
   <dependency>
      <groupId>org.skywalking</groupId>
      <artifactId>apm-toolkit-opentracing</artifactId>
      <version>{project.release.version}</version>
   </dependency>

    Download

  • 使用OpenTracing的标准API和桥接器,使用手动埋点
Tracer tracer = new org.skywalking.apm.toolkit.opentracing.SkyWalkingTracer();
Tracer.SpanBuilder spanBuilder = tracer.buildSpan("/yourApplication/yourService");