Scrapy stats collector for prometheus
Project description
scraprom
scrapy stats collector for prometheus
how to use
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'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scraprom-1.0.2.tar.gz
(4.7 kB
view hashes)