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 NewWithExactMeasure Uses

func NewWithExactMeasure() export.AggregationSelector

NewWithExactMeasure returns a simple aggregation selector that uses counter, gauge, and array behavior 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 NewWithInexpensiveMeasure Uses

func NewWithInexpensiveMeasure() export.AggregationSelector

NewWithInexpensiveMeasure returns a simple aggregation selector that uses counter, gauge, 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 Uses

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

NewWithSketchMeasure returns a simple aggregation selector that uses counter, gauge, 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 and labelset.

Package simple imports 6 packages (graph) and is imported by 4 packages. Updated 2019-12-16. Refresh now. Tools for package owners.