Skip to content

Commit

Permalink
Update doc comments (open-telemetry#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
utpilla authored and cijothomas committed Oct 4, 2024
1 parent 8f71c7b commit 63728cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opentelemetry/src/metrics/instruments/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ impl<'a, T> HistogramBuilder<'a, T> {
}

/// Set the boundaries for this histogram.
///
/// Setting boundaries is optional. By default, the boundaries are set to:
///
/// `[0.0, 5.0, 10.0, 25.0, 50.0, 75.0, 100.0, 250.0, 500.0, 750.0, 1000.0, 2500.0, 5000.0, 7500.0, 10000.0]`
pub fn with_boundaries(mut self, boundaries: Vec<f64>) -> Self {
self.boundaries = Some(boundaries);
self
Expand Down

0 comments on commit 63728cc

Please sign in to comment.