From 32b62d0fa735e20e32ed6f04e214b8eb09df0de0 Mon Sep 17 00:00:00 2001 From: Brian Harrington Date: Wed, 4 Oct 2023 11:27:13 -0500 Subject: [PATCH] metrics-core 5.0.0-rc17 --- dependencies.properties | 2 +- .../com/netflix/spectator/metrics5/MetricsRegistryTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies.properties b/dependencies.properties index 06cc8b16f..b8cc0f3da 100644 --- a/dependencies.properties +++ b/dependencies.properties @@ -15,7 +15,7 @@ com.netflix.governator:governator-api = 1.17.13 com.netflix.governator:governator-core = 1.17.13 com.netflix.servo:servo-core = 0.13.2 com.typesafe:config = 1.4.2 -io.dropwizard.metrics5:metrics-core = 5.0.0-rc16 # 5.0.0 is a bad version do not use +io.dropwizard.metrics5:metrics-core = 5.0.0-rc17 # 5.0.0 is a bad version do not use io.micrometer:micrometer-core = 1.11.3 javax.inject:javax.inject = 1 net.openhft:zero-allocation-hashing = 0.16 diff --git a/spectator-reg-metrics5/src/test/java/com/netflix/spectator/metrics5/MetricsRegistryTest.java b/spectator-reg-metrics5/src/test/java/com/netflix/spectator/metrics5/MetricsRegistryTest.java index 5bb09ddb1..8b0a93698 100644 --- a/spectator-reg-metrics5/src/test/java/com/netflix/spectator/metrics5/MetricsRegistryTest.java +++ b/spectator-reg-metrics5/src/test/java/com/netflix/spectator/metrics5/MetricsRegistryTest.java @@ -117,7 +117,7 @@ public void gaugeRegisteredDirectly() throws Exception { MetricsRegistry r = new MetricsRegistry(clock, dwRegistry); // Directly register a gauge with metrics register - dwRegistry.register("foo", (Gauge) () -> 42.0D); + dwRegistry.registerGauge("foo", () -> 42.0D); // Try to register the same gauge via spectator AtomicInteger num = r.gauge("foo", new AtomicInteger(42));