Base2 Exponential Bucket Histogram should reset to scale 20 after each collection cycle if DELTA aggregation temporality is used #5635
Labels
bug
Something isn't working
metrics
Metrics signal related
pkg:OpenTelemetry
Issues related to OpenTelemetry NuGet package
Package
OpenTelemetry
Package Version
Runtime Version
all
Description
opentelemetry-dotnet/src/OpenTelemetry/Metrics/Base2ExponentialBucketHistogram.cs
Lines 202 to 203 in 6c0327c
It should reset, otherwise the precision will never recover unless the process restarted.
Steps to Reproduce
Expected Result
The 2nd export batch should have low dynamic range and high precision (scale = 20) since Delta Temporality is used.
Actual Result
The 2nd export batch has a large dynamic range
(0.0.9170040432046712, 1024]
and low precision, which was carried from the 1st export.Additional Context
No response
The text was updated successfully, but these errors were encountered: