| Package | Description |
|---|---|
| org.springframework.cloud.sleuth | |
| org.springframework.cloud.sleuth.http |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Span
This API was heavily influenced by Brave.
|
| Modifier and Type | Method and Description |
|---|---|
SpanCustomizer |
Tracer.currentSpanCustomizer()
Allows to customize the current span in scope.
|
SpanCustomizer |
SpanCustomizer.event(String value)
Sets an event on a span.
|
SpanCustomizer |
SpanCustomizer.name(String name)
Sets a name on a span.
|
SpanCustomizer |
SpanCustomizer.tag(String key,
String value)
Sets a tag on a span.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HttpRequestParser.parse(HttpRequest request,
TraceContext context,
SpanCustomizer span)
Implement to choose what data from the http request are parsed into the span
representing it.
|
void |
HttpResponseParser.parse(HttpResponse response,
TraceContext context,
SpanCustomizer span)
Implement to choose what data from the http response are parsed into the span
representing it.
|
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.