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.1.tar.gz (36.5 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.1-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for plain_observer-0.11.1.tar.gz
Algorithm Hash digest
SHA256 b06ffaafa6626e96abd7d2e964b8588f37978afff710488a730275d6658ef686
MD5 1b49a27ae48d1302e4c42294278f1566
BLAKE2b-256 3b09b9271f342c1c07e961cc591fa76c207e756e2f9d144efd2d6f34070eeaf5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for plain_observer-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fc59fd3e91a58217ea7899b76b440368381eb0cd4af959e14910c16edd601ea
MD5 a3790c8ca03fa9233c132578da4821b9
BLAKE2b-256 50f1a0b3c9e860e08c177179c68bed8b6a92e1c6aa11e1ee24221b6268690d39

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