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

The following examples show how to use org.springframework.boot.actuate.trace.http.HttpTraceRepository. 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 File: ConfigTest.java    From sshd-shell-spring-boot with Apache License 2.0 4 votes vote down vote up
@Bean
public HttpTraceRepository httpTraceRepository() {
    return new InMemoryHttpTraceRepository();
}
 
Example #2
Source File: TraceListener.java    From spring-cloud-bus with Apache License 2.0 4 votes vote down vote up
public TraceListener(HttpTraceRepository repository) {
	this.repository = repository;
}
 
Example #3
Source File: BusAutoConfiguration.java    From spring-cloud-bus with Apache License 2.0 4 votes vote down vote up
@Bean
@ConditionalOnMissingBean
public TraceListener ackTraceListener(HttpTraceRepository repository) {
	return new TraceListener(repository);
}
 
Example #4
Source File: SpringBootAdminServletApplication.java    From spring-boot-admin with Apache License 2.0 4 votes vote down vote up
@Bean
public HttpTraceRepository httpTraceRepository() {
	return new InMemoryHttpTraceRepository();
}
 
Example #5
Source File: TraceRequestFilter.java    From tutorials with 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);
}