Skip to main content

Request recording and replay debugging middleware for Django

Project description

BlackBox

BLACKBOX is a Django middleware that records failing HTTP requests and allows replay and regression debugging. in a controlled db safe env. configurable by user.

Features

  • Automatic request recording
  • Replay engine
  • Response diff detection
  • Regression detection

Installation

pip install blackbox

##through git

pip install git+https://github.com/AuxSHii/blackbox-middleware.git

Usage

Add to INSTALLED_APPS:

"blackbox"

Add middleware:

"blackbox.middleware.BlackBoxMiddleware"

#confugure in project seettings

BLACKBOX={ "ENABLED": True, #master switch "RECORD_STATUS_CODES": [500], # only record 500 i.e. server crashes "IGNORE_PATHS": ["/admin"], # ignore admin panel = noise "MAX_REPLAY_PER_REQUEST": 3, #keep only latest n replays i.e.5 here configured "DUPLICATE_IDENTICAL": True, #deleeting spam replays "REPLAY_TTL_DAYS":14, }

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

clock_box-0.1.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

clock_box-0.1.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file clock_box-0.1.0.tar.gz.

File metadata

  • Download URL: clock_box-0.1.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for clock_box-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a064866fe0cb2594a290d3511e03210766f26fbd72794e389e0e9fdd335b7597
MD5 b1ad89dc2e4d93ca0082ae585fca5ed2
BLAKE2b-256 9fad10f23faa02217629c0080090819d42f25d9c81c2862f5771328403aae7c6

See more details on using hashes here.

File details

Details for the file clock_box-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clock_box-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for clock_box-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f853a884a9bf07564a6c832aa8c82dd6937c4e48aac5f98092c448b29f7652f
MD5 c6b80246c595a936f29539c8ec0f04b4
BLAKE2b-256 c46306dbd483609d88c8dc8f0b9ff257ebf009e64991be7bf7191ebfc40d49de

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