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.11.0.tar.gz (36.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.11.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.11.0.tar.gz
Algorithm Hash digest
SHA256 55a31962c720deab6eb68048d24e4df36b98b63d658a0521a0ab50381f88e5b8
MD5 02e916123a621c3cde6bb71274b7fce5
BLAKE2b-256 640f8f197c19a879d21cc1af496278b591bd777bc71adb238cf6f0d0fc5bcf59

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbddfd51fa065c872093ddac56973b2160e4ed3696bcab76c8b56bab3fe942da
MD5 232415e37233a7b9b5655dc048a03603
BLAKE2b-256 63f844171e4a89dcf84d824d2962289d20419cdc2066069129035a9e937ffb10

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