scrapy stats collector for prometheus
pip3 install -U scraprom
STATS_CLASS = 'scraprom.PromStatsCollector'
SCRAPROM_PUSHGATEWAY_URL = 'host:port' # default is '0.0.0.0:9091'
SCRAPROM_JOB_NAME = 'job_name' # default is scrapy
SCRAPROM_PUSH_TIMEOUT = 'timeout_in_seconds' # default is 3
SCRAPROM_UPDATE_INTERVAL = 'interval_in_seconds' # default is 5
SCRAPROM_METRICS_PREFIX = 'metrics_prefix' # default is 'scraprom'