Skip to main content

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.

See a simple usage example.

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 store
  • pymongo to use MongoDB sources and stores
  • boto3 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sinai-0.1.12.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sinai-0.1.12-py2.py3-none-any.whl (19.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sinai-0.1.12.tar.gz.

File metadata

  • Download URL: sinai-0.1.12.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

Hashes for sinai-0.1.12.tar.gz
Algorithm Hash digest
SHA256 6fdbf06fbc20d2e93a199e127e81ddd853a7a57146a45e2c058859221e3b3672
MD5 ec27ce60f661e893f8de16b0f4af77d2
BLAKE2b-256 4fad13a0d393ff70f2f77611f53726e60668bb1fb018dfb6fac7bffb50f6a9e8

See more details on using hashes here.

File details

Details for the file sinai-0.1.12-py2.py3-none-any.whl.

File metadata

  • Download URL: sinai-0.1.12-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for sinai-0.1.12-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20045b30b5cd6970f55e1871f9c20c7c7ee67bcd895db7732a0d443448a7de27
MD5 593bc5d1b28186c5a3d92f164f4a2db6
BLAKE2b-256 13c24a440c220691478f3592bb21d4d0f1466fa257b50e2bbc291d378b507e37

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