Merge branch '2.0.x'

pull/15297/head
Andy Wilkinson 6 years ago
commit fa7be63fbb

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

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

Loading…
Cancel
Save