Skip to main content

Scrapy extension to push metrics to a Prometheus Pushgateway

Project description

Scrapy Prometheus

This is a scrapy extension that pushes metrics to a Prometheus Pushgateway.

Installation

pip install scrapy-prometheus-plugin

Configuration

PROMETHEUS_ENABLED = True
PROMETHEUS_GATEWAY = http://localhost:9091

EXTENSIONS = {
   "scrapy_prometheus_plugin.ScrapyPrometheusExtension": 501
}

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

scrapy_prometheus_plugin-0.0.4.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

scrapy_prometheus_plugin-0.0.4-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file scrapy_prometheus_plugin-0.0.4.tar.gz.

File metadata

  • Download URL: scrapy_prometheus_plugin-0.0.4.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.12.3 Linux/6.8.0-51-generic

File hashes

Hashes for scrapy_prometheus_plugin-0.0.4.tar.gz
Algorithm Hash digest
SHA256 80d3e673bb8139d708d80e9c4a990200c42c66c9ecae1a8a88c56cc4ad513a87
MD5 21a260c32763fc1a96c541dad2e0b264
BLAKE2b-256 fa66824c6129bfab74ae8dab8493a516882048ac852168f63690800d96bbb8d3

See more details on using hashes here.

File details

Details for the file scrapy_prometheus_plugin-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for scrapy_prometheus_plugin-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c6a4b6f90416a2be8d013b49935d491a99bb68457532512eeb901eb8dc849a4f
MD5 8cd622f290ebbb36c8f97ef480227009
BLAKE2b-256 327e5e8a980f8ce517626a81d955e06500045f4413012b7eda97edaca42da285

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