Skip to content

Releases: prometheus/client_python

0.11.0 / 2021-06-01

01 Jun 17:39
v0.11.0
b6cad95

Choose a tag to compare

[CHANGE] Specify that the labelvalues argument on metric constructors is internal by renaming it to _labelvalues. If you are affected by this change, it is likely that the metric was not being registered. #660
[BUGFIX] write_to_textfile will overwrite files in windows. If using python 3.4 or newer the replace will be atomic. #650

0.10.1 / 2021-04-08

08 Apr 16:37
v0.10.1
9a6e21d

Choose a tag to compare

[BUGFIX] Support lowercase prometheus_multiproc_dir environment variable in mark_process_dead. #644

0.10.0 / 2021-04-02

02 Apr 16:06
v0.10.0
7bbf86f

Choose a tag to compare

  • [CHANGE] Python 2.6 is no longer supported. #592
  • [CHANGE] The prometheus_multiproc_dir environment variable is deprecated in favor of PROMETHEUS_MULTIPROC_DIR. #624
  • [FEATURE] Follow redirects when pushing to Pushgateway using passthrough_redirect_handler. #622
  • [FEATURE] Metrics support a clear() method to remove all children. #642
  • [ENHANCEMENT] Tag support in GraphiteBridge. #618

0.9.0 / 2020-11-26

16 Nov 13:40
v0.9.0

Choose a tag to compare

[ENHANCEMENT] Add support for python3.9 (#600)
[ENHANCEMENT] Various updates for latest OpenMetrics draft spec (#576 #577)

0.8.0 / 2020-05-25

25 May 12:24
v0.8.0

Choose a tag to compare

[FEATURE] Added ASGI application (#512)
[FEATURE] Add support for parsing timestamps in Prometheus exposition format. (#483)
[FEATURE] Add target_info to registries (#453)
[ENHANCEMENT] Handle empty and slashes in label values for pushgateway (#547 #442)
[ENHANCEMENT] Various updates for latest OpenMetrics draft spec (#434 #445 #538 #460 #496)
[ENHANCEMENT] Add HELP output for auto-created metrics (#471)
[ENHANCEMENT] Use mmap.PAGESIZE constant as value for first read. (#505)
[ENHANCEMENT] Add __repr__ method to metric objects, make them debug friendly. (#481)
[ENHANCEMENT] Add observability check to metrics (#455 #520)
[BUGFIX] Fix urlparse in python >= 3.7.6 (#497)
[BUGFIX] Cleaning up name before appending unit on name (#543)
[BUGFIX] Allow for OSError on Google App Engine (#448)

0.7.1 / 2019-06-20

20 Jun 13:37
v0.7.1

Choose a tag to compare

[BUGFIX] multiprocess: don't crash on missing gauge_live/sum files (#424)
[BUGFIX] correctly bind method on Python 2.x (#403)

0.7.0 / 2019-06-07

07 Jun 10:45
v0.7.0

Choose a tag to compare

[ENHANCEMENT] Multiprocess exposition speed boost (#421)
[ENHANCEMENT] optimize openmetrics text parsing (~4x perf) (#402)
[ENHANCEMENT] Add python3.7 support (#418)
[ENHANCEMENT] Change exemplar length limit to be only for label names+values (#397)
[BUGFIX] Disable gcCollector for pypy (#380)

0.6.0 / 2019-02-19

19 Feb 16:35
v0.6.0

Choose a tag to compare

[ENHANCEMENT] Better exceptions on exposition failure (#364)
[BUGFIX] Fix deadlock in gcCollector, metrics are now different (#371)
[BUGFIX] Fix thread leak in Python 3.7 (#356)
[BUGFIX] Make the format strings compatible with Python 2.6 (#361)
[BUGFIX] parser: ensure samples are of type Sample (#358)

0.5.0 / 2018-12-06

06 Dec 15:51
v0.5.0

Choose a tag to compare

[ENHANCEMENT] Be more resilient to certain file corruptions (#329)
[ENHANCEMENT] Permit subclassing of MetricsHandler (#339)
[ENHANCEMENT] Updates based on latest OpenMetrics draft spec discussions (#338 #346)
[BUGFIX] In multiprocess mode, ensure that metrics initialise to the correct file (#346)
[BUGFIX] Avoid re-entrant calls to GC collector's callback (#343)

0.4.2 / 2018-10-15

15 Oct 12:42
v0.4.2

Choose a tag to compare

[BUGFIX] Disable GCCollector in multiprocess mode to prevent a deadlock