otel: go.opentelemetry.io/otel/sdk/metric/aggregator Index | Files | Directories

package aggregator

import "go.opentelemetry.io/otel/sdk/metric/aggregator"

Index

Package Files

aggregator.go

func NewInconsistentAggregatorError Uses

func NewInconsistentAggregatorError(a1, a2 export.Aggregator) error

NewInconsistentAggregatorError formats an error describing an attempt to Checkpoint or Merge different-type aggregators. The result can be unwrapped as an ErrInconsistentType.

func RangeTest Uses

func RangeTest(number otel.Number, descriptor *otel.Descriptor) error

RangeTest is a commmon routine for testing for valid input values. This rejects NaN values. This rejects negative values when the metric instrument does not support negative values, including monotonic counter metrics and absolute ValueRecorder metrics.

Directories

PathSynopsis
aggregatortest
array
ddsketch
histogram
lastvalue
minmaxsumcount
sum

Package aggregator imports 5 packages (graph) and is imported by 8 packages. Updated 2020-10-17. Refresh now. Tools for package owners.