Skip to content

Commit

Permalink
remove zeros.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Nov 7, 2024
1 parent ec64388 commit 312cf01
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion exporter/awsemfexporter/datapoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ func (dps exponentialHistogramDataPointSlice) CalculateDeltaDatapoints(idx int,
totalBucketLen := metric.Positive().BucketCounts().Len() + metric.Negative().BucketCounts().Len()
if metric.ZeroCount() > 0 {
totalBucketLen++
zeroCountsBukctes++
}

if totalBucketLen == 0 {
Expand Down

0 comments on commit 312cf01

Please sign in to comment.