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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-healthchecks-0.5.0.tar.gz
.
File metadata
- Download URL: django-healthchecks-0.5.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2222ef96556d5825324efba9c3c3e991a070ed262d55d71f57c18259fd9ad3c5 |
|
MD5 | f3a0e86522f86ccb351f861b6f149a77 |
|
BLAKE2b-256 | 76d265cf6c8f431f162c13015c802394825aa88f09ca362b64b13a4b99c27312 |
File details
Details for the file django_healthchecks-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_healthchecks-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5162de0fa657d95cf508d5a5405d8d7238e3c1a9071520d43b74abd60e94dca |
|
MD5 | 719c9bc582eccacbbc22dcb88aad4918 |
|
BLAKE2b-256 | bfffd0e8b9b1fcf982ccf887bc34bd302c8dfd716bba4d7d0c89a49ac230ee0f |