Lightweight HTTP request logger middleware for Python web frameworks (Flask, Django, FastAPI)
Project description
Sentinel Logger
Lightweight Python middleware for logging HTTP requests to your Sentinel backend. Zero-config observability for Flask, Django, FastAPI, and any WSGI/ASGI framework.
Features
- ✨ Framework agnostic - Works with Flask, Django, FastAPI, Starlette, Bottle, Pyramid
- 🚀 Low latency - Background thread with 500ms flush interval
- 🔄 Smart retries - Exponential backoff with jitter (max 5 attempts)
- 🎯 Reliable - Keep-alive connections, bounded queue (10k items)
- 🛡️ Safe - Drops 4xx errors (no retry for client mistakes)
- 📦 Tiny - Single dependency (
requests)
Installation
pip install sentinel-logger
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
sentinel_logger-0.1.0.tar.gz
(8.6 kB
view details)
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 sentinel_logger-0.1.0.tar.gz.
File metadata
- Download URL: sentinel_logger-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
764521dc7b587625661f86eb00b03bbf8568f4c50cd3cc452c65ecec3a46bc4c
|
|
| MD5 |
716dfc53652eb5059b25d527684497df
|
|
| BLAKE2b-256 |
9915397abe73408a0adb87822d7ccebb908478bd9499755e2eb1f9a084eff10b
|
File details
Details for the file sentinel_logger-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_logger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf680aa98ad55067b9f7f74acffef35ded856171cf6d92f3286d7b06f21e82b3
|
|
| MD5 |
46106e2ed473d2a13254ba71a13c8cd6
|
|
| BLAKE2b-256 |
2dcc72c88f55561bef5f791a23d4788c03a21aa08189f4e68fd6fa02c8cdcfb1
|