Java Code Examples for org.springframework.boot.actuate.trace.http.HttpTraceRepository

The following examples show how to use org.springframework.boot.actuate.trace.http.HttpTraceRepository. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: sshd-shell-spring-boot   Source File: ConfigTest.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
public HttpTraceRepository httpTraceRepository() {
    return new InMemoryHttpTraceRepository();
}
 
Example 2
Source Project: spring-cloud-bus   Source File: TraceListener.java    License: Apache License 2.0 4 votes vote down vote up
public TraceListener(HttpTraceRepository repository) {
	this.repository = repository;
}
 
Example 3
Source Project: spring-cloud-bus   Source File: BusAutoConfiguration.java    License: Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnMissingBean
public TraceListener ackTraceListener(HttpTraceRepository repository) {
	return new TraceListener(repository);
}
 
Example 4
@Bean
public HttpTraceRepository httpTraceRepository() {
	return new InMemoryHttpTraceRepository();
}
 
Example 5
Source Project: tutorials   Source File: TraceRequestFilter.java    License: MIT License 2 votes vote down vote up
/**
 * Create a new {@link HttpTraceFilter} instance.
 *
 * @param repository the trace repository
 * @param tracer     used to trace exchanges
 */
public TraceRequestFilter(HttpTraceRepository repository, HttpExchangeTracer tracer) {
    super(repository, tracer);
}