PyMonitorLib
Lightweight python library for collecting metrics and outputing to influx DB on an interval.
This library is designed for creating interval based monitoring applications quickly and easily. a Main function initializes the application and a Process function is called at the regular interval.
An example for all that is required:
from monitor.lib import Execute, Result
def Main(config, logger, pipeline):
return Result.SUCCESS
if __name__ == "__main__":
Execute(Main, 'service')
The example will create an ArgumentParser for the necessary argument collect and spin up a process.
Notes
This library currently only supports linux/posix based systems for use in process daemonization. Windows services are not currently supported. Basic functionality for building OS independent monitors should still function.
Metadata
Release files for PyMonitorLib 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| PyMonitorLib-0.3.0.tar.gz | 15.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyMonitorLib-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.7 kB
Release files / PyMonitorLib-0.3.0.tar.gz
| Download URL | PyMonitorLib-0.3.0.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7d21598ea23918e4412015961a6ef3d983d1308b5d918ecee53b6e9ac329d89
|
|
BLAKE2b-256 checksum How to use checksums |
6470c10ece9c2790fbf2843106bc689adf8e9968c8adbe0eba49bac4067d9a13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
|
Release files / PyMonitorLib-0.3.0-py3-none-any.whl
| Download URL | PyMonitorLib-0.3.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90a1211e3e2c7863438c08b0d7f8b214c98c86c894000792b6c2b19e846f8ca0
|
|
BLAKE2b-256 checksum How to use checksums |
2a93ce5ec5aa6c3772e33565dfbc1ff58fcfa1a2db1f102361baf806ed7cf512
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
|
Security for PyMonitorLib 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.