API...
Workers...
Cookies...
Pending...
Extracted Today...
Last Hit...
Recent Activity
Loading...
API ReachabilityChecking
EC2 InternalsChecking
Cached Email ProbeChecking
Loading watchdog log...
Installation Instructions
To enable full monitoring (live feed, workers, cookies, logs), install the monitoring endpoints on the EC2 server:
- SSH in:
ssh -i yelp-api.pem ubuntu@13.39.247.222 - Copy
monitoring_endpoints.pyto/home/ubuntu/yelp_search_automation/ - Add to the Flask app:
from monitoring_endpoints import monitoring_bp; app.register_blueprint(monitoring_bp) - Set env:
export YELP_MONITOR_TOKEN="your-secret-token"(on both EC2 and homeaglow-google/.env) - Restart:
sudo systemctl restart gunicorn
Endpoints Provided
GET /monitor/healthWorkers, cookies, pending queue, extracted today, Chrome processes.
GET /monitor/recent?limit=50Last N processed emails with name, URL, location, found/not-found status. Powers the live feed.
GET /monitor/pending?limit=50Emails currently in the pending queue with total count.
GET /monitor/stats?days=7Daily extraction counts: total, found, not_found per day.
GET /monitor/logs?source=watchdog&lines=100Tail watchdog or worker logs. Sources: watchdog, worker.
The file monitoring_endpoints.py
is in the yelp-scraper repo at ~/glo-workspace/yelp-scraper/.
All endpoints require Bearer token auth.