Prometheus
prometheus.io › docs › instrumenting › clientlibs
Client libraries | Prometheus
When Prometheus scrapes your instance's HTTP endpoint, the client library sends the current state of all tracked metrics to the server.
30:27
How Prometheus Works - How to Collect Metrics - YouTube
05:42
PROMETHEUS Metrics for your Python FastAPI App - YouTube
37:18
Day-4 | Custom Metrics Instrumentation and Scraping using Prom ...
13:15
How Prometheus Monitoring Works | Explaining Prometheus Architecture ...
27:10
PromCon 2023 - Prometheus Java Client 1.0.0 - YouTube
NuGet
nuget.org › packages › Prometheus.Client
NuGet Gallery | Prometheus.Client 6.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support. ... It is hard fork of prometheus-net from early 2017 that has since evolved into a different library.
Factsheet
Release November 24, 2012; 13 years ago
Stable release v3.14.0
/ August 17, 2026; 30 days ago
/ August 17, 2026; 30 days ago
Written in Go
Release November 24, 2012; 13 years ago
Stable release v3.14.0
/ August 17, 2026; 30 days ago
/ August 17, 2026; 30 days ago
Written in Go
Prometheus
prometheus.io
Prometheus - Monitoring system & time series database
Prometheus servers operate independently and only rely on local storage.
Readthedocs
prometheus-api-client-python.readthedocs.io › en › latest › source › prometheus_api_client.html
prometheus_api_client package — Prometheus Client API Python 0.0.1 documentation
A Class for collection of metrics from a Prometheus Host.
client_python
prometheus.github.io › client_python
client_python
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. @REQUEST_TIME.time() def ...
Go Packages
pkg.go.dev › github.com › prometheus › client_golang › prometheus
prometheus package - github.com/prometheus/client_golang/prometheus - Go Packages
July 24, 2026 - package main import ( "fmt" "net/http" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" ) func main() { // Imagine you have a worker pool and want to count the tasks completed. taskCounter := prometheus.NewCounter(prometheus.CounterOpts{ Subsystem: "worker_pool", Name: "completed_tasks_total", Help: "Total number of tasks completed.", }) // This will register fine.
Top answer 1 of 5
5
I'm running on ubuntu 18.10 and i got the same issue, and i have python2 install already. I was able to solved it by installing python3 and python3-pip like below.
sudo apt install python3
sudo apt install python3-pip
pip3 install prometheus_client
May be helpful to somebody!
2 of 5
1
http.server is a module in Python 3.
See the note for SimpleHTTPServer in Python 2:
Note The
SimpleHTTPServermodule has been merged intohttp.serverin Python 3. The2to3tool will automatically adapt imports when converting your sources to Python 3.
For prometheus.client, you want pip install prometheus_client. See https://github.com/prometheus/client_python
README.md from the repository you linked states:
Deprecated, use: https://github.com/prometheus/client_python
Rust
docs.rs › prometheus-client
prometheus_client - Rust
Client library implementation of the Open Metrics specification. Allows developers to instrument applications and thus enables operators to monitor said applications with monitoring systems like Prometheus.
Anaconda.org
anaconda.org › anaconda › prometheus_client
prometheus_client - anaconda | Anaconda.org
Install prometheus_client with Anaconda.org. Python client for the Prometheus monitoring system.
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.