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.6.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.6-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.3.6.tar.gz
Algorithm Hash digest
SHA256 513933a81aad5a4d3f4a778c4e89ae2f6f2ec06db69561b116b487c84782fea1
MD5 013e299ba19467d7be8aa44896d1fe64
BLAKE2b-256 0450449e949ef6b01fd315acc472c616bae35278ae18d512447de6e9b4c240a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d190fc82b6d434688d88f03d9a4b95a1caa1b911ea52d64622107eeb16fd9713
MD5 ccee62a1588c66ad6cf03e19207f3c7a
BLAKE2b-256 e24026260a1d363197171552498677e71bf1bff64a073de0d2992a7985e7ac4f

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