Skip to content

Commit

Permalink
revert back to exact aggregation for default
Browse files Browse the repository at this point in the history
  • Loading branch information
voidlock committed Feb 8, 2022
1 parent efbc5d3 commit 8389709
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions go-kit/metrics/provider/otel/options.go
Expand Up @@ -31,17 +31,7 @@ const DefaultAgentEndpoint = "0.0.0.0:55680"
type Option func(*Provider) error

// WithDefaultAggregator initializes the Provider with a default aggregator.
var WithDefaultAggregator = WithExplicitHistogramAggregator

// WithInexpensiveAggregator initializes the Provider with the simple.NewWithInexpensiveDistribution.
func WithInexpensiveAggregator() Option {
return WithAggregator(simple.NewWithInexpensiveDistribution())
}

// WithHistogramAggregator initializes the Provider with the simple.NewWithHistogramDistribution.
func WithHistogramAggregator() Option {
return WithAggregator(simple.NewWithHistogramDistribution())
}
var WithDefaultAggregator = WithExactAggregator

// WithExactAggregator initializes the Provider with the simple.NewWithExactDistribution.
//
Expand Down

0 comments on commit 8389709

Please sign in to comment.