Class TraceJdbcProperties.DataSourceProxyProperties
java.lang.Object
org.springframework.cloud.sleuth.autoconfig.instrument.jdbc.TraceJdbcProperties.DataSourceProxyProperties
- Enclosing class:
- TraceJdbcProperties
Properties for datasource-proxy.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumQuery logging listener is the most used listener that logs executing query with actual parameters to.static classProperties to configure query logging listener.static classProperties to configure slow query logging listener. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetQuery()booleanbooleanbooleanvoidsetEnabled(boolean enabled) voidsetJsonFormat(boolean jsonFormat) voidvoidsetMultiline(boolean multiline) voidvoid
-
Constructor Details
-
DataSourceProxyProperties
public DataSourceProxyProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getLogging
-
setLogging
public void setLogging(TraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLogging logging) -
getQuery
-
setQuery
-
getSlowQuery
-
setSlowQuery
-
isMultiline
public boolean isMultiline() -
setMultiline
public void setMultiline(boolean multiline) -
isJsonFormat
public boolean isJsonFormat() -
setJsonFormat
public void setJsonFormat(boolean jsonFormat)
-