reviews
This commit is contained in:
parent
0d79f0cf08
commit
ab5926afe4
|
@ -12,7 +12,7 @@ public class ExampleWithLoggingWriter {
|
||||||
tracer.addServiceInfo(new Service("api-intake", "spark", Service.AppType.CACHE));
|
tracer.addServiceInfo(new Service("api-intake", "spark", Service.AppType.CACHE));
|
||||||
|
|
||||||
final Span parent =
|
final Span parent =
|
||||||
tracer.buildSpan("fetch.backend").withServiceName("api-intake").startManual();
|
tracer.buildSpan("fetch.backend").withServiceName("api-intake").startManual();
|
||||||
|
|
||||||
parent.setBaggageItem("scope-id", "a-1337");
|
parent.setBaggageItem("scope-id", "a-1337");
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ public class ExampleWithLoggingWriter {
|
||||||
|
|
||||||
final Span child =
|
final Span child =
|
||||||
tracer
|
tracer
|
||||||
.buildSpan("delete.resource")
|
.buildSpan("delete.resource")
|
||||||
.asChildOf(parent)
|
.asChildOf(parent)
|
||||||
.withResourceName("delete")
|
.withResourceName("delete")
|
||||||
.startManual();
|
.startManual();
|
||||||
|
|
||||||
Thread.sleep(100);
|
Thread.sleep(100);
|
||||||
|
|
Loading…
Reference in New Issue