The metrics were designed as following:
The main idea is all about Prometheus with its pushgateway and its python client.
You could find more information in below.
Main project provides simple python scripts for crawling website with celery, the monitor part is defined in monitor.py;
Others like pushgateway and python client should be appreciated.