Skip to main content

Integration of Satella's metrics with AWS CloudWatch

Project description

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.

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

aws-satella-2.4.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distributions

aws_satella-2.4-py3.8.egg (4.8 kB view hashes)

Uploaded Source

aws_satella-2.4-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page