package simple
import "go.opentelemetry.io/otel/sdk/metric/selector/simple"
Index ¶
- func NewWithHistogramDistribution(options ...histogram.Option) export.AggregatorSelector
- func NewWithInexpensiveDistribution() export.AggregatorSelector
Functions ¶
func NewWithHistogramDistribution ¶
func NewWithHistogramDistribution(options ...histogram.Option) export.AggregatorSelector
NewWithHistogramDistribution returns a simple aggregator selector that uses histogram aggregators for `Histogram` instruments. This selector is a good default choice for most metric exporters.
func NewWithInexpensiveDistribution ¶
func NewWithInexpensiveDistribution() export.AggregatorSelector
NewWithInexpensiveDistribution returns a simple aggregator selector that uses minmaxsumcount aggregators for `Histogram` instruments. This selector is faster and uses less memory than the others in this package because minmaxsumcount aggregators maintain the least information about the distribution among these choices.
Source Files ¶
simple.go
- Version
- v0.26.0
- Published
- Dec 10, 2021
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 hours ago –
Tools for package owners.