Skip to content

Commit

Permalink
metrics-core 5.0.0-rc17
Browse files Browse the repository at this point in the history
  • Loading branch information
brharrington committed Oct 4, 2023
1 parent 42f301c commit 32b62d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dependencies.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Double>) () -> 42.0D);
dwRegistry.registerGauge("foo", () -> 42.0D);

// Try to register the same gauge via spectator
AtomicInteger num = r.gauge("foo", new AtomicInteger(42));
Expand Down

0 comments on commit 32b62d0

Please sign in to comment.