# aiogram-telemetry
**aiogram-telemetry** is a lightweight observability layer for [aiogram 3.x](https://docs.aiogram.dev) 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
```bash
pip install aiogram-telemetry
# optional PostgreSQL support
pip install aiogram-telemetry[postgres]
Raw data
{
"_id": null,
"home_page": null,
"name": "aiogram-telemetry",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "aiogram, telemetry, prometheus, redis, observability",
"author": "aiogram-telemetry maintainers",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b8/52/ad38d004e35e298df35cb8c3319694b0021ef6128b003e5eef015c60a627/aiogram_telemetry-0.2.3.tar.gz",
"platform": null,
"description": "# aiogram-telemetry\r\n\r\n**aiogram-telemetry** is a lightweight observability layer for [aiogram 3.x](https://docs.aiogram.dev) bots. \r\nIt automatically tracks handler performance, errors, and custom metrics across Redis, Prometheus, and optional PostgreSQL backends.\r\n\r\n---\r\n\r\n## \ud83d\ude80 Features\r\n\r\n- \ud83d\udcca **Automatic Metrics Collection** \u2014 track message/update counts, handler execution times, and errors. \r\n- \u2699\ufe0f **Zero-Boilerplate Setup** \u2014 plug it in once; no code changes to your existing handlers. \r\n- \ud83d\udd0c **Pluggable Backends** \u2014 supports Redis (for aggregation), Prometheus (for export), and optional PostgreSQL (for persistence). \r\n- \ud83e\udde9 **Async & Non-Blocking** \u2014 built fully on asyncio to integrate seamlessly with aiogram 3.x. \r\n- \ud83e\udeb6 **Lightweight** \u2014 minimal overhead and no extra dependencies beyond aiogram and redis.\r\n\r\n---\r\n\r\n## \ud83e\udde0 Installation\r\n\r\n```bash\r\npip install aiogram-telemetry\r\n# optional PostgreSQL support\r\npip install aiogram-telemetry[postgres]\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Telemetry and observability helpers for aiogram 3 bots.",
"version": "0.2.3",
"project_urls": {
"Documentation": "https://github.com/example/aiogram-telemetry/docs",
"Homepage": "https://github.com/example/aiogram-telemetry"
},
"split_keywords": [
"aiogram",
" telemetry",
" prometheus",
" redis",
" observability"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "807d055f280795bbcc08a5f4a72b7942898687014bd70dc3830386fd76ce099c",
"md5": "db984e69d90b0afded571c10950a8355",
"sha256": "3b27f4dd884dd5a2df53e82413feef92f67e52f8e5a67f19ec49ebeef76d4a8e"
},
"downloads": -1,
"filename": "aiogram_telemetry-0.2.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "db984e69d90b0afded571c10950a8355",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 16797,
"upload_time": "2025-10-24T16:16:12",
"upload_time_iso_8601": "2025-10-24T16:16:12.020635Z",
"url": "https://files.pythonhosted.org/packages/80/7d/055f280795bbcc08a5f4a72b7942898687014bd70dc3830386fd76ce099c/aiogram_telemetry-0.2.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b852ad38d004e35e298df35cb8c3319694b0021ef6128b003e5eef015c60a627",
"md5": "cc5bc1395cdd5c615ce2781482695bf5",
"sha256": "aa8e4add1fd07c4d93b7ed4b1491e1c1a9d47e2fddf3f6b2531d09be1f193273"
},
"downloads": -1,
"filename": "aiogram_telemetry-0.2.3.tar.gz",
"has_sig": false,
"md5_digest": "cc5bc1395cdd5c615ce2781482695bf5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 15444,
"upload_time": "2025-10-24T16:16:16",
"upload_time_iso_8601": "2025-10-24T16:16:16.690565Z",
"url": "https://files.pythonhosted.org/packages/b8/52/ad38d004e35e298df35cb8c3319694b0021ef6128b003e5eef015c60a627/aiogram_telemetry-0.2.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-24 16:16:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "example",
"github_project": "aiogram-telemetry",
"github_not_found": true,
"lcname": "aiogram-telemetry"
}