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.0.tar.gz (6.1 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.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiogram_telemetry-0.2.0.tar.gz
  • Upload date:
  • Size: 6.1 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.0.tar.gz
Algorithm Hash digest
SHA256 6da14d76e34ce0953b90cf5cdf2c4c45d6b7a195782c8ccac4a29f15cb15981c
MD5 b0cffcf83be6d655ea16a7f66a9a89c7
BLAKE2b-256 14747934800fefa2a413bf9c9d4cd85528fdb9e4d843c3e9c5f720bd271e5c69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiogram_telemetry-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b84cb608c37054a83c1baa119ffa56a46736f4d28c348b550ad226e5a343ff9
MD5 b12ddb744c7c86452c2307a190361b91
BLAKE2b-256 31ce673a36038549e35a3f50a9e40f7f77ab22fe631d16bb546da8f0d2eac538

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