Upgrade to Micrometer 2.0.0-M1

Closes gh-29279
pull/29388/head
Stephane Nicoll 3 years ago
parent a79cba129f
commit abb88b9aeb

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -156,9 +156,9 @@ public class WebMvcMetricsFilter extends OncePerRequestFilter {
return Collections.emptySet();
}
private Timer getTimer(Builder builder, Object handler, HttpServletRequest request, HttpServletResponse response,
Throwable exception) {
return builder.tags(this.tagsProvider.getTags(request, response, handler, exception)).register(this.registry);
private Timer.Builder getTimer(Builder builder, Object handler, HttpServletRequest request,
HttpServletResponse response, Throwable exception) {
return builder.tags(this.tagsProvider.getTags(request, response, handler, exception));
}
/**

@ -942,7 +942,7 @@ bom {
]
}
}
library("Micrometer", "1.8.0") {
library("Micrometer", "2.0.0-M1") {
group("io.micrometer") {
modules = [
"micrometer-registry-stackdriver" {

Loading…
Cancel
Save