Class DatabaseTypeSpanDecorator
- java.lang.Object
-
- org.zalando.opentracing.jdbc.span.DatabaseTypeSpanDecorator
-
- All Implemented Interfaces:
SpanDecorator
@API(status=EXPERIMENTAL) public final class DatabaseTypeSpanDecorator extends Object implements SpanDecorator
Sets thedb.typespan tag, defaults tosql.- See Also:
- Standard Span Tags
-
-
Constructor Summary
Constructors Constructor Description DatabaseTypeSpanDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonQuery(io.opentracing.Span span, Statement statement, List<String> queries)-
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
onError
-
-
-
-
Method Detail
-
onQuery
public void onQuery(io.opentracing.Span span, Statement statement, List<String> queries)- Specified by:
onQueryin interfaceSpanDecorator
-
-