Skip to main content

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.

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)

Source distribution for PyMonitorLib 0.3.0
File Size Uploaded
PyMonitorLib-0.3.0.tar.gz 15.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PyMonitorLib 0.3.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page