Class ErrorSpanDecorator
- java.lang.Object
-
- org.zalando.opentracing.jdbc.span.ErrorSpanDecorator
-
- All Implemented Interfaces:
SpanDecorator
@API(status=EXPERIMENTAL) public final class ErrorSpanDecorator extends Object implements SpanDecorator
Sets theerrorspan tag as well as theerror.kindanderror.objectspan logs.- See Also:
- Standard Span Tags, Standard Log Fields
-
-
Constructor Summary
Constructors Constructor Description ErrorSpanDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(io.opentracing.Span span, Statement statement, Throwable error)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zalando.opentracing.jdbc.span.SpanDecorator
onQuery
-
-
-
-
Method Detail
-
onError
public void onError(io.opentracing.Span span, Statement statement, Throwable error)- Specified by:
onErrorin interfaceSpanDecorator
-
-