Skip to main content

Scrapy stats collector for prometheus

Project description

scraprom

scrapy stats collector for prometheus

how to use

  1. pip3 install -U scraprom
  2. STATS_CLASS = 'scraprom.PromStatsCollector'
  3. SCRAPROM_PUSHGATEWAY_URL = 'host:port' # default is '0.0.0.0:9091'
  4. SCRAPROM_JOB_NAME = 'job_name' # default is scrapy
  5. SCRAPROM_PUSH_TIMEOUT = 'timeout_in_seconds' # default is 3
  6. SCRAPROM_UPDATE_INTERVAL = 'interval_in_seconds' # default is 5
  7. SCRAPROM_METRICS_PREFIX = 'metrics_prefix' # default is 'scraprom'

Project details


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)

Uploaded Source

Built Distribution

scraprom-1.0.2-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page