🌐
PyPI
pypi.org › project › prometheus-client
prometheus-client · PyPI
Python client for the Prometheus monitoring system.
      » pip install prometheus-client
    
Published: Apr 09, 2026
Version: 0.25.0
🌐
client_python
prometheus.github.io › client_python
client_python
This tutorial shows the quickest way to get started with the Prometheus Python library. ... from prometheus_client import start_http_server, Summary import random import time # Create a metric to track time spent and requests made. REQUEST_TIME = Summary('request_processing_seconds', 'Time spent processing request') # Decorate function with metric.
🌐
Prometheus
prometheus.io › docs › instrumenting › clientlibs
Client libraries | Prometheus
Choose a Prometheus client library that matches the language in which your application is written. This lets you define and expose internal metrics via an HTTP endpoint on your application’s instance: Go · Java or Scala · Node.js · Python · Ruby · Rust ·
🌐
PyPI
pypi.org › project › prometheus-api-client
prometheus-api-client · PyPI
The prometheus-api-client library consists of multiple modules which assist in connecting to a Prometheus host, fetching the required metrics and performing various aggregation operations on the time series data.
      » pip install prometheus-api-client
    
Published: Apr 13, 2026
Version: 0.7.2
Find elsewhere
      » pip install prometheus-client
    
Published: Apr 05, 2022
Version: 0.14.0
🌐
GitHub
github.com › prometheus › client_python › releases
Releases · prometheus/client_python
Prometheus instrumentation library for Python applications - prometheus/client_python
Author: prometheus
🌐
Better Stack
betterstack.com › community › guides › monitoring › prometheus-python-metrics
Python Monitoring with Prometheus (Beginner's Guide) | Better Stack Community
February 17, 2025 - This modification introduces the prometheus_client package and its generate_latest() function, which collects and returns metrics in a format that Prometheus can scrape. Once you've saved the file, visit http://localhost:8000/metrics in your browser or use curl to see the default Prometheus metrics: ... By default, Prometheus uses a global registry that automatically includes standard Python runtime and process-level metrics:
Starred by 274 users
Forked by 90 users
Languages: Python
🌐
client_python
prometheus.github.io › client_python › instrumenting › summary
Summary | client_python
April 24, 2026 - from prometheus_client import Summary, start_http_server TASK_DURATION = Summary( 'task_duration_seconds', 'Time spent processing background tasks', labelnames=['task_type'], namespace='myapp', ) def run_task(task_type, task): with TASK_DURATION.labels(task_type=task_type).time(): # ...
🌐
DBI Services
dbi-services.com › accueil › instrument your python application with prometheus (part1)
Instrument your python application with Prometheus (Part1)
July 10, 2023 - Let’s start by installing the Prometheus client. To do this, we will execute the command pip install prometheus-client ... This command will allow us to install the library so that we can access it in our Python code.
🌐
PyPI
pypi.org › project › prometheus
prometheus · PyPI
Prometheus python client ================== Python 3 client library for [Prometheus](http://prometheus.io) that can serve data to prometheus (in text and protobuf formats) and also push data to a pushgateway.
🌐
Arch Linux
archlinux.org › packages › extra › any › python-prometheus_client
Arch Linux - python-prometheus_client 0.25.0-1 (any)
View the file list for python-prometheus_client · View the soname list for python-prometheus_client · Copyright © 2002-2026 Judd Vinet, Aaron Griffin and Levente Polyák. The Arch Linux name and logo are recognized trademarks. Some rights reserved.