Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates prometheus-client from 0.5.0 to 0.23.1.

Changelog

0.23.1

What's Changed
* fix: use tuples instead of packaging Version by efiop in https://github.com/prometheus/client_python/pull/1136

New Contributors
* efiop made their first contribution in https://github.com/prometheus/client_python/pull/1136

**Full Changelog**: https://github.com/prometheus/client_python/compare/v0.23.0...v0.23.1

0.23.0

What's Changed
* UTF-8 Content Negotiation by ywwg in https://github.com/prometheus/client_python/pull/1102
* Re include test data by mgorny in https://github.com/prometheus/client_python/pull/1113
* Improve parser performance by csmarchbanks in https://github.com/prometheus/client_python/pull/1117
* Add support to `write_to_textfile` for custom tmpdir by aadityadhruv in https://github.com/prometheus/client_python/pull/1115
* OM text exposition for NH by vesari in https://github.com/prometheus/client_python/pull/1087
* Fix bug which caused metric publishing to not accept query string parameters in ASGI app by hacksparr0w in https://github.com/prometheus/client_python/pull/1125
* Emit native histograms only when OM 2.0.0 is requested by vesari in https://github.com/prometheus/client_python/pull/1128
* fix: remove space after comma in openmetrics exposition by theSuess in https://github.com/prometheus/client_python/pull/1132
* Fix issue parsing double spaces after  HELP/ TYPE by csmarchbanks in https://github.com/prometheus/client_python/pull/1134

New Contributors
* mgorny made their first contribution in https://github.com/prometheus/client_python/pull/1113
* aadityadhruv made their first contribution in https://github.com/prometheus/client_python/pull/1115
* hacksparr0w made their first contribution in https://github.com/prometheus/client_python/pull/1125
* theSuess made their first contribution in https://github.com/prometheus/client_python/pull/1132

**Full Changelog**: https://github.com/prometheus/client_python/compare/v0.22.1...v0.23.0

0.22.1

What's Changed
* BugFix: Skip validating and parsing comment lines early (1108) by wissamir in https://github.com/prometheus/client_python/pull/1109
* Use License Expressions in pyproject.toml by csmarchbanks in https://github.com/prometheus/client_python/pull/1111

**Full Changelog**: https://github.com/prometheus/client_python/compare/v0.22.0...v0.22.1

0.22.0

What's Changed
* Add support for native histograms in OM parser by vesari in https://github.com/prometheus/client_python/pull/1040
* Add exemplar support to CounterMetricFamily [Fix 1062] by lod in https://github.com/prometheus/client_python/pull/1063
* Fix `write_to_textfile` leaves back temp files on errors by ethanschen in https://github.com/prometheus/client_python/pull/1066
* Support UTF-8 in metric creation, parsing, and exposition by ywwg in https://github.com/prometheus/client_python/pull/1070
* Fix incorrect use of reentrant locks by suligap in https://github.com/prometheus/client_python/pull/1076
* Remove Python 3.8 support by kajinamit in https://github.com/prometheus/client_python/pull/1075
* Check if labelvalues is in _metrics before deletion in MetricWrapperBase.remove() by GlorifiedPig in https://github.com/prometheus/client_python/pull/1077
* Add support for Python 3.13 by Pliner in https://github.com/prometheus/client_python/pull/1080
* Correct nh sample span structure and parsing by vesari in https://github.com/prometheus/client_python/pull/1082
* Migrate from setup.py to pyproject.toml by csmarchbanks in https://github.com/prometheus/client_python/pull/1084
* Changed pushgateway.md by mallika-mur in https://github.com/prometheus/client_python/pull/1083
* Fix order-dependent flaky tests related to UTF-8 support by dg98 in https://github.com/prometheus/client_python/pull/1093
* Update versions for docs Github actions by csmarchbanks in https://github.com/prometheus/client_python/pull/1096
* Documentation Updates by ethanschen in https://github.com/prometheus/client_python/pull/1097
* Add note on gauge.set_function not working with multiprocessing by aapeliv in https://github.com/prometheus/client_python/pull/1098
* Don't send an empty HTTP header for /favicon.ico by noselasd in https://github.com/prometheus/client_python/pull/1101

**Full Changelog**: https://github.com/prometheus/client_python/compare/v0.21.0...v0.22.0

0.21.1

What's Changed
[BUGFIX] Revert incorrect use of reentrant locks. 1076

0.21.0

What's Changed
[CHANGE] Reject invalid (not GET or OPTION) HTTP methods. 1019
[ENHANCEMENT] Allow writing metrics when holding a lock for the metric in the same thread. 1014
[BUGFIX] Check for and error on None label values. 1012
[BUGFIX] Fix timestamp comparison. 1038

0.20.0

What's Changed
* [CHANGE/BUGFIX] Update OpenMetrics Content Type to 1.0.0. 997
* [FEATURE] Enable graceful shutdown for start_{http,wsgi}_server by returning the server and thread. 999
* [FEATURE] Allow resetting counter metrics. 1005
* [BUGFIX] wsgi server: address family discovery is not quite right. 1006

0.19.0

What's Changed
[FEATURE] support HTTPS/TLS in start_http_server. 946
[BUGFIX] fix: error in determining timestamp less than. 979

0.18.0

[CHANGE] Remove support for Python versions < 3.8. 936
[FEATURE] Add `mostrecent` aggregation to Gauge. 967 
[ENHANCEMENT] Typing improvements. 935, 970
[ENHANCEMENT] Allow enabling or disabling `_created` metrics from code. 973
[BUGFIX] Change !/usr/bin/python to !/usr/bin/env python in remaining places. 945

0.17.1

[BUGFIX] Use !/usr/bin/env python instead of !usr/bin/python in bridge/graphite.py. 928

0.17.0

[ENHANCEMENT] Add additional typing. 887, 903
[BUGFIX] Fix typo in python_gc_objects_collected metadata. 894
[BUGFIX] Do not include .pyc files in the build wheel. 906

0.16.0

[FEATURE] Support HELP text in multiprocess mode. 804 
[ENHANCEMENT] Reduce the mmap minimum size. 853 
[BUGFIX] Use the correct OpenMetrics encoder when `application/openmetrics-text` is requested in ASGI apps. 864 
[BUGFIX] Allow Prometheus format parser to handle a missing space after labels. 872

0.15.0

[CHANGE] Remove `choose_formatter`. `choose_formatter` only existed for v0.14.x and was deprecated in v0.14.1. https://github.com/prometheus/client_python/pull/846
[FEATURE] Support TLS auth when using push gateway with `tls_auth_handler`. https://github.com/prometheus/client_python/pull/841
[ENHANCEMENT] Add `sum`, `livemin`, and `livemax` multiprocess modes for `Gauge`s. https://github.com/prometheus/client_python/pull/794

0.14.1

[BUGFIX] Revert `choose_encoder` being renamed to `choose_formatter` to fix a breaking change. For the 0.14.x release cycle `choose_formatter` will still exist, but will be removed in 0.15.0. 796

0.14.0

[ENHANCEMENT] Continued typing improvements and coverage. 759, 771, 781
[ENHANCEMENT] Allow binding to IPv6 addresses. 657
[ENHANCEMENT] Negotiate gzip content-encoding, enabled by default. 776
[ENHANCEMENT] Allow disabling `_created` metrics via the `PROMETHEUS_DISABLE_CREATED_SERIES` environment variable. 774
[BUGFIX] Correct minor typo in exception raised when exemplar labels are too long. 773

0.13.1

[BUGFIX] Relax some type constraints that were too strict. 754, 755, 756, 758 
[BUGFIX] Explicitly export functions with `__all__`. 757

0.13.0

[CHANGE] Drop support for Python versions 2.7, 3.4, and 3.5. 718
[FEATURE] Support adding labels when using `.time()` 730
[ENHANCEMENT] Begin to add type hints to functions. 705
[ENHANCEMENT] Improved go-to-declaration behavior for editors. 747 
[BUGFIX] Remove trailing slashes from pushgateway URLS. 722
[BUGFIX] Catch non-integer bucket/count values. 726

0.12.0

[FEATURE] Exemplar support (excludes multiprocess) 669 
[ENHANCEMENT] Add support for Python 3.10 706
[ENHANCEMENT] Restricted Registry will handle metrics added after restricting 675, 680  
[ENHANCEMENT] Raise a more helpful error if a metric is not observable 666
[BUGFIX] Fix instance_ip_grouping_key not working on MacOS 687 
[BUGFIX] Fix assertion error from favicion.ico with Python 2.7 715

0.11.0

[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

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

0.10.0

* [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

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

0.8.0

[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

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

0.7.0

[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

[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)
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants