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.1.0.tar.gz (7.6 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.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiogram_telemetry-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 5ac1a83a299550032507e02f00f4c0b9d593a80cbb450b65930b049c9f51f144
MD5 5bf0b6561dc3b844b3e832578c955952
BLAKE2b-256 b10c5eef1912a4c20a68679467e6bd801ed6e31a602c032823380b90c1ed93d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiogram_telemetry-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d0d65cc3049925f5c638ccc1e905743a04a4f9ffcda145b7d9687748f7d9f5f
MD5 018b063fd2176887cf6912649c2826d6
BLAKE2b-256 0695bd70fd0d3a958a3a9dd17c4c3101e50cc87769b9b563f7c48ad35f769f3b

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