prometheus / prometheus/client_python
API for simple readonly queries?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 876
- Avg merge
- 8d 4h
- Merged PRs (30d)
- 1
Description
My use case is fairly simple:
I'm looking for a Prometheus client in Python because I'm going to be doing some queries, e.g. (a picture is worth a thousand words, right?):

This project seems mostly designed for easily registering new metrics, gauges, etc., and pushing data to a Prom backend.
Am I missing something? Should I just use a generic HTTP client?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing the existing Python client API and Prometheus's query HTTP API, then determine whether a read-only query interface belongs in this project or should use a generic HTTP client; done would require a concrete API scope and acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- prometheus, python
- Domain
- api, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100