Regularly store stats snapshot to track historical trends.

Fixes #37
This commit is contained in:
Ian Dunn 2019-11-04 08:39:00 -06:00
parent e4deb6809a
commit 05f8eaa4aa
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
4 changed files with 283 additions and 1 deletions

View file

@ -34,6 +34,7 @@ function load() {
require_once get_includes_path() . 'xprofile.php';
require_once get_includes_path() . 'endpoints.php';
require_once get_includes_path() . 'miscellaneous.php';
require_once get_includes_path() . 'stats.php';
// The logger expects things like `$_POST` which aren't set during unit tests.
if ( ! $running_unit_tests ) {