1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test/expect
David Steele 959f77cd6a
Add general-purpose statistics collector.
Currently each module that needs to collect statistics implements custom code to do so. This is cumbersome.

Create a general purpose module for collecting and reporting statistics. Statistics are output in the log at detail level, but there are other uses they could be put to eventually.

No new functionality is added. This is just a drop-in replacement for the current statistics, with the advantage of being more flexible.

The new stats are slower because they involve a list lookup, but performance testing shows stats can be updated at about 40,000/ms which seems fast enough for our purposes.
2020-08-20 14:04:26 -04:00
..
mock-all-001.log Use PostgreSQL instead of postmaster where appropriate. 2020-06-17 15:14:59 -04:00
mock-all-002.log Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
mock-archive-001.log Rename most instances of master to primary in tests. 2020-06-16 14:06:38 -04:00
mock-archive-002.log Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
mock-archive-stop-001.log Rename most instances of master to primary in tests. 2020-06-16 14:06:38 -04:00
mock-archive-stop-002.log Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
mock-expire-001.log Rename most instances of master to primary in tests. 2020-06-16 14:06:38 -04:00
mock-expire-002.log Rename most instances of master to primary in tests. 2020-06-16 14:06:38 -04:00
mock-stanza-001.log Read segment size from WAL headers. 2020-07-09 17:32:36 -04:00
mock-stanza-002.log Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
real-all-001.log Remove real/all integration tests now covered by unit tests. 2020-07-16 13:57:14 -04:00