mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 05:56:21 +00:00
Merge pull request #236 from ibrarahmad/REL1_0_STABLE
PG-382: Adjust the maximum value for histogram buckets.
This commit is contained in:
@@ -2032,7 +2032,7 @@ pg_stat_monitor_internal(FunctionCallInfo fcinfo,
|
||||
values[i++] = Float8GetDatumFast(tmp.blocks.blk_write_time);
|
||||
|
||||
/* resp_calls at column number 41 */
|
||||
values[i++] = IntArrayGetTextDatum(tmp.resp_calls, MAX_RESPONSE_BUCKET);
|
||||
values[i++] = IntArrayGetTextDatum(tmp.resp_calls, PGSM_HISTOGRAM_BUCKETS);
|
||||
|
||||
/* utime at column number 42 */
|
||||
values[i++] = Float8GetDatumFast(roundf(tmp.sysinfo.utime,4));
|
||||
|
||||
Reference in New Issue
Block a user