Class ErrorStackSpanDecorator
- java.lang.Object
-
- org.zalando.opentracing.jdbc.span.ErrorStackSpanDecorator
-
- All Implemented Interfaces:
SpanDecorator
@API(status=EXPERIMENTAL) public final class ErrorStackSpanDecorator extends Object implements SpanDecorator
Sets thestackspan log.- See Also:
- Standard Log Fields
-
-
Constructor Summary
Constructors Constructor Description ErrorStackSpanDecorator()
-
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
-
-