Skip to content

Commit

Permalink
fix(otlptext): use min=0 for ExponentialHistogram test data as zero_c…
Browse files Browse the repository at this point in the history
…ount=1.
  • Loading branch information
pichlermarc committed Jun 14, 2022
1 parent 2883283 commit ba173e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/testdata/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func initExponentialHistogramMetric(hm pmetric.Metric) {
hdp1.SetTimestamp(TestMetricTimestamp)
hdp1.SetCount(3)
hdp1.SetSum(1.25)
hdp1.SetMin(0.25)
hdp1.SetMin(0)
hdp1.SetMax(1)
hdp1.SetZeroCount(1)
hdp1.SetScale(-1)
Expand Down

0 comments on commit ba173e8

Please sign in to comment.