File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1222,7 +1222,6 @@ impl Builder {
1222
1222
/// .unwrap();
1223
1223
/// ```
1224
1224
///
1225
- ///
1226
1225
/// [`LogHistogram`]: crate::runtime::LogHistogram
1227
1226
/// [default configuration]: crate::runtime::LogHistogramBuilder
1228
1227
pub fn metrics_poll_count_histogram_configuration( & mut self , configuration: HistogramConfiguration ) -> & mut Self {
Original file line number Diff line number Diff line change @@ -121,7 +121,8 @@ impl LogHistogram {
121
121
/// the range from 0 to [`LogHistogramBuilder::min_value`] and the final bucket covers
122
122
/// [`LogHistogramBuilder::max_value`] to infinity. The precision is bounded to the specified
123
123
/// [`LogHistogramBuilder::max_error`]. Specifically, the precision is the next smallest value
124
- /// of `2^-p` such that it is smaller than the requested precision.
124
+ /// of `2^-p` such that it is smaller than the requested max error. You can also select `p` directly
125
+ /// with [`LogHistogramBuilder::precision_exact`].
125
126
///
126
127
/// Depending on the selected parameters, the number of buckets required is variable. To ensure
127
128
/// that the histogram size is acceptable, callers may call [`LogHistogramBuilder::max_buckets`].
You can’t perform that action at this time.
0 commit comments