Skip to main content

Ingestion service and live UI for mod_wsgi telemetry samples.

Project description

The mod_wsgi-telemetry package provides an external telemetry ingester and live UI for the mod_wsgi Apache module. With the WSGITelemetryService directive enabled in Apache, each mod_wsgi process (daemon-mode worker or embedded-mode Apache child) emits per-interval binary datagrams summarising its throughput, latency distribution, capacity utilisation, CPU and memory consumption, and any active slow requests. The ingester receives those datagrams over a local UNIX socket, aggregates them across every reporting process, and serves a browser-based live UI together with a curses terminal monitor for hosts where opening a browser is impractical.

The package is distributed separately from mod_wsgi itself so that an installation using the operating-system mod_wsgi package, or any other manually-configured Apache, can use the telemetry pipeline without adopting the PyPi mod_wsgi or mod_wsgi-express packages.

The ingester is intended to run co-located with the Apache instance it observes: the transport is a local UNIX datagram socket, and the UI binds to the loopback interface by default. For remote access, either an SSH tunnel or an authenticated reverse proxy is recommended.

Once installed, launch the ingester with:

mod_wsgi-telemetry serve

It binds unix:/tmp/mod_wsgi-telemetry.sock for incoming datagrams and serves the browser UI on http://127.0.0.1:8888/ by default. A mod_wsgi-telemetry top subcommand provides a curses-based terminal monitor for the same data.

For the full configuration reference, including the WSGITelemetryService, WSGITelemetryOptions and WSGISlowRequests Apache directives, the matching mod_wsgi-express options, socket-permission handling for multi-user deployments, and the remote-access patterns, see the External Telemetry Service page in the mod_wsgi documentation site at https://www.modwsgi.org.

This package is still being iterated on. The directive set, option names, wire format and ingester CLI may change in a future release; pair an ingester release with the matching mod_wsgi release until the pipeline stabilises.

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

mod_wsgi_telemetry-1.0.0.dev1.tar.gz (157.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mod_wsgi_telemetry-1.0.0.dev1-py3-none-any.whl (157.7 kB view details)

Uploaded Python 3

File details

Details for the file mod_wsgi_telemetry-1.0.0.dev1.tar.gz.

File metadata

  • Download URL: mod_wsgi_telemetry-1.0.0.dev1.tar.gz
  • Upload date:
  • Size: 157.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mod_wsgi_telemetry-1.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 feb26d727e44963a75f00522e1cd23547e3e9674898c9b77df3e1236eb739398
MD5 1f4cc0cd35ded63c7294ff0b532be5cd
BLAKE2b-256 559aaf8a542f420838b0a0d56cb1ce3b6d1e1283a99ea156ca35ab8728b076c7

See more details on using hashes here.

File details

Details for the file mod_wsgi_telemetry-1.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: mod_wsgi_telemetry-1.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 157.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mod_wsgi_telemetry-1.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2619baa0dd3026ba6772b999f94fa542428972dfc31cee2b25173a56691a0bf
MD5 d9d07ab40eead6eeab0d57c7cda72d73
BLAKE2b-256 f6c40f70abb22fbf205bf51f3c311c180b50273ddb0f68f05978e41c2276b488

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