Skip to main content

Tools to support adding a Django-based service to Ministry of Justice's Incidence Response and Tuning

Project description

A set of tools to make it easier to add a Django-based service to Ministry of Justice’s Incidence Response and Tuning:

  • ping.json view

  • healthcheck.json view with extensible healthchecks

healthcheck.json

Django settings:

HEALTHCHECKS = [
    'moj_irat.healthchecks.database_healthcheck',
    # override default list of healthcheck callables
]
AUTODISCOVER_HEALTHCHECKS = True  # whether to autodiscover and load healthcheck.py from all installed apps

Installation

At the moment, the only way to install the library is from github

pip install git+https://github.com/ministryofjustice/django-moj-irat.git

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-moj-irat-0.3.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file django-moj-irat-0.3.tar.gz.

File metadata

  • Download URL: django-moj-irat-0.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-moj-irat-0.3.tar.gz
Algorithm Hash digest
SHA256 414cac4dfaf4a26477d34f7802126d3705888ae4e9589c81d453ca5a9c5a9a81
MD5 e65bed8be6174a555a0f2a262b3473dd
BLAKE2b-256 538d8fe452105cebc6cf618d60893e26dc26ee5a39c9dbb8e84f50c4aa5997bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page