Skip to main content

A simple package to export Scrapy spider stats to InfluxDB

Project description

scrapy-influxdb-exporter

A simple package to export Scrapy spider stats to InfluxDB.

Installation

pip install scrapy-influxdb-exporter

Usage

Add the following settings to your Scrapy project settings file:

INFLUXDB_DATABASE = ...
INFLUXDB_HOST = ...
INFLUXDB_MEASUREMENT_NAME = ...
INFLUXDB_ORG = ...
INFLUXDB_TOKEN = ...
STATS_CLASS = "scrapy_influxdb_exporter.statscollectors.InfluxDBStatsCollector"

Acknowledgments

This project was inspired by scrapy-prometheus-exporter by @rangertaha and this article by @mikulskibartosz.

Contributing

Contributions are welcome! To get started, please refer to our contribution guidelines.

Issues

If you encounter any problems while using this package, please open a new issue here.

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_influxdb_exporter-1.1.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

scrapy_influxdb_exporter-1.1.1-py3-none-any.whl (4.3 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