Skip to main content

A reliability platform client for Django applications.

Project description

Django integration

CI Python versions

Installation

This package requires Python 3.5+

$ pip install -U proofdock-reliability-platform-django

Usage

The chaos middleware takes the following input variables:

Variable Description
RELIABILITY_PLATFORM_APPLICATION_NAME The service application's name
RELIABILITY_PLATFORM_APPLICATION_ENV The service application's deployed environment
RELIABILITY_PLATFORM_PROOFDOCK_API_TOKEN The API token to connect to Proofdock's Chaos API

The configuration exemplified as code:

# file: settings.py
MIDDLEWARE = [
    '..'
    'proofdock.rp.contrib.django.middleware.DjangoMiddleware',
    '..'
]

# other settings ...

CHAOS_MIDDLEWARE = {
    'RELIABILITY_PLATFORM_APPLICATION_NAME': 'example-application-name',
    'RELIABILITY_PLATFORM_APPLICATION_ENV': 'example-environment',
    'RELIABILITY_PLATFORM_PROOFDOCK_API_TOKEN': 'eyJ0eXAi...05'
}

Start your Django application and create an attack using HTTP request header or control panel. Read more about attacks here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

File details

Details for the file proofdock_reliability_platform_django-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for proofdock_reliability_platform_django-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff6df7789917297ad1ed48dcf7c9dea36cccbb4e5273f54148fed27448dd65b4
MD5 df087f0ad0f25c4418adc7f05ed968df
BLAKE2b-256 fd19d9fbb1e8f04e56bad7b5f126b3c74827d5134a29dee55146a272f55183ac

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