Skip to content

Commit

Permalink
Update sdk/metric/exemplar.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
dashpole and MrAlias authored Oct 17, 2024
1 parent 3ad5d8e commit 46de771
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/metric/exemplar.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ func reservoirFunc[N int64 | float64](provider exemplar.ReservoirProvider, filte
}

// DefaultExemplarReservoirProviderSelector returns the default
// [go.opentelemetry.io/otel/sdk/metric/exemplar.ReservoirProvider] for the
// [exemplar.ReservoirProvider] for the
// provided [Aggregation].
//
// For explicit bucket histograms with more than 1 bucket, it uses the
// [go.opentelemetry.io/otel/sdk/metric/exemplar.HistogramReservoirProvider].
// [exemplar.HistogramReservoirProvider].
// For exponential histograms, it uses the
// [go.opentelemetry.io/otel/sdk/metric/exemplar.FixedSizeReservoirProvider]
// [exemplar.FixedSizeReservoirProvider]
// with a size of min(20, max_buckets).
// For all other aggregations, it uses the
// [go.opentelemetry.io/otel/sdk/metric/exemplar.FixedSizeReservoirProvider]
// [exemplar.FixedSizeReservoirProvider]
// with a size equal to the number of CPUs.
//
// Exemplar default reservoirs MAY change in a minor version bump. No
Expand Down

0 comments on commit 46de771

Please sign in to comment.