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 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.0.24.tar.gz (10.7 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.0.24-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: sinai-0.0.24.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for sinai-0.0.24.tar.gz
Algorithm Hash digest
SHA256 25f616607bd64a6d8d007ffc874c8e9efa3b70541242de7e417b64dbbee989a2
MD5 c6936965c398957e53b7a6e80420e276
BLAKE2b-256 3f533f97121a1cceefe30d24c9028f857af7cb6c4b459de117f02e93b6d2f239

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sinai-0.0.24-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.0.24-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1e68bb0282719414cace4dd2f814d7501bf5c5b06a38e5a31aea2848eec1f77a
MD5 6ee57eeb067a50dee0f6ba0d8d219827
BLAKE2b-256 f45fcdc2e0ef7069881306a39874cb0bb8af28fa16015bcbe6df770e3eeab470

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