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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a064866fe0cb2594a290d3511e03210766f26fbd72794e389e0e9fdd335b7597
|
|
| MD5 |
b1ad89dc2e4d93ca0082ae585fca5ed2
|
|
| BLAKE2b-256 |
9fad10f23faa02217629c0080090819d42f25d9c81c2862f5771328403aae7c6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f853a884a9bf07564a6c832aa8c82dd6937c4e48aac5f98092c448b29f7652f
|
|
| MD5 |
c6b80246c595a936f29539c8ec0f04b4
|
|
| BLAKE2b-256 |
c46306dbd483609d88c8dc8f0b9ff257ebf009e64991be7bf7191ebfc40d49de
|