Class TraceJdbcProperties.DataSourceProxyProperties
- java.lang.Object
-
- org.springframework.cloud.sleuth.autoconfig.instrument.jdbc.TraceJdbcProperties.DataSourceProxyProperties
-
- Enclosing class:
- TraceJdbcProperties
public static class TraceJdbcProperties.DataSourceProxyProperties extends Object
Properties for datasource-proxy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLoggingQuery logging listener is the most used listener that logs executing query with actual parameters to.static classTraceJdbcProperties.DataSourceProxyProperties.QueryProperties to configure query logging listener.static classTraceJdbcProperties.DataSourceProxyProperties.SlowQueryProperties to configure slow query logging listener.
-
Constructor Summary
Constructors Constructor Description DataSourceProxyProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLogginggetLogging()TraceJdbcProperties.DataSourceProxyProperties.QuerygetQuery()TraceJdbcProperties.DataSourceProxyProperties.SlowQuerygetSlowQuery()booleanisEnabled()booleanisJsonFormat()booleanisMultiline()voidsetEnabled(boolean enabled)voidsetJsonFormat(boolean jsonFormat)voidsetLogging(TraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLogging logging)voidsetMultiline(boolean multiline)voidsetQuery(TraceJdbcProperties.DataSourceProxyProperties.Query query)voidsetSlowQuery(TraceJdbcProperties.DataSourceProxyProperties.SlowQuery slowQuery)
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean enabled)
-
getLogging
public TraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLogging getLogging()
-
setLogging
public void setLogging(TraceJdbcProperties.DataSourceProxyProperties.DataSourceProxyLogging logging)
-
getQuery
public TraceJdbcProperties.DataSourceProxyProperties.Query getQuery()
-
setQuery
public void setQuery(TraceJdbcProperties.DataSourceProxyProperties.Query query)
-
getSlowQuery
public TraceJdbcProperties.DataSourceProxyProperties.SlowQuery getSlowQuery()
-
setSlowQuery
public void setSlowQuery(TraceJdbcProperties.DataSourceProxyProperties.SlowQuery slowQuery)
-
isMultiline
public boolean isMultiline()
-
setMultiline
public void setMultiline(boolean multiline)
-
isJsonFormat
public boolean isJsonFormat()
-
setJsonFormat
public void setJsonFormat(boolean jsonFormat)
-
-