Uses of Interface
org.springframework.cloud.sleuth.SpanCustomizer
-
Packages that use SpanCustomizer Package Description org.springframework.cloud.sleuth org.springframework.cloud.sleuth.docs org.springframework.cloud.sleuth.http -
-
Uses of SpanCustomizer in org.springframework.cloud.sleuth
Subinterfaces of SpanCustomizer in org.springframework.cloud.sleuth Modifier and Type Interface Description interface
Span
This API was heavily influenced by Brave.Methods in org.springframework.cloud.sleuth that return SpanCustomizer Modifier and Type Method 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. -
Uses of SpanCustomizer in org.springframework.cloud.sleuth.docs
Subinterfaces of SpanCustomizer in org.springframework.cloud.sleuth.docs Modifier and Type Interface Description interface
AssertingSpan
Span
that performs additional assertions such as allowed name, tag, event verification and upon reporting, whether the span had been started in the first place.interface
AssertingSpanCustomizer
ASpanCustomizer
that can perform assertions on itself.Methods in org.springframework.cloud.sleuth.docs with type parameters of type SpanCustomizer Modifier and Type Method Description static <T extends SpanCustomizer>
TAssertingSpanCustomizer. unwrap(SpanCustomizer span)
Returns the underlying delegate.Methods in org.springframework.cloud.sleuth.docs that return SpanCustomizer Modifier and Type Method Description SpanCustomizer
AssertingSpanCustomizer. getDelegate()
Methods in org.springframework.cloud.sleuth.docs with parameters of type SpanCustomizer Modifier and Type Method Description static AssertingSpanCustomizer
AssertingSpanCustomizer. of(DocumentedSpan documentedSpan, SpanCustomizer span)
static <T extends SpanCustomizer>
TAssertingSpanCustomizer. unwrap(SpanCustomizer span)
Returns the underlying delegate.default AssertingSpanCustomizer
DocumentedSpan. wrap(SpanCustomizer span)
Asserts on tags, names and allowed events. -
Uses of SpanCustomizer in org.springframework.cloud.sleuth.http
Methods in org.springframework.cloud.sleuth.http with parameters of type SpanCustomizer Modifier and Type Method 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.
-