Your friendly neighbourhood monitoring library. Record metrics about whatever you are interested in (e.g. application state, data integrity).
Project description
sinai
This is a library for developing monitoring applications that encourages rapid development and clean, pragmatic design.
What your application monitors is up to you. It could be online data sources, the state of a business application, data integrity, anything you want.
For a high-level overview, please read Creating a monitoring application with sinai
Usage
To develop a monitoring application with sinai, you install it and import it like any other Python library.
See the interactive tutorials for how to use it.
Install
There are no required dependencies, but optional dependencies are required for the relevant features:
requests
to use API sources and stores, and the Slack storepymongo
to use MongoDB sources and storesboto3
to use the CloudWatch store
To install via pip:
pip install sinai
To install via setup tools:
$ git clone git@github.com:SinAI-monitoring/sinai.git
$ cd sinai
$ python setup.py install
Contributing
To develop sinai itself, use the following commands to create a development environment. These assume you have pipenv installed.
$ git clone git@github.com:SinAI-monitoring/sinai.git
$ cd sinai
$ pipenv install --dev
$ pipenv shell
$ pre-commit install
Check the pre-commit hooks are working with:
$ pre-commit run -a
Run the unit tests with:
$ pytest
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 Distribution
Built Distribution
File details
Details for the file sinai-0.1.14.tar.gz
.
File metadata
- Download URL: sinai-0.1.14.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7d17373be87f0e9b5e3dda5bf7521360893bca3e4a5c38e41ba4d7d1184c4c |
|
MD5 | 60d61b242997c892d3d34f597ac8cdd9 |
|
BLAKE2b-256 | 29c54a923f4359fc2cfae41c4670e6feddfb5f381eadec6c8e14852778ce3552 |
File details
Details for the file sinai-0.1.14-py2.py3-none-any.whl
.
File metadata
- Download URL: sinai-0.1.14-py2.py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf3b92bc8d05586c44ebc2380aa216c32f9c8b29708fd0bd98b285de83257283 |
|
MD5 | 68abf861494f186dff7896ba3a6aac34 |
|
BLAKE2b-256 | 698d348446b6c349f49cb7b8db7c5d96ccc92dcb330e6667a7171a667fef907a |