simple

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithExactMeasure

func NewWithExactMeasure() export.AggregationSelector

NewWithExactMeasure returns a simple aggregation selector that uses counter, array, and array aggregators for the three kinds of metric. This selector uses more memory than the NewWithSketchMeasure because it aggregates an array of all values, therefore is able to compute exact quantiles.

func NewWithHistogramMeasure added in v0.4.3

func NewWithHistogramMeasure(boundaries []metric.Number) export.AggregationSelector

NewWithHistogramMeasure returns a simple aggregation selector that uses counter, histogram, and histogram aggregators for the three kinds of metric. This selector uses more memory than the NewWithInexpensiveMeasure because it uses a counter per bucket.

func NewWithInexpensiveMeasure

func NewWithInexpensiveMeasure() export.AggregationSelector

NewWithInexpensiveMeasure returns a simple aggregation selector that uses counter, minmaxsumcount and minmaxsumcount aggregators for the three kinds of metric. This selector is faster and uses less memory than the others because minmaxsumcount does not aggregate quantile information.

func NewWithSketchMeasure

func NewWithSketchMeasure(config *ddsketch.Config) export.AggregationSelector

NewWithSketchMeasure returns a simple aggregation selector that uses counter, ddsketch, and ddsketch aggregators for the three kinds of metric. This selector uses more cpu and memory than the NewWithInexpensiveMeasure because it uses one DDSketch per distinct measure/observer and labelset.

Types

This section is empty.

Jump to

Keyboard shortcuts

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