Skip to main content

Telemetry and observability helpers for aiogram 3 bots.

Project description

aiogram-telemetry

aiogram-telemetry is a lightweight observability layer for aiogram 3.x bots.
It automatically tracks handler performance, errors, and custom metrics across Redis, Prometheus, and optional PostgreSQL backends.


🚀 Features

  • 📊 Automatic Metrics Collection — track message/update counts, handler execution times, and errors.
  • ⚙️ Zero-Boilerplate Setup — plug it in once; no code changes to your existing handlers.
  • 🔌 Pluggable Backends — supports Redis (for aggregation), Prometheus (for export), and optional PostgreSQL (for persistence).
  • 🧩 Async & Non-Blocking — built fully on asyncio to integrate seamlessly with aiogram 3.x.
  • 🪶 Lightweight — minimal overhead and no extra dependencies beyond aiogram and redis.

🧠 Installation

pip install aiogram-telemetry
# optional PostgreSQL support
pip install aiogram-telemetry[postgres]

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

aiogram_telemetry-0.2.2.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiogram_telemetry-0.2.2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file aiogram_telemetry-0.2.2.tar.gz.

File metadata

  • Download URL: aiogram_telemetry-0.2.2.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for aiogram_telemetry-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4e5501ab8ce91b279dc509c4bda54fc6889dff4ba1d89da84bdaa18786c5469b
MD5 febc9ffb24518bd80aed81b35c50f92e
BLAKE2b-256 bf7122680baaf43b439ff3c28ba304b0e2c8a3b8fb86b2610b87ea410b923c42

See more details on using hashes here.

File details

Details for the file aiogram_telemetry-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for aiogram_telemetry-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a466de6e6b0524fde27ea9191f68af8e3b51f40936cb56a57a42dd7db121714b
MD5 e59dc089c45813deeb1bbcae600ee115
BLAKE2b-256 96755dd0daf27ec946444ceb272da4d8867e82f1c164af3ca078f2ac46703954

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page