public final class ErrorSpanDecorator extends Object implements SpanDecorator
error span tag as well as the error.kind and error.object span logs.| Constructor and Description |
|---|
ErrorSpanDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(io.opentracing.Span span,
RequestArguments arguments,
Throwable error) |
void |
onResponse(io.opentracing.Span span,
RequestArguments arguments,
org.springframework.http.client.ClientHttpResponse response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonRequestpublic void onResponse(io.opentracing.Span span,
RequestArguments arguments,
org.springframework.http.client.ClientHttpResponse response)
throws IOException
onResponse in interface SpanDecoratorIOExceptionpublic void onError(io.opentracing.Span span,
RequestArguments arguments,
Throwable error)
onError in interface SpanDecoratorCopyright © 2015–2020 Zalando SE. All rights reserved.