Skip to main content

django-healthchecks

Project description

-------------------



Simple Django app/framework to publish health check for monitoring purposes



Status

======

.. image:: https://travis-ci.org/mvantellingen/django-healthchecks.svg?branch=master

:target: https://travis-ci.org/mvantellingen/django-healthchecks



.. image:: http://codecov.io/github/mvantellingen/django-healthchecks/coverage.svg?branch=master

:target: http://codecov.io/github/mvantellingen/django-healthchecks?branch=master



.. image:: https://pypip.in/version/django_healthchecks/badge.svg

:target: https://pypi-hypernode.com/pypi/django_healthchecks/



Usage

=====



Add the following to your urls.py:



.. code-block:: python



url(r'^healthchecks/', include('django_healthchecks.urls')),



Add a setting with the available healthchecks:



.. code-block:: python



HEALTH_CHECKS = {

'postgresql': 'django_healthchecks.contrib.check_database',

'cache_default': 'django_healthchecks.contrib.check_cache_default',

'solr': 'your_project.lib.healthchecks.check_solr',

}



By default the status code is always 200, you can change this to something

else by using the `HEALTH_CHECKS_ERROR_CODE` setting:





.. code-block:: python



HEALTH_CHECKS_ERROR_CODE = 503

Home-page: https://github.com/mvantellingen/django-healthchecks
Author: Michael van Tellingen
Author-email: michaelvantellingen@gmail.com
License: MIT
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.7
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5

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

django-healthchecks-0.5.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

django_healthchecks-0.5.0-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-healthchecks-0.5.0.tar.gz.

File metadata

File hashes

Hashes for django-healthchecks-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2222ef96556d5825324efba9c3c3e991a070ed262d55d71f57c18259fd9ad3c5
MD5 f3a0e86522f86ccb351f861b6f149a77
BLAKE2b-256 76d265cf6c8f431f162c13015c802394825aa88f09ca362b64b13a4b99c27312

See more details on using hashes here.

File details

Details for the file django_healthchecks-0.5.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_healthchecks-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5162de0fa657d95cf508d5a5405d8d7238e3c1a9071520d43b74abd60e94dca
MD5 719c9bc582eccacbbc22dcb88aad4918
BLAKE2b-256 bfffd0e8b9b1fcf982ccf887bc34bd302c8dfd716bba4d7d0c89a49ac230ee0f

See more details on using hashes here.

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