类 TracingExceptionInterceptor
java.lang.Object
org.coodex.concrete.apm.mysql8.TracingExceptionInterceptor
- 所有已实现的接口:
com.mysql.cj.exceptions.ExceptionInterceptor
public class TracingExceptionInterceptor
extends Object
implements com.mysql.cj.exceptions.ExceptionInterceptor
A MySQL exception interceptor that will annotate spans with SQL error codes.
To use it, both TracingQueryInterceptor and TracingExceptionInterceptor must be added by
appending ?queryInterceptors=brave.mysql8.TracingQueryInterceptor&exceptionInterceptors=brave.mysql8.TracingExceptionInterceptor.
?queryInterceptors=org.coodex.concrete.apm.mysql8.TracingQueryInterceptor&exceptionInterceptors=org.coodex.concrete.apm.mysql8.TracingExceptionInterceptor
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voiddestroy()com.mysql.cj.exceptions.ExceptionInterceptorinit(Properties properties, com.mysql.cj.log.Log log)
-
构造器详细资料
-
TracingExceptionInterceptor
public TracingExceptionInterceptor()
-
-
方法详细资料
-
init
public com.mysql.cj.exceptions.ExceptionInterceptor init(Properties properties, com.mysql.cj.log.Log log) - 指定者:
init在接口中com.mysql.cj.exceptions.ExceptionInterceptor
-
destroy
public void destroy()- 指定者:
destroy在接口中com.mysql.cj.exceptions.ExceptionInterceptor
-
interceptException
- 指定者:
interceptException在接口中com.mysql.cj.exceptions.ExceptionInterceptor
-