Releases: prometheus/client_python
0.10.0 / 2021-04-02
- [CHANGE] Python 2.6 is no longer supported. #592
- [CHANGE] The
prometheus_multiproc_dir
environment 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
0.4.1 / 2018-10-09
[BUGFIX] Fix OpenMetrics http negotiation handling
0.4.0 / 2018-10-03
[CHANGE] Counter time series will now always be exposed with _total, and counter metrics will have a _total suffix stripped. This is as the internal data model is now OpenMetrics, rather than Prometheus Text Format (#300)
[CHANGE] Samples now use a namedtuple (#300)
[FEATURE] Add OpenMetrics exposition and parser (#300 #306)
[FEATURE] Add Info, Stateset, Enum, GaugeHistogram support for OpenMetrics (#300)
[FEATURE] Add timestamp support for Prometheus text format exposition (#300)
[FEATURE] Add garbage collection metrics (#301)
[ENHANCEMENT] If reading multiprocess file, open it readonly. (#307)
[BUGFIX] Fix bug in WSGI app code. (#307)
[BUGFIX] Write to multiprocess files directly (#315)