plain.observer
On-page telemetry and observability tools for Plain.
Installation
Install the plain.observer
package from PyPI:
uv add plain.observer
Add plain.observer
to your INSTALLED_PACKAGES
:
# app/settings.py
INSTALLED_PACKAGES = [
# ...
"plain.observer",
]
Include the observer URLs in your URL configuration:
# app/urls.py
from plain.observer.urls import ObserverRouter
from plain.urls import Router, include
class AppRouter(Router):
namespace = ""
urls = [
# ...
include("observer/", ObserverRouter),
]
Run migrations to create the necessary database tables:
plain migrate
After installation, Observer will automatically integrate with your application's toolbar (if using plain.admin
). You can access the web interface at /observer/traces/
or use the CLI commands to analyze traces.