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.1.tar.gz
(15.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiogram_telemetry-0.2.1.tar.gz.
File metadata
- Download URL: aiogram_telemetry-0.2.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d755a8104103c9155f98a773a29293ba39a95e1b8bd5ba1f6a8ecf73c564ea
|
|
| MD5 |
d7108a0c53f7e2f4779673326a8e5384
|
|
| BLAKE2b-256 |
406ccca5fc3f3831dc43824de309c6d8de379a3f150e9089af1d2f3a9f11b5ab
|
File details
Details for the file aiogram_telemetry-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aiogram_telemetry-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1430283e4a865b4c85e90360a5c01642c9ca2ab0e906d5cc928f331dd6ae018c
|
|
| MD5 |
046ca64922b9b537a520bea17699cd8a
|
|
| BLAKE2b-256 |
2560f3f51af6cdf82fed93e1932bfafc4ddf024966214369e88bfa17db9257cd
|