| Package | Description |
|---|---|
| org.springframework.cloud.sleuth | |
| org.springframework.cloud.sleuth.docs | |
| 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.
|
default Span.Builder |
Span.Builder.remoteIpAndPort(String ip,
int port)
Sets the remote URL for 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 | Interface and Description |
|---|---|
interface |
AssertingSpanBuilder
A
Span.Builder that can perform assertions on itself. |
| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
AssertingSpanBuilder.getDelegate() |
default Span.Builder |
AssertingSpanBuilder.remoteIpAndPort(String ip,
int port) |
| Modifier and Type | Method and Description |
|---|---|
static AssertingSpanBuilder |
AssertingSpanBuilder.of(DocumentedSpan documentedSpan,
Span.Builder builder) |
default AssertingSpanBuilder |
DocumentedSpan.wrap(Span.Builder span)
Asserts on tags, names and allowed events.
|
| 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.