Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metric: use cumulative count instead of windowed count in tsdb
Previously, we were writing the windowed count of a histogram into tsdb. This meant that on each tick, the count reset. This is useful for calculating averages and quantiles using windowed histograms, but makes little sense to record for `count`. This patch now uses the cumulative count in tsdb. Informs cockroachdb#98745 Release note (bug fix): Timeseries metric counts will now show cumulative counts for a histogram rather than the windowed count.
- Loading branch information