Integration of Satella's metrics with AWS CloudWatch
Project description
aws-satella
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.
Change log
v2.0
- first real release
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
aws-satella-2.0.tar.gz
(4.7 kB
view hashes)
Built Distributions
aws_satella-2.0-py3.8.egg
(4.0 kB
view hashes)
Close
Hashes for aws_satella-2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da0a4d145c2fc2aaa4e9969915b4b21f8f37e915c02ca119397e8fc936883320 |
|
MD5 | 9f3924b27ee04fd81b8a25e5fce9c9ee |
|
BLAKE2b-256 | 79e2b589f54c96faf8ee3cc36064b6e0576261714ff5a9231923ebfc5270d53f |