Skip to main content

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
  • statsd, graphite, datadog

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

telemetry-1.3.0.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file telemetry-1.3.0.tar.gz.

File metadata

  • Download URL: telemetry-1.3.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.8.3 requests/2.28.1 setuptools/65.5.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.10.8

File hashes

Hashes for telemetry-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a0f83e40dbdcafe8b3b075efa5529321f83fcb1dd342b50244359290e1e3fe77
MD5 2872b3d5fbe9611f70bcedbdc52aa24d
BLAKE2b-256 de74a8f122976c5ba0b4bd97f495e3720e3b60b1227c31c6ffc1a2452cce3ce0

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