Compare commits

..

No commits in common. "c18b992f04f6116cd79aaa072b75beb3178e66b4" and "3122b6e63078a43c33f7c956ef1fe4d0fc561293" have entirely different histories.

View file

@ -193,12 +193,10 @@ func (m *Metrics) collectReqeustDataMetrics(ch chan<- prometheus.Metric, queue *
sum += latency sum += latency
count++ count++
var cumulativeCount uint64
for _, bound := range bucketBounds { for _, bound := range bucketBounds {
if latency <= bound { if latency <= bound {
cumulativeCount++ buckets[bound]++
} }
buckets[bound] += cumulativeCount
} }
} }