mirror of
https://github.com/apache/skywalking.git
synced 2026-11-06 10:07:51 +00:00
1
skywalking opentracing
吴晟 Wu Sheng edited this page 2017-09-25 15:03:03 +08:00
- Dependency the toolkit, such as using maven or gradle
<dependency>
<groupId>org.skywalking</groupId>
<artifactId>apm-toolkit-opentracing</artifactId>
<version>{project.release.version}</version>
</dependency>
- Use our OpenTracing tracer implementation
Tracer tracer = new org.skywalking.apm.toolkit.opentracing.SkywalkingTracer();
Tracer.SpanBuilder spanBuilder = tracer.buildSpan("/yourApplication/yourService");