Skip to content

Commit 08ae1e8

Browse files
committed
bug
1 parent bac0985 commit 08ae1e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reporters/kamon-opentelemetry/src/main/scala/kamon/otel/MetricsConverter.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ class WithResourceMetricsConverter(resource: Resource, kamonVersion: String, fro
165165
case b if b > 1 => positiveCounts += iterTo
166166
} else if (fromUpperBound.value == toUpperBound) toLowerBound match {
167167
case 1 =>
168-
zeroCount += iterFrom
169-
iterTo
168+
countInBucket += iterFrom
169+
zeroCount += iterTo
170170
case b if b < 1 =>
171171
countInBucket += iterFrom
172172
negativeCounts += iterTo

0 commit comments

Comments
 (0)