Lightweight OS-agnostic observability UI for PyNinja
Project description
PyObservability
Platform Supported
Deployments
Kick off
Recommendations
- Install
python3.11 or above - Use a dedicated virtual environment
Install PyObservability
python -m pip install pyobservability
Initiate - IDE
import pyobservability
if __name__ == '__main__':
pyobservability.start()
Initiate - CLI
pyobservability start
Use
pyobservability --helpfor usage instructions.
Environment Variables
Sourcing environment variables from an env file
By default,
PyObservabilitywill look for a.envfile in the current working directory. Other file options are supported with a custom kwarg or env varenv_filepointing to the filepath.
Mandatory
- TARGETS - Target URLs running
PyNinjain 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.1or0.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyobservability-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pyobservability-0.0.2-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.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d569230d68044b324235ba11a9ba4cfd4c4968b74af53e146751337aa800573b
|
|
| MD5 |
b81552f289fbcad5e36628af320e6a71
|
|
| BLAKE2b-256 |
ac4f9469332b7e1ae2ddf9faca925403d4142fe834eb21fad748a985ba68a26f
|