From 96f6e5d5daeed2df8f277c764b730d25f7c1be08 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 10 Jan 2025 13:24:53 +0900 Subject: [PATCH] Polish 1c891c7 (#5804) --- docs/modules/ROOT/pages/implementations/prometheus.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/implementations/prometheus.adoc b/docs/modules/ROOT/pages/implementations/prometheus.adoc index ba17e6427..918902487 100644 --- a/docs/modules/ROOT/pages/implementations/prometheus.adoc +++ b/docs/modules/ROOT/pages/implementations/prometheus.adoc @@ -216,7 +216,7 @@ registry.counter("test", "first", "1", "second", "none").increment(); registry.counter("test", "first", "none", "second", "2").increment(); ---- -You can change the default warning behavior by registering a meter registration failed listener: +In addition to the warning, you can register a meter registration failed listener to handle the failure: [source,java] ---- registry.config().onMeterRegistrationFailed((id, reason) -> {