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.4.tar.gz (28.3 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.4-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.3.4.tar.gz
Algorithm Hash digest
SHA256 4efe6be210a9c04c872a548d3fd28bc856fc6ce1a8b2b46d98678fed583c2632
MD5 830cb341b35ec8b79850ac8338bf7c6f
BLAKE2b-256 0381ff72661767c5c655250c6d2937df0a20242691adb2a2a5892e9f38b2d29e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7cfc98d008c43e709cc43a91af954f204c9c5b7fc25f7652bd4f0122b5c9f05c
MD5 20fa768faf513ac61bdde0cfef9d13bc
BLAKE2b-256 f72943881799b5de3cc1674d727346b5b4deb8ab400102c4b84a22b6543b890e

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