{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/4"}],"enrichment":{"capability":"A Prometheus client library for asyncio applications that collects and exposes metrics via text export or gateway push, with optional ASGI middleware for FastAPI, Starlette, and Quart.","skillfed_tags":["prometheus","asyncio","asgi-middleware"],"use_cases":["Add Prometheus metrics to a FastAPI or Starlette application via ASGI middleware to track HTTP request volume and response codes","Instrument a long-running asyncio service (e.g., worker, daemon) with custom counters and expose them via an HTTP metrics endpoint","Push metrics from a distributed asyncio process to a Prometheus Push Gateway for scrape-less collection","Track application events and performance in asyncio-based microservices without blocking the event loop","Monitor custom business logic (e.g., job counts, queue depth) alongside standard HTTP metrics in async web apps"],"what_it_does":"aioprometheus is a Prometheus client library designed for Python asyncio applications. It lets you instrument your code by creating metrics (counters, gauges, histograms, etc.) and then expose them to Prometheus or compatible monitoring systems. The library includes a default collector registry and supports both text export and push-gateway modes.\n\nFor web frameworks, aioprometheus provides ASGI middleware that automatically tracks request counts, response codes, and exceptions in FastAPI, Starlette, and Quart applications. For standalone asyncio services, you can use the HTTP Service to expose metrics on a dedicated endpoint. The core library has minimal dependencies; framework-specific features require optional extras (aiohttp, starlette, quart).","worth_installing":"Yes, with conditions. aioprometheus is stable and production-ready for asyncio applications that need Prometheus integration. Install it if you are building or maintaining an asyncio-based service (FastAPI, Starlette, Quart, or standalone) and need metrics collection. The dormant maintenance status is not a blocker for stable use, but verify compatibility with your Prometheus server version and Python 3.8+ support meets your needs. No known security vulnerabilities."},"id":"aioprometheus","links":{"html":"https://skillfed.io/packages/aioprometheus","md":"https://skillfed.io/packages/aioprometheus.md","pypi":"https://pypi.org/project/aioprometheus/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-12-27","license_spdx":null,"license_treatment":"permissive","name":"aioprometheus","python_support":"supports_current","summary":"A Prometheus Python client library for asyncio-based applications"},"popularity":{"monthly_downloads":162259,"position":10611,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"23.12.0"}
