issues
search
covidarmy
/
backend
The Backend for COVID Army
6
stars
3
forks
source link
Store important metrics
#65
Open
rgxai
opened
3 years ago
rgxai
commented
3 years ago
How many tweets in total were fetched in the last 24 hours
How many tweets were discarded
How many cities + resource combos have empty data
List of cities + resource combos with empty data
How many API requests from the chatbot are we getting
Average number of offsets (tries) before a helpful lead is found through our chatbot
ms337
commented
3 years ago
For every fetch log # of tweets fetched.
Same for discarding + reason
Write a chron job to calculate this every 6 hrs. Use logic from Apoorv's script for now. See if it can be made efficient.
Save the ones found from above.
When api/contacts/* is hit, log event. If api/contacts/{location}/{resource}
When api/contacts/feedback, log event with the contact_id and the feedback_value.
ms337
commented
3 years ago
Add metric for how many tweets were added.