simple

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithExactDistribution

func NewWithExactDistribution() export.AggregatorSelector

NewWithExactDistribution returns a simple aggregator selector that uses exact aggregators for `Histogram` 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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL