1 |
56601
|
katerina.i
|
package eu.dnetlib.data.search.micrometer;
|
2 |
|
|
|
3 |
|
|
import org.springframework.context.annotation.Configuration;
|
4 |
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
5 |
|
|
|
6 |
|
|
@Configuration
|
7 |
|
|
public class InterceptorConfig extends WebMvcConfigurerAdapter {
|
8 |
|
|
|
9 |
|
|
/*
|
10 |
|
|
@Autowired
|
11 |
|
|
|
12 |
|
|
private PrometheusRequestTimerInterceptor prometheusRequestTimerInterceptor;
|
13 |
|
|
|
14 |
|
|
@Override
|
15 |
|
|
public void addInterceptors(InterceptorRegistry registry) {
|
16 |
|
|
registry.addInterceptor(prometheusRequestTimerInterceptor);
|
17 |
|
|
}*/
|
18 |
|
|
}
|