-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tec: Extract statistics in a dedicated CLI command
- Loading branch information
1 parent
f35878e
commit 8361c89
Showing
4 changed files
with
65 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?= "{$count_users} users\n" ?> | ||
<?= "→ {$count_users_month} this month\n" ?> | ||
<?= "→ {$count_users_week} this week\n" ?> | ||
<?= "→ {$percent_users_validated}% validated\n" ?> | ||
<?= "→ {$count_users_active_month} active this month\n" ?> | ||
|
||
<?= "{$count_links} links (estimated)\n" ?> | ||
<?= "→ {$count_links_to_fetch} to synchronize\n" ?> | ||
|
||
<?= "{$count_collections} collections\n" ?> | ||
<?= "→ {$count_collections_public} public\n" ?> | ||
|
||
<?= "{$count_feeds} feeds\n" ?> | ||
<?php foreach ($count_feeds_by_hours as $hour => $count): ?> | ||
<?= "→ {$count} synchronized at {$hour}h\n" ?> | ||
<?php endforeach; ?> | ||
|
||
<?= "{$count_requests} HTTP requests (last 3 - 4 days)\n" ?> | ||
<?= "→ {$count_requests_feeds} to fetch feeds\n" ?> | ||
<?= "→ {$count_requests_links} to fetch links\n" ?> | ||
<?= "→ {$count_requests_images} to fetch images\n" ?> | ||
<?php foreach ($count_requests_by_days as $day => $count): ?> | ||
<?= "→ {$count} on {$day}\n" ?> | ||
<?php endforeach; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters