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
count++
var cumulativeCount uint64
for _, bound := range bucketBounds {
if latency <= bound {
cumulativeCount++
buckets[bound]++
}
buckets[bound] += cumulativeCount
}
}