counterdata-network / counterdata-network/story-processor

fire alert if story volume is lower than anticipated

Open
#61 4 comments 0 reactions 1 assignee Claimed by @math4humanities View on GitHub
enhancement good first issue
Dominant language
Python
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

At this point we have a good sense of what a "working" system looks like in terms of story volume. After taking a look at the last couple of weeks, I suggest a useful rule would be to say that if the average number of stories retrieved across all platforms over the last four days is below 40,000 then that means we need to look at something.

I propose we add a cron-job that runs that check and fires off a Slack message and/or email if the condition is triggered. This code should be written, so that multiple rules like that could be added at a later point.

I think using a more full-fledged, alerting, package or tool is probably overkill in this case, but I can be convinced otherwise.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.