1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/test
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
..
certificate New test containers with static test certificates. 2018-11-21 18:13:37 -05:00
code-count Improve server test harness to support multiple protocols/connections. 2020-08-10 16:16:11 -04:00
data Automate generation of WAL and pg_control test files. 2017-11-18 20:02:54 -05:00
expect Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
lib/pgBackRestTest Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
src Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
.gitignore Move coverage results to test/result. 2020-03-14 15:29:42 -04:00
container.yaml PostgreSQL 13 beta3 support. 2020-08-14 10:08:25 -04:00
define.yaml Add general-purpose statistics collector. 2020-08-20 14:04:26 -04:00
test.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
travis.pl Add --no-coverage-report to test.pl to disable report generation. 2020-06-17 15:07:30 -04:00
Vagrantfile Add jq to tools installed by Vagrantfile. 2020-05-14 18:45:23 -04:00