{ "info": { "author": "Jannis Leidel", "author_email": "jannis@leidel.info", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Communications", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Distributed Computing" ], "description": "============================\nCelery Monitoring for Django\n============================\n\n:Version: 1.1.2\n:Web: https://django-celery-monitor.readthedocs.io/\n:Download: https://pypi.python.org/pypi/django_celery_monitor\n:Source: https://github.com/jezdez/django-celery-monitor\n:Keywords: django, celery, events, monitoring\n\n|build-status| |coverage| |license| |wheel| |pyversion| |pyimp|\n\nAbout\n=====\n\nThis extension enables you to monitor Celery tasks and workers.\n\nIt defines two models (``django_celery_monitor.models.WorkerState`` and\n``django_celery_monitor.models.TaskState``) used to store worker and task states\nand you can query this database table like any other Django model.\nIt provides a Camera class (``django_celery_monitor.camera.Camera``) to be\nused with the Celery events command line tool to automatically populate the\ntwo models with the current state of the Celery workers and tasks.\n\nHistory\n=======\n\nThis package is a Celery 4 compatible port of the Django admin based\nmonitoring feature that was included in the old\n`django-celery `_ package which\nis only compatible with Celery < 4.0.\nOther parts of django-celery were released as\n`django-celery-beat `_\n(Database-backed Periodic Tasks) and\n`django-celery-results `_\n(Celery result backends for Django).\n\nInstallation\n============\n\nYou can install django_celery_monitor either via the Python Package Index (PyPI)\nor from source.\n\nTo install using `pip`,:\n\n.. code-block:: console\n\n $ pip install -U django_celery_monitor\n\nUsage\n=====\n\nTo use this with your project you need to follow these steps:\n\n#. Install the django_celery_monitor library:\n\n .. code-block:: console\n\n $ pip install django_celery_monitor\n\n#. Add ``django_celery_monitor`` to ``INSTALLED_APPS`` in your\n Django project's ``settings.py``::\n\n INSTALLED_APPS = (\n ...,\n 'django_celery_monitor',\n )\n\n Note that there is no dash in the module name, only underscores.\n\n#. Create the Celery database tables by performing a database migrations:\n\n .. code-block:: console\n\n $ python manage.py migrate django_celery_monitor\n\n#. Go to the Django admin of your site and look for the \"Celery Monitor\"\n section.\n\nStarting the monitoring process\n===============================\n\nTo enable taking snapshots of the current state of tasks and workers you'll\nwant to run the Celery events command with the appropriate camera class\n``django_celery_monitor.camera.Camera``:\n\n.. code-block:: console\n\n $ celery -A proj events -l info --camera django_celery_monitor.camera.Camera --frequency=2.0\n\nFor a complete listing of the command-line options available see:\n\n.. code-block:: console\n\n $ celery events --help\n\nConfiguration\n=============\n\nThere are a few settings that regulate how long the task monitor should keep\nstate entries in the database. Either of the three should be a\n``datetime.timedelta`` value or ``None``.\n\n- ``monitor_task_success_expires`` -- Defaults to ``timedelta(days=1)`` (1 day)\n\n The period of time to retain monitoring information about tasks with a\n ``SUCCESS`` result.\n\n- ``monitor_task_error_expires`` -- Defaults to ``timedelta(days=3)`` (3 days)\n\n The period of time to retain monitoring information about tasks with an\n errornous result (one of the following event states: ``RETRY``, ``FAILURE``,\n ``REVOKED``.\n\n- ``monitor_task_pending_expires`` -- Defaults to ``timedelta(days=5)`` (5 days)\n\n The period of time to retain monitoring information about tasks with a\n pending result (one of the following event states: ``PENDING``, ``RECEIVED``,\n ``STARTED``, ``REJECTED``, ``RETRY``.\n\nIn your Celery configuration simply set them to override the defaults, e.g.::\n\n from datetime import timedelta\n\n monitor_task_success_expires = timedelta(days=7)\n\n\n.. |build-status| image:: https://secure.travis-ci.org/jezdez/django-celery-monitor.svg?branch=master\n :alt: Build status\n :target: https://travis-ci.org/jezdez/django-celery-monitor\n\n.. |coverage| image:: https://codecov.io/github/jezdez/django-celery-monitor/coverage.svg?branch=master\n :target: https://codecov.io/github/jezdez/django-celery-monitor?branch=master\n\n.. |license| image:: https://img.shields.io/pypi/l/django-celery-monitor.svg\n :alt: BSD License\n :target: https://opensource.org/licenses/BSD-3-Clause\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/django-celery-monitor.svg\n :alt: django-celery-monitor can be installed via wheel\n :target: http://pypi.python.org/pypi/django_celery_monitor/\n\n.. |pyversion| image:: https://img.shields.io/pypi/pyversions/django-celery-monitor.svg\n :alt: Supported Python versions.\n :target: http://pypi.python.org/pypi/django_celery_monitor/\n\n.. |pyimp| image:: https://img.shields.io/pypi/implementation/django-celery-monitor.svg\n :alt: Support Python implementations.\n :target: http://pypi.python.org/pypi/django_celery_monitor/", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jezdez/django-celery-monitor", "keywords": "celery django events monitoring", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django_celery_monitor", "package_url": "https://pypi.org/project/django_celery_monitor/", "platform": "any", "project_url": "https://pypi.org/project/django_celery_monitor/", "project_urls": { "Homepage": "https://github.com/jezdez/django-celery-monitor" }, "release_url": "https://pypi.org/project/django_celery_monitor/1.1.2/", "requires_dist": [ "celery (<5.0,>=4.0)" ], "requires_python": "", "summary": "Celery monitor for Django.", "version": "1.1.2" }, "last_serial": 2882777, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b81123130675e0826eaa583d5a9b0aae", "sha256": "353f9cd081d64d9ff82f55b88a44e42189ec368d70a530dbc0e2765d1dacc53f" }, "downloads": -1, "filename": "django_celery_monitor-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b81123130675e0826eaa583d5a9b0aae", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18524, "upload_time": "2017-05-03T06:38:52", "url": "https://files.pythonhosted.org/packages/12/41/77040bee5b79bf3cbb29bf90aa9c7d99f8e6b61a74d2fea0e77f6a3e8e0e/django_celery_monitor-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d5f142055c5a95eb0211ec9c960ec8d3", "sha256": "d5f84a72ea5e75d25b048c0f028e0a811d6899d543be6f24f95a87447a97fd7a" }, "downloads": -1, "filename": "django_celery_monitor-1.0.0.tar.gz", "has_sig": false, "md5_digest": "d5f142055c5a95eb0211ec9c960ec8d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57412, "upload_time": "2017-05-03T06:38:54", "url": "https://files.pythonhosted.org/packages/97/a1/44e493e9e27972742ce785ee1e338c91daa7c750387ce486e0b924b29f82/django_celery_monitor-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "fcfd6b21ea8cb23f4126ad52e624ba13", "sha256": "b3f9a5e1b5cf751ac750153038f5b4f7ad60a652f36e8b49c31e59ce55c0a138" }, "downloads": -1, "filename": "django_celery_monitor-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fcfd6b21ea8cb23f4126ad52e624ba13", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18181, "upload_time": "2017-05-03T08:42:45", "url": "https://files.pythonhosted.org/packages/f1/b0/0779a9354b83a4e5cd2386e14caed960e6d695342dbbd0be45cd5af54817/django_celery_monitor-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20c909a1e6a533c1f90e29bdb2d02b4b", "sha256": "95ea0a3bc55af27e929f5eb745bc459f3e9c1afb149b9e83100f4fbd514425f2" }, "downloads": -1, "filename": "django_celery_monitor-1.0.1.tar.gz", "has_sig": false, "md5_digest": "20c909a1e6a533c1f90e29bdb2d02b4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61550, "upload_time": "2017-05-03T08:42:47", "url": "https://files.pythonhosted.org/packages/7e/fe/fad883f853f9da4fafe0e19f24a1071ccd37bd9ba27177e7ac94e66f687f/django_celery_monitor-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "9a8d37ea0d45449b69280fbdae579dfe", "sha256": "5ce205730b87fcd250ea623bd8988ab830e8e0ad4e6e2396ecc79c53854a589e" }, "downloads": -1, "filename": "django_celery_monitor-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9a8d37ea0d45449b69280fbdae579dfe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18304, "upload_time": "2017-05-08T15:11:22", "url": "https://files.pythonhosted.org/packages/94/6c/193451f16d54d543e8123693db2e9743b7a869d1b79c4cf613b85bfef750/django_celery_monitor-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "322e73414a9a6ea890254c854868a796", "sha256": "0deedc23129e8575b0069e579b5f317fe90592f59f83ef49ceba46dbef46a86b" }, "downloads": -1, "filename": "django_celery_monitor-1.0.2.tar.gz", "has_sig": false, "md5_digest": "322e73414a9a6ea890254c854868a796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61681, "upload_time": "2017-05-08T15:11:24", "url": "https://files.pythonhosted.org/packages/ac/71/0a38b8e1f1c325426e6395b76c188e7246919b1ab5246548564da697340d/django_celery_monitor-1.0.2.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "c44060656ea6bd15da0249888b5ca936", "sha256": "42d425eebab5ddacf887bd625f80c8c6454d575af747d47db4aeefe66d0393ff" }, "downloads": -1, "filename": "django_celery_monitor-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c44060656ea6bd15da0249888b5ca936", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19291, "upload_time": "2017-05-11T08:34:13", "url": "https://files.pythonhosted.org/packages/b0/4b/0fe3075a3bf3a3a1d38eb80656e5db5b298a7ad532577c1717242f830ec8/django_celery_monitor-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a7de8e6c18c8cbfe19367d4ca13933c", "sha256": "bb7fccbe73a9eef0d51afad013ebf7603a6a217dd27d8f8dc71a3cad44aef99b" }, "downloads": -1, "filename": "django_celery_monitor-1.1.0.tar.gz", "has_sig": false, "md5_digest": "6a7de8e6c18c8cbfe19367d4ca13933c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62523, "upload_time": "2017-05-11T08:34:14", "url": "https://files.pythonhosted.org/packages/68/da/435da3c1d3b0111a81bb5ee5404023883dec55c3a4d6d308b142a9004378/django_celery_monitor-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ef95de2a48494b0b0a34aa2b5f34b3e7", "sha256": "fb7c97737fbfd91f0519c27c4b889bc738e2fd655315a63646df5386d4d53ad4" }, "downloads": -1, "filename": "django_celery_monitor-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ef95de2a48494b0b0a34aa2b5f34b3e7", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 19292, "upload_time": "2017-05-18T08:29:48", "url": "https://files.pythonhosted.org/packages/0f/2e/8c8bd9ef7dd8fa939d30fba4903748fc6954fa5f6bff18cbca224e7c0569/django_celery_monitor-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1cd216a9f3ec457d990a97fa32c580", "sha256": "8e3441b80ce530349b41f632ce5a9aac12217eca12681c89fd2ed04ed57fe80a" }, "downloads": -1, "filename": "django_celery_monitor-1.1.1.tar.gz", "has_sig": false, "md5_digest": "cd1cd216a9f3ec457d990a97fa32c580", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62542, "upload_time": "2017-05-18T08:29:50", "url": "https://files.pythonhosted.org/packages/0a/14/053f846eb107a94b2ec810af78da3cfd1a92bfb2356003f25e1750f08176/django_celery_monitor-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "f8c98c1ed9925405cc34eb2c01049d43", "sha256": "8671f83564886479435b2a0db81571c0806cc6999e0b2881658c14065a6cf9ce" }, "downloads": -1, "filename": "django_celery_monitor-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f8c98c1ed9925405cc34eb2c01049d43", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20275, "upload_time": "2017-05-18T09:34:51", "url": "https://files.pythonhosted.org/packages/e3/fa/0cc3884d6b97f8f95ea326474ccf20067b006601f8d08226b34e16295d3d/django_celery_monitor-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbab177efb68aeb7f92e94fc8e037b17", "sha256": "a044fac92828e609c37675a12d6c0ef82bd519823ca1ef41ea48e246092e27b2" }, "downloads": -1, "filename": "django_celery_monitor-1.1.2.tar.gz", "has_sig": false, "md5_digest": "fbab177efb68aeb7f92e94fc8e037b17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62566, "upload_time": "2017-05-18T09:34:52", "url": "https://files.pythonhosted.org/packages/f6/4a/22e250bd9da9e288481fdeacd7be9bdf8382cee4949aafce05880939f862/django_celery_monitor-1.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f8c98c1ed9925405cc34eb2c01049d43", "sha256": "8671f83564886479435b2a0db81571c0806cc6999e0b2881658c14065a6cf9ce" }, "downloads": -1, "filename": "django_celery_monitor-1.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f8c98c1ed9925405cc34eb2c01049d43", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20275, "upload_time": "2017-05-18T09:34:51", "url": "https://files.pythonhosted.org/packages/e3/fa/0cc3884d6b97f8f95ea326474ccf20067b006601f8d08226b34e16295d3d/django_celery_monitor-1.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fbab177efb68aeb7f92e94fc8e037b17", "sha256": "a044fac92828e609c37675a12d6c0ef82bd519823ca1ef41ea48e246092e27b2" }, "downloads": -1, "filename": "django_celery_monitor-1.1.2.tar.gz", "has_sig": false, "md5_digest": "fbab177efb68aeb7f92e94fc8e037b17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 62566, "upload_time": "2017-05-18T09:34:52", "url": "https://files.pythonhosted.org/packages/f6/4a/22e250bd9da9e288481fdeacd7be9bdf8382cee4949aafce05880939f862/django_celery_monitor-1.1.2.tar.gz" } ] }