xiaoyong931011
2022-12-15 7a006a158c3e8b7012f036905f146c60e8b72e39
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();
    }
}