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.2.0.tar.gz
.
File metadata
- Download URL: telemetry-1.2.0.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.0.2 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc66d7cbc48b80ebd71ff2464247f0be13b887a779a9f5908db2f568e1c435bb |
|
MD5 | f486c83c722144303bd7772149d382ff |
|
BLAKE2b-256 | b8ae96b6d4c2b873d2d94982affc245ec9bf54653600005067817b49798b77e9 |