@Configuration @EnableConfigurationProperties(value=AgentProperties.class) public class ExecutionAutoConfiguration extends java.lang.Object
Constructor and Description |
---|
ExecutionAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConsoleLogListener |
consoleLogLoggingListener()
Provide a lazy
ConsoleLogListener bean. |
TracingListener |
jobExecutionTracingListener(brave.Tracer tracer)
Provide an instance of
TracingListener which will add metadata to spans based on events through the
execution state machine. |
LoggingListener |
loggingListener()
Provide a lazy
LoggingListener bean. |
@Bean @Lazy @ConditionalOnMissingBean(value=LoggingListener.class) public LoggingListener loggingListener()
LoggingListener
bean.LoggingListener
instance@Bean @Lazy @ConditionalOnMissingBean(value=ConsoleLogListener.class) public ConsoleLogListener consoleLogLoggingListener()
ConsoleLogListener
bean.ConsoleLogListener
instance@Bean @Lazy @ConditionalOnMissingBean(value=TracingListener.class) public TracingListener jobExecutionTracingListener(brave.Tracer tracer)
TracingListener
which will add metadata to spans based on events through the
execution state machine.tracer
- The Tracer
to use to get active spansTracingListener
instance