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-1.0.1-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyobservability-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9241cc6bdbb81f7e0411bf05c6b2d9bb5161622fd0da2f5ad70486ed4136ef77
MD5 7f80cdfd4b12bc7b1b1febdb74d3cc9a
BLAKE2b-256 59c236707eb8a3a5c78ae374b966a68889a03d5cbbccd11e46732a0d26077d84

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