1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-07-15 01:04:25 +02:00

Add Min() interface - rename MaxSumCount to MinMaxSumCount (#352)

* Add Min() interface - rename MaxSumCount to MinMaxSumCount

Fixes https://github.com/open-telemetry/opentelemetry-go/issues/319

* update stdout exporter to collect and output the minimum value
* update min and max atomically in Aggregator Update
* changed all references to maxsumcount to minmaxsumcount

* Address PR comments
This commit is contained in:
ET
2019-11-26 14:07:58 -08:00
committed by Joshua MacDonald
parent 5ec1f5c643
commit fef504d469
11 changed files with 126 additions and 50 deletions

View File

@ -38,7 +38,7 @@ type (
)
var _ export.Aggregator = &Aggregator{}
var _ aggregator.MaxSumCount = &Aggregator{}
var _ aggregator.MinMaxSumCount = &Aggregator{}
var _ aggregator.Distribution = &Aggregator{}
var _ aggregator.Points = &Aggregator{}