Uses of Interface
org.springframework.cloud.sleuth.SpanCustomizer
Packages that use SpanCustomizer
Package
Description
-
Uses of SpanCustomizer in org.springframework.cloud.sleuth
Subinterfaces of SpanCustomizer in org.springframework.cloud.sleuthMethods in org.springframework.cloud.sleuth that return SpanCustomizerModifier and TypeMethodDescriptionTracer.currentSpanCustomizer()Allows to customize the current span in scope.Sets an event on a span.Sets a name on a span.Sets a tag on a span. -
Uses of SpanCustomizer in org.springframework.cloud.sleuth.docs
Subinterfaces of SpanCustomizer in org.springframework.cloud.sleuth.docsModifier and TypeInterfaceDescriptioninterfaceSpanthat performs additional assertions such as allowed name, tag, event verification and upon reporting, whether the span had been started in the first place.interfaceASpanCustomizerthat can perform assertions on itself.Methods in org.springframework.cloud.sleuth.docs with type parameters of type SpanCustomizerModifier and TypeMethodDescriptionstatic <T extends SpanCustomizer>
TAssertingSpanCustomizer.unwrap(SpanCustomizer span) Returns the underlying delegate.Methods in org.springframework.cloud.sleuth.docs that return SpanCustomizerMethods in org.springframework.cloud.sleuth.docs with parameters of type SpanCustomizerModifier and TypeMethodDescriptionstatic AssertingSpanCustomizerAssertingSpanCustomizer.of(DocumentedSpan documentedSpan, SpanCustomizer span) static <T extends SpanCustomizer>
TAssertingSpanCustomizer.unwrap(SpanCustomizer span) Returns the underlying delegate.default AssertingSpanCustomizerDocumentedSpan.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 SpanCustomizerModifier and TypeMethodDescriptionvoidHttpRequestParser.parse(HttpRequest request, TraceContext context, SpanCustomizer span) Implement to choose what data from the http request are parsed into the span representing it.voidHttpResponseParser.parse(HttpResponse response, TraceContext context, SpanCustomizer span) Implement to choose what data from the http response are parsed into the span representing it.