Upgrade to Micrometer 2.0.0-M1

Closes gh-29279
This commit is contained in:
Stephane Nicoll 2022-01-13 16:34:52 +01:00
parent a79cba129f
commit abb88b9aeb
2 changed files with 5 additions and 5 deletions

View File

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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(); return Collections.emptySet();
} }
private Timer getTimer(Builder builder, Object handler, HttpServletRequest request, HttpServletResponse response, private Timer.Builder getTimer(Builder builder, Object handler, HttpServletRequest request,
Throwable exception) { HttpServletResponse response, Throwable exception) {
return builder.tags(this.tagsProvider.getTags(request, response, handler, exception)).register(this.registry); return builder.tags(this.tagsProvider.getTags(request, response, handler, exception));
} }
/** /**

View File

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