@Configuration @ConditionalOnWebApplication @ConditionalOnProperty(prefix="management.trace.http", name="enabled", matchIfMissing=true) @EnableConfigurationProperties(value=HttpTraceProperties.class) public class HttpTraceAutoConfiguration extends Object
Auto-configuration
for HTTP tracing.Constructor and Description |
---|
HttpTraceAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpExchangeTracer |
httpExchangeTracer(HttpTraceProperties traceProperties) |
InMemoryHttpTraceRepository |
traceRepository() |
@Bean @ConditionalOnMissingBean(value=HttpTraceRepository.class) public InMemoryHttpTraceRepository traceRepository()
@Bean @ConditionalOnMissingBean public HttpExchangeTracer httpExchangeTracer(HttpTraceProperties traceProperties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.