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.10.0.tar.gz (35.1 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.10.0-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.10.0.tar.gz
Algorithm Hash digest
SHA256 8a2dc31ea300165da7bbb22c154eb072451bb1a05600a6b425dd43e0f8760c12
MD5 c8e3167f70be8f2af5f6f94a6b00f19a
BLAKE2b-256 d68ce023d83775c25136c5db96464954da135623bc5e44173db9638c7651e496

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 873eb202fa6a20bd08a6a7a0dcc98496c3017e09e5b5f4af7e3dca9c5d7e696a
MD5 6d22dea9226cf147ed17e77383ed48df
BLAKE2b-256 49e491cdd7a20f2a7b7d08e0efbed0bc0a7cae915bf1a9adc6ea4e956f6c5cf4

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