Histogram Aggregation on Up-Down-Counters results in wrong max
#3085
Labels
bug
Something isn't working
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
Milestone
What happened?
HistogramAggregation incorrectly assumes positive-only values, and therfore produces wrong
max
values on export.Steps to Reproduce
UpDownCounter
to have anExplicitBucketHistogramAggregation
UpDownCounter
-1
Expected Result
Exported metrics should have a maximum of
< -1
.Actual Result
Exported metrics have a maximum of
-1
.OpenTelemetry Setup Code
package.json
Relevant log output
No response
The text was updated successfully, but these errors were encountered: