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 interfaceSpanThis API was heavily influenced by Brave.Methods in org.springframework.cloud.sleuth that return SpanCustomizer Modifier and Type Method Description SpanCustomizerTracer. currentSpanCustomizer()Allows to customize the current span in scope.SpanCustomizerSpanCustomizer. event(String value)Sets an event on a span.SpanCustomizerSpanCustomizer. name(String name)Sets a name on a span.SpanCustomizerSpanCustomizer. 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 interfaceAssertingSpanSpanthat performs additional assertions such as allowed name, tag, event verification and upon reporting, whether the span had been started in the first place.interfaceAssertingSpanCustomizerASpanCustomizerthat 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 SpanCustomizerAssertingSpanCustomizer. getDelegate()Methods in org.springframework.cloud.sleuth.docs with parameters of type SpanCustomizer Modifier and Type Method Description static 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 SpanCustomizer Modifier and Type Method Description voidHttpRequestParser. 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.
-