Skip to main content

Lightweight OS-agnostic observability UI for PyNinja

Project description

PyObservability

Python

Platform Supported

Platform

Deployments

pypi notes release

Pypi Pypi-format Pypi-status

Kick off

Recommendations

Install PyObservability

python -m pip install pyobservability

Initiate - IDE

import pyobservability


if __name__ == '__main__':
    pyobservability.start()

Initiate - CLI

pyobservability start

Use pyobservability --help for usage instructions.

Environment Variables

Sourcing environment variables from an env file

By default, PyObservability will look for a .env file in the current working directory. Other file options are supported with a custom kwarg or env var env_file pointing to the filepath.

Mandatory

  • TARGETS - Target URLs running PyNinja in the following format.
    • TARGETS='[{"name":"node1","base_url":"http://192.168.1.10:8000","apikey":"token1"},{"name":"node2","base_url":"http://192.168.1.11:8000"}]'

Defaults

  • HOST - Host IP to run PyObservability. Defaults to 127.0.0.1 or 0.0.0.0
  • PORT - Port number to run PyObservability. Defaults to 8080
  • INTERVAL - Polling interval to retrieve server information.

Optional

  • USERNAME - Username to authenticate the monitoring page.
  • PASSWORD - Password to authenticate the monitoring page.

License & copyright

© Vignesh Rao

Licensed under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyobservability-0.0.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file pyobservability-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyobservability-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0rc1

File hashes

Hashes for pyobservability-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98cf466c30ffecea34a4225d544dfeda887845b06c64816f488da885f0ef261b
MD5 ae81763ce4d9b67ca89e09f0717b0850
BLAKE2b-256 51d4658b76d443aa082d8cb5b9681e0397ef770747598e15326a5cbebffc66bf

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