mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
This patch adds an estimated_histogram for alternator batch item count. estimated_histogram can be used with values starting from 1 with an exponential factor of 1.2, which nicely covers values up to 20, but with only 22 buckets it can reach all the way to 100 (plus infinity). Aside from the new histograms for get and write batches, a helper function was added to return the histogram in the metric format without changing its resolution (which is the metric’s default behaviour). The histogram will be reported once per node rather than once per shard. Signed-off-by: Amnon Heiman <amnon@scylladb.com>
278 KiB
278 KiB