forked from toolshed/abra
chore: bump deps
This commit is contained in:
5
vendor/go.opentelemetry.io/otel/sdk/metric/reader.go
generated
vendored
5
vendor/go.opentelemetry.io/otel/sdk/metric/reader.go
generated
vendored
@ -146,7 +146,10 @@ type AggregationSelector func(InstrumentKind) Aggregation
|
||||
// Histogram ⇨ ExplicitBucketHistogram.
|
||||
func DefaultAggregationSelector(ik InstrumentKind) Aggregation {
|
||||
switch ik {
|
||||
case InstrumentKindCounter, InstrumentKindUpDownCounter, InstrumentKindObservableCounter, InstrumentKindObservableUpDownCounter:
|
||||
case InstrumentKindCounter,
|
||||
InstrumentKindUpDownCounter,
|
||||
InstrumentKindObservableCounter,
|
||||
InstrumentKindObservableUpDownCounter:
|
||||
return AggregationSum{}
|
||||
case InstrumentKindObservableGauge, InstrumentKindGauge:
|
||||
return AggregationLastValue{}
|
||||
|
Reference in New Issue
Block a user