From 36311e4f2762236484dbb98a4bfeb69fdc9fbee2 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Fri, 27 Oct 2023 11:15:55 +0200 Subject: [PATCH] Improve documentation on Micrometer percentile config #2538 --- src/main/java/io/lettuce/core/metrics/MicrometerOptions.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/lettuce/core/metrics/MicrometerOptions.java b/src/main/java/io/lettuce/core/metrics/MicrometerOptions.java index 4bae23054f..750de086e5 100644 --- a/src/main/java/io/lettuce/core/metrics/MicrometerOptions.java +++ b/src/main/java/io/lettuce/core/metrics/MicrometerOptions.java @@ -270,8 +270,9 @@ public Builder tags(Tags tags) { } /** - * Sets the emitted percentiles. Defaults to 0.50, 0.90, 0.95, 0.99, 0.999}. Only applicable when histogram is enabled. - * See {@link MicrometerOptions#DEFAULT_TARGET_PERCENTILES}. + * Sets the emitted percentiles. Defaults to {@code 0.50, 0.90, 0.95, 0.99, 0.999} for the 50th, 90th, 95th, 99th, and + * 99th percentiles. Only applicable when histogram is enabled. See + * {@link MicrometerOptions#DEFAULT_TARGET_PERCENTILES}. * * @param targetPercentiles the percentiles which should be emitted, must not be {@code null} * @return this {@link Builder}.