From 4dacdd7f5354ce3a0a03c05ab7a0f78614853258 Mon Sep 17 00:00:00 2001 From: Robert Winkler Date: Fri, 31 Mar 2017 09:18:17 +0200 Subject: [PATCH] Updated README --- resilience4j-prometheus/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resilience4j-prometheus/README.adoc b/resilience4j-prometheus/README.adoc index f5985f914d..92c60d8403 100644 --- a/resilience4j-prometheus/README.adoc +++ b/resilience4j-prometheus/README.adoc @@ -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.