Python

Package insider-python on PyPI. Current release: 0.2.0.

Install

pip install insider-python

Do not install an extra to pull Django or FastAPI. Those stay dependencies of your app. The integrations import them at runtime.

Initialize

import os
import insider

insider.init(
    dsn=os.environ.get("INSIDER_DSN"),
    environment="production",
    release="1.2.3",
)

No DSN means the SDK is off: every public call returns immediately and nothing is beamed.

Manual capture

Use these outside an HTTP request, for workers and scripts. During a Django or FastAPI request, exceptions and logs fold into that request's single footprint.

try:
    risky()
except Exception as exc:
    insider.capture_exception(exc)

insider.capture_log("checkout completed", level="info")
insider.capture_perf("celery.tasks.send_email", 842)
insider.flush()

Frameworks

The SDK never raises into your code. A full queue or a network failure drops the beacon.