1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-05 22:54:18 +02:00
opentelemetry-go/sdk/metric/internal/aggregate
Tyler Yahn 16ce491d38
Fix guard of measured value to not record empty (#4452)
A guard was added in #4446 to prevent non-normal float64 from being
recorded. This was added in the low-level `record` method meaning that
the higher-level `measure` method will still keep a record of the
invalid value measurement, just with a zero-value.

This fixes that issue by moving the guard to the `measure` method.
2023-08-18 06:43:09 -07:00
..
aggregate_test.go Simplify the histogram implementation (#4370) 2023-07-27 14:06:22 -07:00
aggregate.go Flatten sdk/metric/aggregation into sdk/metric (#4435) 2023-08-14 08:15:15 -07:00
doc.go Move aggs to internal/aggregate (#4283) 2023-07-03 10:53:00 +02:00
exponential_histogram_test.go Fix guard of measured value to not record empty (#4452) 2023-08-18 06:43:09 -07:00
exponential_histogram.go Fix guard of measured value to not record empty (#4452) 2023-08-18 06:43:09 -07:00
histogram_test.go Flatten sdk/metric/aggregation into sdk/metric (#4435) 2023-08-14 08:15:15 -07:00
histogram.go Flatten sdk/metric/aggregation into sdk/metric (#4435) 2023-08-14 08:15:15 -07:00
lastvalue_test.go Simplify the last-value aggregate (#4343) 2023-07-21 08:30:11 +02:00
lastvalue.go Simplify the last-value aggregate (#4343) 2023-07-21 08:30:11 +02:00
sum_test.go Simplify the sum aggregators (#4357) 2023-07-26 13:32:45 -07:00
sum.go Simplify the sum aggregators (#4357) 2023-07-26 13:32:45 -07:00