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 aggregation selector that uses counter, array, and array aggregators for the three kinds of metric. This selector uses more memory than the NewWithSketchDistribution because it aggregates an array of all values, therefore is able to compute exact quantiles.

func NewWithHistogramDistribution Uses

func NewWithHistogramDistribution(boundaries []float64) export.AggregatorSelector

NewWithHistogramDistribution 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 NewWithInexpensiveDistribution because it uses a counter per bucket.

func NewWithInexpensiveDistribution Uses

func NewWithInexpensiveDistribution() export.AggregatorSelector

NewWithInexpensiveDistribution 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 NewWithSketchDistribution Uses

func NewWithSketchDistribution(config *ddsketch.Config) export.AggregatorSelector

NewWithSketchDistribution 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 NewWithInexpensiveDistribution because it uses one DDSketch per distinct instrument and label set.

Package simple imports 8 packages (graph) and is imported by 8 packages. Updated 2020-09-29. Refresh now. Tools for package owners.