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.3.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.3-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiogram_telemetry-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 aa8e4add1fd07c4d93b7ed4b1491e1c1a9d47e2fddf3f6b2531d09be1f193273
MD5 cc5bc1395cdd5c615ce2781482695bf5
BLAKE2b-256 b852ad38d004e35e298df35cb8c3319694b0021ef6128b003e5eef015c60a627

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiogram_telemetry-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3b27f4dd884dd5a2df53e82413feef92f67e52f8e5a67f19ec49ebeef76d4a8e
MD5 db984e69d90b0afded571c10950a8355
BLAKE2b-256 807d055f280795bbcc08a5f4a72b7942898687014bd70dc3830386fd76ce099c

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