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.5.0.tar.gz (29.0 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.5.0-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2f645efeb67eea28ad88d84f24e3e7498926427bc84385b1a6fbe54f0d1c1a23
MD5 e917837b609b466ab1e6d8010a726a9f
BLAKE2b-256 d934c0f506b96ceb0114fa6d180342f582ea1e1cc6e8521b1deba4fc8bd54866

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 979ed2629e8ad7153587f3da8d174ee114da5cf7950980ef0d61350e27c01154
MD5 07dc920835a65b413101464f01b82c8d
BLAKE2b-256 85c4acd16e0eec983308cea87f5c75da3060bbf3b6842ca8071098d98a26f52f

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