Interface SpanDecorator
- All Known Implementing Classes:
CallSiteSpanDecorator,ComponentSpanDecorator,CompositeSpanDecorator,ErrorMessageSpanDecorator,ErrorSpanDecorator,ErrorStackSpanDecorator,HttpMethodOverrideSpanDecorator,HttpMethodSpanDecorator,HttpPathSpanDecorator,HttpPreferSpanDecorator,HttpRetryAfterSpanDecorator,HttpStatusCodeSpanDecorator,HttpUrlSpanDecorator,PeerSpanDecorator,RetrySpanDecorator,ServiceLoaderSpanDecorator,StaticSpanDecorator,UriVariablesTagSpanDecorator
@API(status=EXPERIMENTAL)
public interface SpanDecorator
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonError(io.opentracing.Span span, RequestArguments arguments, Throwable error) default voidonRequest(io.opentracing.Span span, RequestArguments arguments) default voidonResponse(io.opentracing.Span span, RequestArguments arguments, org.springframework.http.client.ClientHttpResponse response)
-
Method Details
-
onRequest
-
onResponse
default void onResponse(io.opentracing.Span span, RequestArguments arguments, org.springframework.http.client.ClientHttpResponse response) throws IOException - Throws:
IOException
-
onError
-