Skip to content

Commit

Permalink
Merge branch 'main' into exp-agg-tempor
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias authored Nov 1, 2022
2 parents 7f0c8e8 + 8a390ac commit 23c85af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sdk/metric/aggregation/aggregation.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,12 @@ type ExplicitBucketHistogram struct {
// (500.0, 1000.0], (1000.0, +∞)
Boundaries []float64
// NoMinMax indicates whether to not record the min and max of the
// distribution. By default, these extremes are recorded.
// distribution. By default, these extrema are recorded.
//
// Recording these extrema for cumulative data is expected to have little
// value, they will represent the entire life of the instrument instead of
// just the current collection cycle. It is recommended to set this to true
// for that type of data to avoid computing the low-value extrema.
NoMinMax bool
}

Expand Down

0 comments on commit 23c85af

Please sign in to comment.