Skip to content

Commit

Permalink
Improve documentation on Micrometer percentile config #2538
Browse files Browse the repository at this point in the history
  • Loading branch information
mp911de committed Oct 27, 2023
1 parent 8f43ee1 commit 36311e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/io/lettuce/core/metrics/MicrometerOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down

0 comments on commit 36311e4

Please sign in to comment.