|
|
@ -95,8 +95,8 @@ public class WebMvcMetricsFilterAutoTimedTests {
|
|
|
|
@Bean
|
|
|
|
@Bean
|
|
|
|
public WebMvcMetricsFilter webMetricsFilter(WebApplicationContext context,
|
|
|
|
public WebMvcMetricsFilter webMetricsFilter(WebApplicationContext context,
|
|
|
|
MeterRegistry registry) {
|
|
|
|
MeterRegistry registry) {
|
|
|
|
return new WebMvcMetricsFilter(context, registry,
|
|
|
|
return new WebMvcMetricsFilter(registry, new DefaultWebMvcTagsProvider(),
|
|
|
|
new DefaultWebMvcTagsProvider(), "http.server.requests", true);
|
|
|
|
"http.server.requests", true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|