public static class PreparedStatementInstrumentation.PreparedStatementAdvice extends Object
| Constructor and Description |
|---|
PreparedStatementAdvice() |
| Modifier and Type | Method and Description |
|---|---|
static io.opentracing.ActiveSpan |
startSpan(PreparedStatement statement) |
static void |
stopSpan(io.opentracing.ActiveSpan activeSpan,
Throwable throwable) |
@Advice.OnMethodEnter
public static io.opentracing.ActiveSpan startSpan(@Advice.This
PreparedStatement statement)
@Advice.OnMethodExit(onThrowable=java.lang.Throwable.class) public static void stopSpan(@Advice.Enter io.opentracing.ActiveSpan activeSpan, @Advice.Thrown Throwable throwable)