mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Added buckets for queries that take less than minimum histogram time and one for the ones taking more than the max value specified. Also, in case the buckets end up overlapping, on server start, an error will be thrown informing the user of this issue and requesting a rectification. Refactored the code to consolidate the calculations in a single function.