Skip to main content

On-page telemetry and observability tools for Plain.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plain_observer-0.6.2.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plain_observer-0.6.2-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file plain_observer-0.6.2.tar.gz.

File metadata

  • Download URL: plain_observer-0.6.2.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.16

File hashes

Hashes for plain_observer-0.6.2.tar.gz
Algorithm Hash digest
SHA256 21e92e992a75451ed2addaea9fdd40f89ece9228c33c290a494ce8fefcfc4e2a
MD5 3a35b819e60d58976257c1395961b759
BLAKE2b-256 5da22daa0a3b081f12e9e2c6fb2b84ed27dd418f0aa5a7ced23867f56f69ac2b

See more details on using hashes here.

File details

Details for the file plain_observer-0.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for plain_observer-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 597753b1bd98cdc9144cbc522915b058f92433ab6884cd87a79ee39742691f76
MD5 221f9869aa371bb291f0b4b4be287b5b
BLAKE2b-256 2829bfec785c1ecd3b3589b0d10d5187709e8e350adbc24117576018132be101

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page