Skip to content

Commit

Permalink
Update sdk/metric/config.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <[email protected]>
  • Loading branch information
dashpole and MrAlias authored Oct 3, 2024
1 parent 3626ca6 commit 4d14f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/metric/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ func WithView(views ...View) Option {
// exemplar reservoir, but the exemplar reservoir makes the final decision of
// whether to store an exemplar.
//
// By default, the [go.opentelemetry.io/otel/sdk/metric/exemplar.SampledFilter]
// By default, the [exemplar.SampledFilter]
// is used. Exemplars can be entirely disabled by providing the
// [go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter].
// [exemplar.AlwaysOffFilter].
func WithExemplarFilter(filter exemplar.Filter) Option {
return optionFunc(func(cfg config) config {
cfg.exemplarFilter = filter
Expand Down

0 comments on commit 4d14f29

Please sign in to comment.