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.0.tar.gz (33.2 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.0-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.6.0.tar.gz
Algorithm Hash digest
SHA256 f4a0ac8ad28323ef7085db8515571e67c7f366f04cca0402a6bfe6cc61934029
MD5 0ce00655db337fcb187c70094e896263
BLAKE2b-256 45a22d7c90d06437e30f8650d75e5774b642b3197cd90d2f455d0ea6e28c476d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 99cd2eebf9fc7a0924be49e22cda97f9af89ba317de9ef9b40bdd30644a95f7d
MD5 4d69f6bd1dc1dfcdc250505401ebf7b3
BLAKE2b-256 4935d08daecd6cc972e4b73cb850c52aa3cf5ce3da1258a1a344f3d5070a9d09

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