Django

Pass DjangoIntegration() to init before the application is created. No middleware and no INSTALLED_APPS entry.

pip install insider-python

WSGI

Put this in wsgi.py before get_wsgi_application().

import os
import insider
from insider.integrations.django import DjangoIntegration
from insider.integrations.logging import LoggingIntegration

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings")

insider.init(
    dsn=os.environ.get("INSIDER_DSN"),
    environment="production",
    release="1.2.3",
    enable_logs=True,
    integrations=[DjangoIntegration(), LoggingIntegration()],
)

from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()

ASGI

Same init in asgi.py, before get_asgi_application(). For Channels, wrap only the HTTP branch and pass DjangoIntegration(auto_perf=False) so the request is not captured twice. See wrap_asgi_application in insider.integrations.django.

What gets beamed

Every HTTP request emits one footprint: timing, method, path, status, stdlib logs when enable_logs=True, and the unhandled exception when the request fails. LoggingIntegration stays attached after Django applies settings.LOGGING.