aws-satella

Integration of Satella's metrics with AWS CloudWatch


Keywords
metrics, aws, satella
License
MIT
Install
pip install aws-satella==2.4

Documentation

aws-satella

PyPI PyPI version PyPI License Build Status Test Coverage Maintainability Issue Count Documentation Status

A library to export Satella's metrics to AWS CloudWatch

Installation

pip install aws-satella

Usage

import sys
from aws_satella import AWSSatellaExporterThread, InitializationError


try:
    aws = AWSSatellaExporterThread('AppNamespace')
    aws.start()
except InitializationError:
    print('Could not initialize the boto3 client')
    sys.exit(1)

This spawns a daemonic thread. For details, refer to the docs.

You can additionally use

from aws_satella import start_if_not_started

start_if_not_started(*args, **kwargs)

Both args and kwargs will be passed to constructor. This will initialize such thread, if one does not exist already.

This also supports easy Django configuration, for details go read the docs.

Change log

Change log was moved here.

Special thanks

My special thanks go out to the team at Mailerrize for their support.