Class HttpStatusCodeSpanDecorator
java.lang.Object
org.zalando.riptide.opentracing.span.HttpStatusCodeSpanDecorator
- All Implemented Interfaces:
SpanDecorator
Sets the
http.status_code span tag.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonResponse(io.opentracing.Span span, RequestArguments arguments, org.springframework.http.client.ClientHttpResponse response) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.zalando.riptide.opentracing.span.SpanDecorator
onError, onRequest
-
Constructor Details
-
HttpStatusCodeSpanDecorator
public HttpStatusCodeSpanDecorator()
-
-
Method Details
-
onResponse
public void onResponse(io.opentracing.Span span, RequestArguments arguments, org.springframework.http.client.ClientHttpResponse response) throws IOException - Specified by:
onResponsein interfaceSpanDecorator- Throws:
IOException
-