Releases: prometheus/client_python
0.11.0 / 2021-06-01
[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
[BUGFIX] Support lowercase prometheus_multiproc_dir environment variable in mark_process_dead. #644
0.10.0 / 2021-04-02
- [CHANGE] Python 2.6 is no longer supported. #592
- [CHANGE] The
prometheus_multiproc_direnvironment variable is deprecated in favor ofPROMETHEUS_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
0.8.0 / 2020-05-25
[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
0.7.0 / 2019-06-07
0.6.0 / 2019-02-19
[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
[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
[BUGFIX] Disable GCCollector in multiprocess mode to prevent a deadlock