Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 435 Bytes

Opentracing.md

File metadata and controls

16 lines (13 loc) · 435 Bytes
  • Dependency the toolkit, such as using maven or gradle
   <dependency>
      <groupId>org.apache.skywalking</groupId>
      <artifactId>apm-toolkit-opentracing</artifactId>
      <version>{project.release.version}</version>
   </dependency>
  • Use our OpenTracing tracer implementation
Tracer tracer = new SkywalkingTracer();
Tracer.SpanBuilder spanBuilder = tracer.buildSpan("/yourApplication/yourService");