| Package | Description |
|---|---|
| org.springframework.cloud.sleuth | |
| org.springframework.cloud.sleuth.propagation |
| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
Span.Builder.error(Throwable throwable)
Sets an error on the span.
|
Span.Builder |
Span.Builder.event(String value)
Sets an event on the span.
|
Span.Builder |
Span.Builder.kind(Span.Kind spanKind)
Sets the kind on the span.
|
Span.Builder |
Span.Builder.name(String name)
Sets the name of the span.
|
Span.Builder |
Span.Builder.remoteServiceName(String remoteServiceName)
Sets the remote service name for the span.
|
Span.Builder |
Span.Builder.setNoParent()
Sets no parent of the built span.
|
Span.Builder |
Span.Builder.setParent(TraceContext context)
Sets the parent of the built span.
|
Span.Builder |
Tracer.spanBuilder()
In some cases (e.g.
|
Span.Builder |
Span.Builder.tag(String key,
String value)
Sets a tag on the span.
|
| Modifier and Type | Method and Description |
|---|---|
<C> Span.Builder |
Propagator.extract(C carrier,
Propagator.Getter<C> getter)
Extracts the value from upstream.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.