Skip to main content

django-watchman exposes a status endpoint for your backing services

Project description

django-watchman

PyPI version Coverage

django-watchman exposes a status endpoint for your backing services like databases, caches, etc.

Ozymandias

Documentation

The full documentation is at django-watchman.readthedocs.io.

Testimonials

We're in love with django-watchman. External monitoring is a vital part of our service offering. Using django-watchman we can introspect the infrastructure of an application via a secure URL. It's very well written and easy to extend. We've recommended it to many of our clients already.

-- Hany Fahim, CEO, VM Farms.

Quickstart

  1. Install django-watchman:

    pip install django-watchman
    

    Or with uv:

    uv add django-watchman
    
  2. Add watchman to your INSTALLED_APPS setting:

    INSTALLED_APPS = (
        ...
        'watchman',
    )
    
  3. Include the watchman URLconf in your project urls.py:

    re_path(r'^watchman/', include('watchman.urls')),
    
  4. Start the development server and visit http://127.0.0.1:8000/watchman/ to get a JSON response of your backing service statuses:

    {
        "databases": [
            {
                "default": {
                    "ok": true
                }
            }
        ],
        "caches": [
            {
                "default": {
                    "ok": true
                }
            }
        ],
        "storage": {"ok": true}
    }
    

License

BSD-3-Clause

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_watchman-1.5.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_watchman-1.5.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file django_watchman-1.5.0.tar.gz.

File metadata

  • Download URL: django_watchman-1.5.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_watchman-1.5.0.tar.gz
Algorithm Hash digest
SHA256 924e819e51a10a6e08210cde12588544317d6697725634fccef40b9d675bc19e
MD5 b6c5119395ed98ee39374ac1df1302c3
BLAKE2b-256 8f9cc5703777a4fcfdf030ba79c6a91e0872da66a89004018bec4f5db15cf7d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_watchman-1.5.0.tar.gz:

Publisher: publish.yml on mwarkentin/django-watchman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_watchman-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_watchman-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd9b5d9796102db0d49f1162ad30b47e054d1413ce03214c580d19a274c02a0c
MD5 cab462b7191f48d3b8a7148048680087
BLAKE2b-256 412a090b999822578194bf2c4842744429ee8768f3a7c18c3cf95fb0983d7683

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_watchman-1.5.0-py3-none-any.whl:

Publisher: publish.yml on mwarkentin/django-watchman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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