Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
RobWin authored Mar 31, 2017
1 parent b99a90f commit 4dacdd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resilience4j-prometheus/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final RateLimiter foo = rateLimiterRegistry.rateLimiter("foo");
final RateLimiter boo = rateLimiterRegistry.rateLimiter("boo");

// Registering metrics in prometeus CollectorRegistry
new RateLimiterExports(rateLimiterRegistry).registerregistry();
new RateLimiterExports(rateLimiterRegistry).register(registry);
--

For both it is possible to use just a collection of breakers and limiters instead of registry.
Expand Down

0 comments on commit 4dacdd7

Please sign in to comment.