Integrations · Python framework

Pagerless for Django

Add the app and put the middleware first. Request rate, errors and latency per URL pattern, and every 500.

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.

Updated .

Free for you and one backup · 3 apps · no card

Sleep through the small stuff.

Run one command in your repo. Pagerless shows every change before it makes it.

npx pagerless connect