Basic statistics tracking #25
Labels
No labels
Critical Bug
Documentation
Feature
Small bug
tests
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
babka/activitycolander#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AC should do some basic statistics tracking, such as:
To do this efficiently, the best way is probably to store this information inside a set of Redis keys. They could be simple incrementing values with a reset, or they could be stored in N minute resolution intervals, such as 5 minutes.
With 5 minute intervals, that's 12 keys an hour, or 288 keys a day, which sounds like a lot, but could easily be made into a query that takes these values and does a reduction on them to get a sum, but also still retain the details.
mentioned in issue #26
mentioned in issue #27
created branch
25-basic-statistics-trackingto address this issueI'll create a branch
AdminAPIboth to gather this information and to make it available through a REST API.The information that should be gathered for the API includes:
blockandspamandpassed3 and 4 are included for the purpose of analyzing the effectiveness of checks (removing those that are rarely or never triggered).