{ "info": { "author": "wooddance", "author_email": "zireael.me@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# acrawler-prometheus\n\nThe handler works with [aCrawler](https://github.com/wooddance/aCrawler) and [Prometheus](http://prometheus.io/).\n\nExport statistics for:\n\n- Concurrent requests\n- Task (Requests, Items) counts\n- Queue status\n\n## Installation\n\n```bash\n$ pip install acrawler_prometheus\n```\n\n## Usage\n\nAdd Handler:\n\n```python\nclass MyCrawler(Crawler):\n middleware_config = {\n \"acrawler_prometheus.PromExporter\": 100,\n }\n\n config = {\n \"PROMETHEUS_INTERVAL\": 5\n }\n```\n\nAvaliable Config:\n\n```python\nPROMETHEUS_ADDR = \"localhost\"\nPROMETHEUS_PORT = 8000\nPROMETHEUS_INTERVAL = 1 # exporting interval, in second\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wooddance/acrawler-prometheus", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "acrawler-prometheus", "package_url": "https://pypi.org/project/acrawler-prometheus/", "platform": "", "project_url": "https://pypi.org/project/acrawler-prometheus/", "project_urls": { "Homepage": "https://github.com/wooddance/acrawler-prometheus" }, "release_url": "https://pypi.org/project/acrawler-prometheus/0.0.4/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "The handler working with aCrawler and Prometheus", "version": "0.0.4" }, "last_serial": 5723354, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d1193a61dd6570826f4b8f46856e5d79", "sha256": "c7518e08734ae4b1895e8ff5c87ced8a0ef3f903d9f84d52d1cae24532b97399" }, "downloads": -1, "filename": "acrawler_prometheus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d1193a61dd6570826f4b8f46856e5d79", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 2142, "upload_time": "2019-07-31T15:27:29", "url": "https://files.pythonhosted.org/packages/b7/fe/6e3b6790f3b82c5acd6cb95d0dfe07c1388da49bb87d574cb67ced289357/acrawler_prometheus-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4deec66daf4b020cdcdcb83ccaad286c", "sha256": "0efb7adc3c3742e39393a32b013531081f45b39595ac9bf7d7cf39e665723597" }, "downloads": -1, "filename": "acrawler_prometheus-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4deec66daf4b020cdcdcb83ccaad286c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 2167, "upload_time": "2019-08-23T23:49:22", "url": "https://files.pythonhosted.org/packages/e5/52/35d81d8da10dba883eaa749c67bdea22419653d71f8a42ffa7afe546dcf8/acrawler_prometheus-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "22da855f34a43902cae2961f1bd2d8ea", "sha256": "58d7305330d6d2344c6e3a8f89d80b08afaa9da5187de1044543907e4f567168" }, "downloads": -1, "filename": "acrawler_prometheus-0.0.3.tar.gz", "has_sig": false, "md5_digest": "22da855f34a43902cae2961f1bd2d8ea", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 2175, "upload_time": "2019-08-24T00:11:10", "url": "https://files.pythonhosted.org/packages/99/6b/07a965f4db3ec9d61c05ba7762bc05412b5824f56580c928f1849d63995d/acrawler_prometheus-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "07fa14f0ca444af1a8117e650516c7ef", "sha256": "0d2b2a1d360dc371b1a57dee344152cc5622225af040590ce3886e1f3b1f8d0c" }, "downloads": -1, "filename": "acrawler_prometheus-0.0.4.tar.gz", "has_sig": false, "md5_digest": "07fa14f0ca444af1a8117e650516c7ef", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 2171, "upload_time": "2019-08-24T00:41:02", "url": "https://files.pythonhosted.org/packages/1f/fb/f8238c158ce3beb181c570be0355096dc8eeb112eacdf68cd0ff477465d0/acrawler_prometheus-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "07fa14f0ca444af1a8117e650516c7ef", "sha256": "0d2b2a1d360dc371b1a57dee344152cc5622225af040590ce3886e1f3b1f8d0c" }, "downloads": -1, "filename": "acrawler_prometheus-0.0.4.tar.gz", "has_sig": false, "md5_digest": "07fa14f0ca444af1a8117e650516c7ef", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 2171, "upload_time": "2019-08-24T00:41:02", "url": "https://files.pythonhosted.org/packages/1f/fb/f8238c158ce3beb181c570be0355096dc8eeb112eacdf68cd0ff477465d0/acrawler_prometheus-0.0.4.tar.gz" } ] }