scrapy-influxdb-exporter

Export Scrapy spider stats to InfluxDB.


Keywords
influxdb, scrapy
License
MIT
Install
pip install scrapy-influxdb-exporter==1.0.6

Documentation

scrapy-influxdb-exporter

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.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.