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.6.1.tar.gz (33.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.6.1-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.6.1.tar.gz
Algorithm Hash digest
SHA256 e5b8a196441991c3add7d53fe1edcea683cd87493ab2467de6b738a6dd9d77cd
MD5 8d50fdb0043bb82caea136a9b914d8c3
BLAKE2b-256 718dd3c0e152144456d4c3031390f09b6e017aa48680816298fde97867652edf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a62d09d9bc4509d5bf0c87e86ba10d920b5bdb77d4b2ea82121a287533853c48
MD5 e2f99a97ed0d6ee8ecf321a8e6336c70
BLAKE2b-256 0272e0275d78aeb4f429adf2f2e4798a22bdcbcfbd55f307f3d3cb426006d231

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