Set up
pip install pagerless
export PAGERLESS_KEY=pl_live_...settings.py
INSTALLED_APPS = [..., "pagerless.django"]
MIDDLEWARE = ["pagerless.django.PagerlessMiddleware", ...]Options can also live in settings.PAGERLESS (a dict). Django on ASGI works with the ASGI middleware too.
What it catches
- 500s, with the exception.
- Request rate, errors and latency per URL pattern.
- Uncaught exceptions anywhere in the process.
Questions
Why first in MIDDLEWARE?
So it times and sees every request, including ones other middleware turns into errors.