You've already forked opentelemetry-go
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user