pull/16246/head
Andy Wilkinson 6 years ago
parent 5201584c60
commit 7ddbb37bd5

@ -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);
} }
} }

@ -110,7 +110,7 @@ public class WebMvcMetricsIntegrationTests {
@Bean @Bean
public WebMvcMetricsFilter webMetricsFilter(MeterRegistry registry, public WebMvcMetricsFilter webMetricsFilter(MeterRegistry registry,
WebApplicationContext ctx) { WebApplicationContext ctx) {
return new WebMvcMetricsFilter(ctx, registry, new DefaultWebMvcTagsProvider(), return new WebMvcMetricsFilter(registry, new DefaultWebMvcTagsProvider(),
"http.server.requests", true); "http.server.requests", true);
} }

Loading…
Cancel
Save