Compare commits
No commits in common. "c18b992f04f6116cd79aaa072b75beb3178e66b4" and "3122b6e63078a43c33f7c956ef1fe4d0fc561293" have entirely different histories.
c18b992f04
...
3122b6e630
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue