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

Use uint64 Count consistently in metric aggregation (#1430)

* Use uint64 Count consistently

* Number
This commit is contained in:
Joshua MacDonald
2021-01-05 23:17:20 -08:00
committed by GitHub
parent 3a337d0b79
commit fe9d1f7ec5
16 changed files with 37 additions and 43 deletions

View File

@ -78,7 +78,7 @@ func checkZero(t *testing.T, agg *histogram.Aggregator, desc *metric.Descriptor)
require.NoError(t, err)
count, err := agg.Count()
require.Equal(t, int64(0), count, "Empty checkpoint count = 0")
require.Equal(t, uint64(0), count, "Empty checkpoint count = 0")
require.NoError(t, err)
buckets, err := agg.Histogram()