Prometheus Client
Python client library for instrumenting applications with Prometheus metrics.
Used in agent projects
83
0.7% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#11 of 29
by use in those projects
Downloads
35.1M
PyPI, last 7 days, prometheus-client
GitHub stars
4,380
last push Sep 15, 2026
How Prometheus Client is used
Prometheus Client is a dependency in 83 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.7%), #11 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use Pydantic (73.5%), FastAPI (67.5%), Uvicorn (66.3%).
Often used with Prometheus Client
| Pydantic | 73.5% of Prometheus Client projects · 14.4× more than average |
|---|---|
| FastAPI | 67.5% of Prometheus Client projects · 16.0× more than average |
| Uvicorn | 66.3% of Prometheus Client projects · 15.5× more than average |
| python-dotenv | 65.1% of Prometheus Client projects · 10.0× more than average |
| PyYAML | 61.4% of Prometheus Client projects · 20.3× more than average |
| NumPy | 60.2% of Prometheus Client projects · 15.7× more than average |
| Requests | 57.8% of Prometheus Client projects · 10.9× more than average |
| websockets | 55.4% of Prometheus Client projects · 24.6× more than average |
By coding agent
| Claude Code | 1.1% of projects set up for it |
|---|---|
| GitHub Copilot | 1.2% of projects set up for it |
| Cursor | 1.1% of projects set up for it |
Share of public repos configured for each agent that list Prometheus Client as a dependency.
Install
| Package | pip install prometheus-client |
|---|---|
| Main stacks | Python (82), Next.js (1) |
| Example projects | mikegianfelice/Hunter, leonardsellem/readwise-vector-db, NA-DEGEN-GIRL/multi-perp-dex, nihilistau/CosySim, madfam-org/tezca |
Alternatives to Prometheus Client
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Web Vitals npm Measure Core Web Vitals and other key performance metrics in JavaScript. |
222 (1.7%) | 48.7M | 8,640 | Apache-2.0 |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| psutil pypi Cross-platform library for retrieving process and system monitoring information. |
144 (1.1%) | 74.7M | 11.3K | BSD-3-Clause |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Sentry for Next.js npm Official Sentry SDK for error tracking and performance monitoring in Next.js apps. |
119 (0.9%) | 11.7M | 8,756 | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |