otel: go.opentelemetry.io/otel/sdk/metric/selector/simple Index | Files

package simple

import "go.opentelemetry.io/otel/sdk/metric/selector/simple"

Index

Package Files

simple.go

func NewWithExactDistribution Uses

func NewWithExactDistribution() export.AggregatorSelector

NewWithExactDistribution returns a simple aggregator selector that uses exact aggregators for `ValueRecorder` instruments. This selector uses more memory than the others in this package because exact aggregators maintain the most information about the distribution among these choices.

func NewWithHistogramDistribution Uses

func NewWithHistogramDistribution(options ...histogram.Option) export.AggregatorSelector

NewWithHistogramDistribution returns a simple aggregator selector that uses histogram aggregators for `ValueRecorder` instruments. This selector is a good default choice for most metric exporters.

func NewWithInexpensiveDistribution Uses

func NewWithInexpensiveDistribution() export.AggregatorSelector

NewWithInexpensiveDistribution returns a simple aggregator selector that uses minmaxsumcount aggregators for `ValueRecorder` 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.

Package simple imports 7 packages (graph) and is imported by 12 packages. Updated 2021-01-18. Refresh now. Tools for package owners.