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 details)

Uploaded Source

Built Distributions

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

Uploaded Source

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

Uploaded Python 3

File details

Details for the file aws-satella-2.4.tar.gz.

File metadata

  • Download URL: aws-satella-2.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for aws-satella-2.4.tar.gz
Algorithm Hash digest
SHA256 ec88b456ac8bb3213809be04414f6a06c1c210d3c7f4c3b7a3a8f84cbcf8bfc9
MD5 66ccc873d0e925c3d8596834cd2747ca
BLAKE2b-256 95004174d6f9e1e60f0ddfdc40eacdba07d4b43ed0aa2e8c1314e1ac16ed20dc

See more details on using hashes here.

File details

Details for the file aws_satella-2.4-py3.8.egg.

File metadata

  • Download URL: aws_satella-2.4-py3.8.egg
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for aws_satella-2.4-py3.8.egg
Algorithm Hash digest
SHA256 e3c20d460c2c7d3acb00a9afa1ec6448874fcb7aaf126f5ab555afce94aebcf3
MD5 74c8372d28c4e6127fe18e892401b27c
BLAKE2b-256 dd1fbfa925b7fbf485eff835d75bdc47fd807ae1fc12a8ad6ad5226a2c9f64e0

See more details on using hashes here.

File details

Details for the file aws_satella-2.4-py3-none-any.whl.

File metadata

  • Download URL: aws_satella-2.4-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for aws_satella-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f639a007c191a4fee35c26a2aee5b7a2f8e3cfc2c1961a0e455bb4e4fa563bfe
MD5 f846ba6674fcdcc5369daf4f8115fc7c
BLAKE2b-256 05bfa7bc7b0cfc5d61bbdfbed36d5239901c9c6b9bb4503c678ca9ce42e96c76

See more details on using hashes here.

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