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.9.1.tar.gz (35.0 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.9.1-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.9.1.tar.gz
Algorithm Hash digest
SHA256 7cec495d41c05ceef158d5f8cfc987fd79a17c45a1629e745f3f951d5bf78fba
MD5 7ff8154128a1add7f239b697afe31a49
BLAKE2b-256 fcb1c122cb491dc0627d55bba0461bf743711590eb974c58a413be87a66ce877

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2e40732a75ed72407510eaca494e265712b19986149a294db6e0984aa152b13
MD5 e1f65d77f8b33096451e5422ec969c5d
BLAKE2b-256 f6da1f2eff789eb58b37f98e1253596c4f731787b5ceebb04388031f1c2dbaed

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