Skip to content

Commit 0f15d21

Browse files
authored
Update doc comments (#2149)
1 parent 88023d9 commit 0f15d21

File tree

1 file changed

+4
-0
lines changed
  • opentelemetry/src/metrics/instruments

1 file changed

+4
-0
lines changed

opentelemetry/src/metrics/instruments/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ impl<'a, T> HistogramBuilder<'a, T> {
7878
}
7979

8080
/// Set the boundaries for this histogram.
81+
///
82+
/// Setting boundaries is optional. By default, the boundaries are set to:
83+
///
84+
/// `[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]`
8185
pub fn with_boundaries(mut self, boundaries: Vec<f64>) -> Self {
8286
self.boundaries = Some(boundaries);
8387
self

0 commit comments

Comments
 (0)