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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file scraprom-1.0.2.tar.gz.

File metadata

  • Download URL: scraprom-1.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for scraprom-1.0.2.tar.gz
Algorithm Hash digest
SHA256 480554b6ea0f42a938de479e938835f3c65d38c2e3750b82c47c6df274e4355e
MD5 07c967452befe673eb6c63b0a9c81868
BLAKE2b-256 14db26dd12ef8ce5762776906e94b1129fb66b3e797f33b8894fce4240665713

See more details on using hashes here.

File details

Details for the file scraprom-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: scraprom-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for scraprom-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1243bdfd3d5776ab20a3b8d005c6626031ae0bb0d9de5b69c87c41475220134c
MD5 03850eaa7a43f709f551771b50562c53
BLAKE2b-256 97afa2b20791c2963d43833d960e1f406cb6a692f155c0f7dc67d5e57e619c3a

See more details on using hashes here.

Supported by

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