python-prometheus-client:master

Last commit made on 2024-04-16
Get this branch:
git clone -b master https://git.launchpad.net/python-prometheus-client

Branch merges

Branch information

Name:
master
Repository:
lp:python-prometheus-client

Recent commits

eeec421... by Chris Marchbanks <email address hidden>

Pin python 3.8 and 3.9 at patch level (#1024)

Signed-off-by: Chris Marchbanks <email address hidden>

7bc8cdd... by Jason Mobarak <email address hidden>

docs: correct link to multiprocessing docs (#1023)

* docs: correct link to multiprocessing docs

Signed-off-by: Jason Mobarak <email address hidden>

* Update docs/content/exporting/http/fastapi-gunicorn.md

Co-authored-by: Chris Marchbanks <email address hidden>
Signed-off-by: Jason Mobarak <email address hidden>

---------

Signed-off-by: Jason Mobarak <email address hidden>
Co-authored-by: Chris Marchbanks <email address hidden>

4535ce0... by Andrew <email address hidden>

Add sanity check for label value (#1012)

Signed-off-by: Pengfei Zhang <email address hidden>

7a80f00... by Chris Marchbanks <email address hidden>

Release 0.20.0

Signed-off-by: Chris Marchbanks <email address hidden>

6ae7737... by Joshua M. Clulow

wsgi server: address family discovery is not quite right (#1006)

The code introduced to improve binding to an IPv6 address is based on
similar code in Python itself, but is missing some critical arguments to
the socket.getaddrinfo() call: in particular, the socket type must be
set to SOCK_STREAM, because we want a TCP connection; the AI_PASSIVE
flag should also be passed because we intend to use the result for
binding a listen socket rather than making an outbound connection.

Signed-off-by: Joshua M. Clulow <email address hidden>

1f8ceb7... by Paul Melnikov <email address hidden>

Reset counter (#1005)

* Add .reset method to Counter metric
* Update method docstring
* Add a test for .reset() method

Signed-off-by: Paul Melnikov <email address hidden>
Co-authored-by: Chris Marchbanks <email address hidden>

b9edc43... by Antti Rasinen <email address hidden>

Enable graceful shutdown for start_{http,wsgi}_server (#999)

Signed-off-by: Antti Rasinen <email address hidden>

9dd6b0d... by Chris Marchbanks <email address hidden>

Update OpenMetrics Content Type to 1.0.0 (#997)

OpenMetrics has been released and we support 1.0.0 not 0.0.1.

Signed-off-by: Chris Marchbanks <email address hidden>

998d8af... by Thomas W <email address hidden>

Update documentation and code warning for remove and clear in multi-process mode (#1003)

Signed-off-by: Yuanchen Wang <email address hidden>

147c9d1... by Chris Marchbanks <email address hidden>

Update documentation for disabling _created metrics (#992)

Signed-off-by: Chris Marchbanks <email address hidden>