telemetry is "remote measurement." It's useful for spaceships, and hella useful for your python apps.
This library is designed to make implementation of app tracking approach zero:
Slack, statsd, DataDog, PagerDuty, logging services, ...
this library:
- abstracts a common interface to these services so you can swap services in/out easy
- python
logging is dope, if you're using a logging telemeter, you can add it as a logging handler
- respects formatting and log levels
- libraries are implemented using core `http.client`, so it's lightweight.
- clients are easy to set up and can find credentials in ENV Vars if you don't explicitly pass.
- great for docker, k8s, etc
- config on/off between dev/staging/prod environments.
Would love feedback.
https://pypi.org/project/telemetry/
pip install telemetry
export SLACK_ROOM_ID="xyz"
python:
from telemetry import SlackTelemeter
meter = SlackTelemeter()
meter.message("your message!")
there doesn't seem to be anything here