Statistics¶
The Statistics page shows current metrics about your FenLiu activity.
Accessing Statistics¶
Click Statistics in the main navigation.
Overview Cards¶
Four cards display key metrics:
Total Streams¶
Number of hashtag streams you've created (total and active count).
Total Posts¶
Number of posts fetched from all streams (total and reviewed count).
Average Spam Score¶
Mean spam score across all posts (0-100 scale).
Top Hashtag¶
The hashtag with the most associated posts.
Charts¶
Posts Over Time¶
Line chart showing post collection activity over the last 7 days.
Use it to: - See daily fetch activity - Identify peak activity periods - Spot trends in stream usage
Top Hashtags¶
Bar chart showing the top 5 hashtags by post count.
Use it to: - Identify the most active hashtags - Focus on productive streams - Balance across streams
Queue Statistics¶
The Statistics page also shows queue health metrics:
Delivered Posts¶
- Active: Posts currently in the database with
deliveredstatus - All-Time: Active + posts deleted by cleanup (preserved in QueueStats)
Errors¶
- Active: Posts currently in the database with
errorstatus - All-Time: Active + error posts deleted by cleanup (from ErrorHistory)
- Most Frequent Error: The most common error reason across active and historical errors
API Access¶
Get statistics programmatically:
curl -H "X-API-Key: your-api-key" http://localhost:8000/api/v1/stats
Response includes:
- total_streams - Total hashtag streams
- active_streams - Currently active streams
- total_posts - Posts in database
- average_spam_score - Mean spam score
Next Steps¶
- Review Interface - Approve posts
- Queue Preview - Monitor exports
- Dashboard - Quick overview