We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sumCounterIncreases
1 parent 9be613e commit 2a0ff18Copy full SHA for 2a0ff18
pkg/cmd/roachtest/tests/ts_util.go
@@ -91,7 +91,7 @@ func sumCounterIncreases(dataPoints []tspb.TimeSeriesDatapoint) (sum float64) {
91
sum += dataPoints[i].Value
92
continue
93
}
94
- sum += dataPoints[i].Value - dataPoints[0].Value
+ sum += dataPoints[i].Value - dataPoints[i-1].Value
95
96
return sum
97
0 commit comments