# Prometheus Client — card for AI agents

Python client library for instrumenting applications with Prometheus metrics.

Category: Logging, monitoring and analytics · PyPI package `prometheus-client` · latest version 0.26.0 (checked 2026-11-01)
Install: `pip install prometheus-client`
License: Apache-2.0 AND BSD-2-Clause (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 70.7 (#355 of all tools, 8 of 121 in its category)
- Used in 59 public projects set up for AI coding agents (0.9%)
- Downloads last week: 41,790,048 (as of 2026-11-24), +14.3% over 4 weeks
- GitHub stars: 4,384 (as of 2026-11-24)
- Last push: 2026-11-13

## Often used with
FastAPI 78.0%, Uvicorn 76.3%, Pydantic 71.2%, PyYAML 57.6%, Requests 57.6%, redis (Python) 55.9%

## Checked alternatives (same job)
- OpenTelemetry API: https://agentgid.com/tools/opentelemetry-api/agent.md
- OpenTelemetry SDK: https://agentgid.com/tools/opentelemetry-sdk/agent.md
- Sentry SDK: https://agentgid.com/tools/sentry-sdk/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/prometheus-client/
- Homepage: https://github.com/prometheus/client_python
- Repository: https://github.com/prometheus/client_python

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
