Skip to content

Commit a9021db

Browse files
committed
Improve documentation on Micrometer percentile config #2538
1 parent 9cb8e73 commit a9021db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/io/lettuce/core/metrics/MicrometerOptions.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,9 @@ public Builder tags(Tags tags) {
222222
}
223223

224224
/**
225-
* Sets the emitted percentiles. Defaults to 0.50, 0.90, 0.95, 0.99, 0.999}. Only applicable when histogram is enabled.
226-
* See {@link MicrometerOptions#DEFAULT_TARGET_PERCENTILES}.
225+
* Sets the emitted percentiles. Defaults to {@code 0.50, 0.90, 0.95, 0.99, 0.999} for the 50th, 90th, 95th, 99th, and
226+
* 99th percentiles. Only applicable when histogram is enabled. See
227+
* {@link MicrometerOptions#DEFAULT_TARGET_PERCENTILES}.
227228
*
228229
* @param targetPercentiles the percentiles which should be emitted, must not be {@code null}
229230
* @return this {@link Builder}.

0 commit comments

Comments
 (0)