You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
143876: roachtest/tpccbench: fix double openmetrics emission r=csgourav a=sambhav-jain-16
`tpcc.NewResultWithSnapshots(warehouses, 0, snapshots)` appends the `snapshots` map with a value of the merged histogram for each key.
So when the test was exporting metrics into openmetrics, the result file would have double counts. This was resulting in wrong total values which calculating aggregated results.
This commit fixes the issue by moving `tpcc.NewResultWithSnapshots` to after conversion
Epic: none
Release note: None
Co-authored-by: Sambhav Jain <[email protected]>
0 commit comments