Remote measurements for your app
Project description
Remote measuring abstraction for software applications.
telemetry
serves as a simple facade or abstraction for various telemetry frameworks (e.g. pagerduty, slack, graphite)
allowing the end user to plug in the desired telemetry framework at deployment time. Think slf4j
but for events and numbers. This library borrows from their example (and copy.)
As your projects grow, their telemetry requirements will change. The purpose of this library is to simplify implementation, provide easy configuration, encourage testing, and avoid vendor lock.
Supported Services:
- pagerduty
- slack
Telemeters preference to being configurable, but don't require more than credentials to get working. For instance, slack can be implemented with the following:
import logging
from telemetry import SlackTelemeter
logging.basicConfig(level=logging.INFO)
logging.getLogger().addHandler(SlackTelemeter())
logging.info("hello room!")
or
from telemetry import SlackTelemeter
meter = SlackTelemeter()
meter.message("your message!")
Clients are written using core python libraries, so telemetry
is light weight.
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
File details
Details for the file telemetry-1.0.7.tar.gz
.
File metadata
- Download URL: telemetry-1.0.7.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b659290d1ebcbe340c7bfab07db0c3edf3d7fe40dd4caed9495d3ac62fe3c195 |
|
MD5 | 9ef9b019b8559ecdc0b98942a53651c1 |
|
BLAKE2b-256 | a7eb0c8c1d36a39c3fb5d774b53e6c1cc8b978f7c0c8b0261ab1897cf5bb00af |