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.9.0.tar.gz (33.9 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.9.0-py3-none-any.whl (45.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.9.0.tar.gz
Algorithm Hash digest
SHA256 e7350ade95e9d032b511a0308e976e1c921cefa1e7823eb0cb60408c462d3c22
MD5 00de88ba9667e6e16e5d524012385ab5
BLAKE2b-256 6434c015e9d2f576cc903e5a2d634a931930933e0f9d08a3362d7c7e2fbb37a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 788272c9a453c053dc67a32cf9562eb41cdcaf4cbe3fea38f1905b81cabf7ca0
MD5 4177a0133f9d2ba1f7813363331372be
BLAKE2b-256 1608241bf755872c7d9ae8be185dae9175b14675dfeb405dd1dbc4a31d4c83da

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