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.3.7.tar.gz (28.7 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.3.7-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.3.7.tar.gz
Algorithm Hash digest
SHA256 a003e699918a43af24f17d6a3392325d83fbbdc8a853dcb0f965b4e962e04441
MD5 ebbb6b209dd07ed8335b0fd661060455
BLAKE2b-256 e16128fe21101f3e0615a2e0eb14c911608f7d3301cabec101716a977d42fbc6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 575f896d8c57d12a48891d3060c712a86a39b20f6a6ffe6bd252024b5bd0087f
MD5 f6b3f4d9a88c37c9f9b62873fb5666e2
BLAKE2b-256 1d1c0170976f1fbf5259d10f439a8111ef6a80b79a604a6c6748f63f5915d206

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