xiaoyong931011
2023-01-13 6b6a3c1f4bf8c4be492ed2bbed1fccd5551af9f6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cc.mrbird.febs.monitor.configure;
 
import org.springframework.boot.actuate.trace.http.HttpTraceRepository;
import org.springframework.boot.actuate.trace.http.InMemoryHttpTraceRepository;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
 
/**
 * @author MrBird
 */
@Configuration
public class FebsMonitorConfigure {
 
    @Bean
    public HttpTraceRepository inMemoryHttpTraceRepository(){
        return new InMemoryHttpTraceRepository();
    }
}